Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support to boot apps from releases in shell | Fred Hebert | 2015-05-29 | 1 | -1/+14 |
| | | | | Precedence still goes to shell_apps. | ||||
* | Get prebooted apps to acknowledge sys.config | Fred Hebert | 2015-05-29 | 1 | -3/+16 |
| | | | | | Change the order from load-config -> start-apps to load-apps -> load-config -> start-apps | ||||
* | Display experimental warning | Fred Hebert | 2015-05-29 | 1 | -4/+12 |
| | | | | The feature may still be modified in the future. | ||||
* | Rebar agent reloads the config file on every run | Fred Hebert | 2015-05-28 | 2 | -35/+68 |
| | | | | | This allows proper checking of new configurations, deps, or plugins, and makes sure they are detected during an active shell session. | ||||
* | 'do' returns its final state. | Fred Hebert | 2015-05-28 | 1 | -0/+4 |
| | | | | | | | | | | | | 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. | ||||
* | Add a shell agent | Fred Hebert | 2015-05-26 | 3 | -10/+92 |
| | | | | | The shell agent allows to run rebar3 commands and autoload compiled modules when that is done. | ||||
* | Adding app auto-boot to rebar shell | Fred Hebert | 2015-05-23 | 1 | -35/+63 |
| | | | | | | | | | | - 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. | ||||
* | add additional comments | Tristan Sloughter | 2015-05-22 | 3 | -0/+9 |
| | |||||
* | fix storing of pkg and src deps in app_info | Tristan Sloughter | 2015-05-22 | 2 | -6/+5 |
| | |||||
* | read in app information after fetch so we have the deps | Tristan Sloughter | 2015-05-22 | 2 | -6/+8 |
| | |||||
* | fall back to .app.src file if .app file fails to parse | Tristan Sloughter | 2015-05-22 | 1 | -53/+58 |
| | |||||
* | format file read error in otp_app module | Tristan Sloughter | 2015-05-22 | 1 | -1/+1 |
| | |||||
* | have .app.src take precedence over .app file | Tristan Sloughter | 2015-05-22 | 1 | -7/+15 |
| | |||||
* | improve error message fo rmissing app or app.src file | Tristan Sloughter | 2015-05-22 | 1 | -5/+5 |
| | |||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 7 | -58/+51 |
| | |||||
* | Merge pull request #469 from kovyl2404/show-stacktrace | Tristan Sloughter | 2015-05-22 | 1 | -0/+5 |
|\ | | | | | Show stacktrace to errors caught in rebar3 module. | ||||
| * | Show stacktrace to errors caught in rebar3 module. | Viacheslav Kovalev | 2015-05-22 | 1 | -0/+5 |
| | | |||||
* | | only run clean hooks once | Tristan Sloughter | 2015-05-21 | 1 | -2/+7 |
|/ | |||||
* | Merge pull request #458 from tsloughter/run_plugin_hooks | Fred Hebert | 2015-05-21 | 2 | -9/+8 |
|\ | | | | | run hooks when building plugins | ||||
| * | run hooks when building plugins | Tristan Sloughter | 2015-05-21 | 2 | -9/+8 |
| | | |||||
* | | Merge pull request #465 from tsloughter/global_providers | Tristan Sloughter | 2015-05-21 | 2 | -16/+18 |
|\ \ | |/ |/| | don't lose global plugin providers | ||||
| * | start httpc in run/1 so it is available to download global plugins | Tristan Sloughter | 2015-05-21 | 1 | -12/+14 |
| | | |||||
| * | don't lose global plugin providers | Tristan Sloughter | 2015-05-21 | 2 | -4/+4 |
| | | |||||
* | | Merge pull request #456 from kovyl2404/provider-hooks-namespaces-fix | Tristan Sloughter | 2015-05-21 | 1 | -1/+1 |
|\ \ | |/ |/| | Properly setup namespace for dependency provider hooks | ||||
| * | Initialize namespace in rebar_state with default value. | Viacheslav Kovalev | 2015-05-22 | 1 | -1/+1 |
| | | |||||
* | | make deps task listed in help and update zsh/bash completions | Tristan Sloughter | 2015-05-21 | 1 | -1/+1 |
| | | |||||
* | | only update, when not in explicit upgrade, locks if out of date | Tristan Sloughter | 2015-05-21 | 2 | -56/+78 |
| | | |||||
* | | parsing deps of a dep should be done at the dep's level + 1 | Tristan Sloughter | 2015-05-21 | 1 | -1/+1 |
| | | |||||
* | | always upgrade if needs_update is true | Tristan Sloughter | 2015-05-21 | 1 | -7/+9 |
|/ | |||||
* | Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hook | Fred Hebert | 2015-05-21 | 2 | -3/+3 |
|\ | | | | | Run hooks for single application only once. | ||||
| * | Properly reset hooks for single-app project | Viacheslav V. Kovalev | 2015-05-21 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #457 from talentdeficit/extra_src_dirs_ct | Tristan Sloughter | 2015-05-20 | 3 | -23/+55 |
|\ \ | | | | | | | don't add `{extra_src_dirs, ["test"]}` to `test` profile | ||||
| * | | don't add `{extra_src_dirs, ["test"]}` to `test` profile | alisdair sullivan | 2015-05-20 | 3 | -23/+55 |
| | | | | | | | | | | | | | | | | | | adding it results in ct test suites being compiled before they're properly copied so changes made to suites between runs are not reflected if a run fails before test dirs are copied | ||||
* | | | Merge pull request #455 from kovyl2404/init-command-parsed-args | Tristan Sloughter | 2015-05-20 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Properly initialize command parsed args in rebar state | ||||
| * | | Properly initialize command parsed args in rebar state | Viacheslav V. Kovalev | 2015-05-20 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #451 from talentdeficit/all_src_dirs | Tristan Sloughter | 2015-05-20 | 4 | -9/+40 |
|\ \ \ | |/ / |/| | | methods for retrieving `src_dirs` and `extra_src_dirs` | ||||
| * | | methods for retrieving `src_dirs` and `extra_src_dirs` | alisdair sullivan | 2015-05-19 | 4 | -9/+40 |
| | | | | | | | | | | | | | | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used | ||||
* | | | Merge pull request #442 from tsloughter/tests_replace_paths | Tristan Sloughter | 2015-05-20 | 3 | -4/+23 |
|\ \ \ | |/ / |/| | | purge loaded code when it conflicts with project apps in tests | ||||
| * | | purge loaded code when it conflicts with project apps in tests | Tristan Sloughter | 2015-05-18 | 3 | -4/+23 |
| |/ | |||||
* | | Merge pull request #441 from tsloughter/global_plugins | Fred Hebert | 2015-05-19 | 6 | -19/+39 |
|\ \ | | | | | | | install plugins from the global config to ~/.cache/plugins | ||||
| * | | install plugins from the global config to ~/.cache/plugins | Tristan Sloughter | 2015-05-17 | 6 | -19/+39 |
| | | | |||||
* | | | io_lib:format/2 will throw badarg when trying to print ↵ | Stefan Grundmann | 2015-05-19 | 1 | -1/+1 |
| |/ |/| | | | | | rebar_resource:resource() as string | ||||
* | | Merge pull request #439 from talentdeficit/extra_src_dirs | Tristan Sloughter | 2015-05-17 | 4 | -49/+41 |
|\ \ | | | | | | | generalize the "test" special dir into an {extra_src_dirs, [...]} option | ||||
| * | | generalize the "test" special dir into an {extra_src_dirs, [...]} option | alisdair sullivan | 2015-05-16 | 4 | -49/+41 |
| |/ | | | | | | | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification | ||||
* | | remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2` to | alisdair sullivan | 2015-05-16 | 1 | -8/+14 |
|/ | | | | avoid repeated loading and unloading of modules | ||||
* | Merge pull request #432 from soranoba/edoclet-in-deps | Tristan Sloughter | 2015-05-15 | 1 | -1/+3 |
|\ | | | | | be able to use the specified edoclet in deps | ||||
| * | be able to use the specified edoclet in deps | soranoba | 2015-05-16 | 1 | -1/+3 |
| | | |||||
* | | fix usage string in rebar_prv_unlock | Stefan Grundmann | 2015-05-15 | 1 | -1/+1 |
| | | |||||
* | | Proper custom pkg index support, some tests | Fred Hebert | 2015-05-13 | 4 | -26/+25 |
| | | | | | | | | | | | | | | | | | | | | - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included | ||||
* | | add bad_download error | Tristan Sloughter | 2015-05-12 | 2 | -1/+3 |
| | |