Tristan Sloughter
a11c009fcf
Merge pull request #474 from tsloughter/fix_plugin_install
fixing plugin install and paths
10 lat temu
Tristan Sloughter
6c6940f860
add comment explaining installing each plugin individually
10 lat temu
Fred Hebert
398204b13e
Add support to boot apps from releases in shell
Precedence still goes to shell_apps.
10 lat temu
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 lat temu
Fred Hebert
c79eedf2db
Display experimental warning
The feature may still be modified in the future.
10 lat temu
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
10 lat temu
Tristan Sloughter
a9a8c6a3de
Merge pull request #481 from ferd/fix-atom-pkg-upgrade
Fix upgrade of atom-only packages
10 lat temu
Fred Hebert
707cddbce7
Fix upgrade of atom-only packages
they would always be left unfound otherwise.
10 lat temu
Tristan Sloughter
4ff95cee31
add test for plugin with transitive deps
10 lat temu
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 lat temu
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 lat temu
Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
10 lat temu
Fred Hebert
084d680cc5
Merge pull request #477 from tsloughter/relx_profiles
reverse relx config so profile settings are used properly
10 lat temu
Tristan Sloughter
8687ddc14a
reverse relx config so profile settings are used properly
10 lat temu
Fred Hebert
51e822e54c
Add a shell agent
The shell agent allows to run rebar3 commands and autoload compiled
modules when that is done.
10 lat temu
Tristan Sloughter
fe181f950d
Merge pull request #461 from erocci/master
Add excluded_apps rebar.config keyword
10 lat temu
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
10 lat temu
Tristan Sloughter
d9bad34506
Merge pull request #472 from tsloughter/refactor_hooks
move handling of undefined app state to function
10 lat temu
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 lat temu
Tristan Sloughter
8a50331898
move handling of undefined app state to function
10 lat temu
Fred Hebert
b4786b804c
Merge pull request #471 from tsloughter/master
fall back to .app.src file if .app file fails to parse
10 lat temu
Tristan Sloughter
e45c67b023
add additional comments
10 lat temu
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
10 lat temu
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
10 lat temu
Tristan Sloughter
958213def7
fall back to .app.src file if .app file fails to parse
10 lat temu
Fred Hebert
5f577e2ab1
Merge pull request #470 from tsloughter/master
print and format error message for bad .app files and all bad configs
10 lat temu
Tristan Sloughter
476a80c33e
format file read error in otp_app module
10 lat temu
Tristan Sloughter
be79d41093
have .app.src take precedence over .app file
10 lat temu
Tristan Sloughter
8ad6939939
improve error message fo rmissing app or app.src file
10 lat temu
Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
10 lat temu
Tristan Sloughter
b7acb56f47
Merge pull request #469 from kovyl2404/show-stacktrace
Show stacktrace to errors caught in rebar3 module.
10 lat temu
Viacheslav Kovalev
c2c1079ba2
Show stacktrace to errors caught in rebar3 module.
10 lat temu
Fred Hebert
53552d3f77
Merge pull request #466 from tsloughter/clean_hooks
only run clean hooks once
10 lat temu
Tristan Sloughter
42339f62f3
only run clean hooks once
10 lat temu
Fred Hebert
69ae48e8f1
Merge pull request #458 from tsloughter/run_plugin_hooks
run hooks when building plugins
10 lat temu
Tristan Sloughter
3827363288
Merge pull request #465 from tsloughter/global_providers
don't lose global plugin providers
10 lat temu
Tristan Sloughter
fdc1267f67
start httpc in run/1 so it is available to download global plugins
10 lat temu
Tristan Sloughter
0bd49634ce
don't lose global plugin providers
10 lat temu
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
10 lat temu
Tristan Sloughter
62c9c66182
Merge pull request #456 from kovyl2404/provider-hooks-namespaces-fix
Properly setup namespace for dependency provider hooks
10 lat temu
Fred Hebert
510f4596ce
Merge pull request #464 from tsloughter/completions
make deps task listed in help and update zsh/bash completions
10 lat temu
Fred Hebert
f8c29be458
Merge pull request #463 from tsloughter/windows
add Windows build badge
10 lat temu
Tristan Sloughter
76893ca4b9
make deps task listed in help and update zsh/bash completions
10 lat temu
Tristan Sloughter
6144ee67a7
add Windows build badge
10 lat temu
Viacheslav Kovalev
49d977c2b8
Initialize namespace in rebar_state with default value.
10 lat temu
Fred Hebert
1c6aafeb84
Merge pull request #453 from tsloughter/needs_update
Update deps if their checkout doesn't match lock entry
10 lat temu
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
10 lat temu
Tristan Sloughter
dc3afe96c6
update stable_lock test from Fred's branch
10 lat temu
Fred Hebert
166d5a9d09
Add tests for lock forwarding
Lock forwarding is what happens when the file on disk are on a different
version from what is specified in the lock file. Files on disk should be
updated to respect what's in the lock file.
A negative test has been added so that lock files that are outdated vis.
the underlying git and packages but match files on disk do not get
forwarded. This job is left to the `upgrade' command.
10 lat temu
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
10 lat temu