Fred Hebert
7ac9f0df69
Merge pull request #491 from tsloughter/pre_plugin_providers
set default providers before installing plugins
преди 10 години
Tristan Sloughter
ea07a7c65c
set default providers before installing plugins
преди 10 години
Fred Hebert
5a3e3bdc30
Merge pull request #490 from tsloughter/release_hooks
run pre and post hooks for release and tar providers
преди 10 години
Tristan Sloughter
33e0612a75
run pre and post hooks for release and tar providers
преди 10 години
Fred Hebert
44a700ef78
Merge pull request #488 from tsloughter/fix_escriptize_in_deps
keep all_deps list in state created for building deps
преди 10 години
Tristan Sloughter
b9b4e12600
keep all_deps list in state created for building deps
преди 10 години
Tristan Sloughter
42d5db5ea3
Merge pull request #487 from ferd/fix-provider-bareness
fix bareness issues
преди 10 години
Fred Hebert
3ed0c5feff
fix bareness issues
- Crashes in providers lib when no providers in a namespace are bare
- Making sure bareness matches semantics; i.e. a bare provider is
visible, a non-bare provider is hidden.
преди 10 години
Fred Hebert
274839a76c
Merge pull request #486 from aboroska/fix-group_leader-dead-pid
Fix badarg exception when setting group_leader for a dead pid
преди 10 години
Andras Boroska
5f423e46d9
Fix badarg exception when setting group_leader for a dead pid
When setting up a shell some time elapses between listing the pids and setting
the group_leader. If the process exited during that time then
erlang:group_leader/2 will crash with badarg.
преди 10 години
Fred Hebert
4ac482e018
Merge pull request #483 from talentdeficit/root_config_src_dirs
allow `src_dirs` and `extra_src_dirs` at the root of the rebar config
преди 10 години
alisdair sullivan
d2b62ea1f2
allow `src_dirs` and `extra_src_dirs` at the root of the rebar config
преди 10 години
Tristan Sloughter
b51a0e314b
Merge pull request #473 from ferd/improve-shell
improve the rebar3 shell
преди 10 години
Fred Hebert
c87f2a2c73
Optionally allow node names to the rebar3 shell.
Helps with integration efforts, but unfortunately can't support the
'-sname' and '-name' options, only '--sname' and '--name'.
преди 10 години
Fred Hebert
30847ec661
Fix config loading in shell
Config files from the command line would expect the wrong format:
{app1, [...]}.
{app2, [...]}.
Instead of the correct sys.config format:
[{app1, [...]},
{app2, [...]}]
Not supported yet: the recursive file references documented in
http://www.erlang.org/doc/man/config.html
преди 10 години
Tristan Sloughter
a11c009fcf
Merge pull request #474 from tsloughter/fix_plugin_install
fixing plugin install and paths
преди 10 години
Tristan Sloughter
6c6940f860
add comment explaining installing each plugin individually
преди 10 години
Fred Hebert
398204b13e
Add support to boot apps from releases in shell
Precedence still goes to shell_apps.
преди 10 години
Fred Hebert
2e7eb8f410
Get prebooted apps to acknowledge sys.config
Change the order from load-config -> start-apps to load-apps ->
load-config -> start-apps
преди 10 години
Fred Hebert
c79eedf2db
Display experimental warning
The feature may still be modified in the future.
преди 10 години
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
преди 10 години
Tristan Sloughter
a9a8c6a3de
Merge pull request #481 from ferd/fix-atom-pkg-upgrade
Fix upgrade of atom-only packages
преди 10 години
Fred Hebert
707cddbce7
Fix upgrade of atom-only packages
they would always be left unfound otherwise.
преди 10 години
Tristan Sloughter
4ff95cee31
add test for plugin with transitive deps
преди 10 години
Fred Hebert
3de325aa49
Rebar agent reloads the config file on every run
This allows proper checking of new configurations, deps, or plugins, and
makes sure they are detected during an active shell session.
преди 10 години
Fred Hebert
2fabfe1ee8
'do' returns its final state.
While 'do' skips state updates between subcommands so that:
rebar3 do a, b == (rebar3 a && rebar3 b)
The final state of 'b' does not need to be discarded and might in fact
be useful to get when dealing with Rebar3 as an API.
This can be done without breaking the equality relation already
established.
преди 10 години
Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
преди 10 години
Fred Hebert
084d680cc5
Merge pull request #477 from tsloughter/relx_profiles
reverse relx config so profile settings are used properly
преди 10 години
Tristan Sloughter
8687ddc14a
reverse relx config so profile settings are used properly
преди 10 години
Fred Hebert
51e822e54c
Add a shell agent
The shell agent allows to run rebar3 commands and autoload compiled
modules when that is done.
преди 10 години
Tristan Sloughter
fe181f950d
Merge pull request #461 from erocci/master
Add excluded_apps rebar.config keyword
преди 10 години
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
преди 10 години
Tristan Sloughter
d9bad34506
Merge pull request #472 from tsloughter/refactor_hooks
move handling of undefined app state to function
преди 10 години
Fred Hebert
fb160ebf71
Adding app auto-boot to rebar shell
- moved path addition, config loading and app boot to before the shell
is available
- apps successfully booting are in an INFO message, failed to boot into
an ERROR message
- A warning is printed when apps are booted informing to please use
releases for actual deployment, and is omitted otherwise.
- Some minor refactorings otherwise.
преди 10 години
Tristan Sloughter
8a50331898
move handling of undefined app state to function
преди 10 години
Fred Hebert
b4786b804c
Merge pull request #471 from tsloughter/master
fall back to .app.src file if .app file fails to parse
преди 10 години
Tristan Sloughter
e45c67b023
add additional comments
преди 10 години
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
преди 10 години
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
преди 10 години
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
преди 10 години
Fred Hebert
5f577e2ab1
Merge pull request #470 from tsloughter/master
print and format error message for bad .app files and all bad configs
преди 10 години
Tristan Sloughter
476a80c33e
format file read error in otp_app module
преди 10 години
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
преди 10 години
Tristan Sloughter
8ad6939939
improve error message fo rmissing app or app.src file
преди 10 години
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
преди 10 години
Tristan Sloughter
b7acb56f47
Merge pull request #469 from kovyl2404/show-stacktrace
Show stacktrace to errors caught in rebar3 module.
преди 10 години
Viacheslav Kovalev
c2c1079ba2
Show stacktrace to errors caught in rebar3 module.
преди 10 години
Fred Hebert
53552d3f77
Merge pull request #466 from tsloughter/clean_hooks
only run clean hooks once
преди 10 години
Tristan Sloughter
42339f62f3
only run clean hooks once
преди 10 години
Fred Hebert
69ae48e8f1
Merge pull request #458 from tsloughter/run_plugin_hooks
run hooks when building plugins
преди 10 години