Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix badarg exception when setting group_leader for a dead pid | Andras Boroska | 2015-05-30 | 1 | -2/+4 |
| | | | | | | 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. | ||||
* | allow `src_dirs` and `extra_src_dirs` at the root of the rebar config | alisdair sullivan | 2015-05-30 | 1 | -2/+2 |
| | |||||
* | Merge pull request #473 from ferd/improve-shell | Tristan Sloughter | 2015-05-30 | 4 | -36/+238 |
|\ | | | | | improve the rebar3 shell | ||||
| * | Optionally allow node names to the rebar3 shell. | Fred Hebert | 2015-05-30 | 1 | -12/+30 |
| | | | | | | | | | | Helps with integration efforts, but unfortunately can't support the '-sname' and '-name' options, only '--sname' and '--name'. | ||||
| * | Fix config loading in shell | Fred Hebert | 2015-05-30 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | 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. | ||||
* | | Merge pull request #474 from tsloughter/fix_plugin_install | Tristan Sloughter | 2015-05-29 | 7 | -27/+105 |
|\ \ | | | | | | | fixing plugin install and paths | ||||
| * | | add comment explaining installing each plugin individually | Tristan Sloughter | 2015-05-29 | 1 | -0/+1 |
| | | | |||||
| * | | store plugin providers in app_info's state for deps | Tristan Sloughter | 2015-05-28 | 4 | -9/+28 |
| | | | |||||
| * | | fix for plugin installation and code paths | Tristan Sloughter | 2015-05-27 | 6 | -19/+77 |
| | | | |||||
* | | | Merge pull request #481 from ferd/fix-atom-pkg-upgrade | Tristan Sloughter | 2015-05-28 | 1 | -6/+15 |
|\ \ \ | |/ / |/| | | Fix upgrade of atom-only packages | ||||
| * | | Fix upgrade of atom-only packages | Fred Hebert | 2015-05-28 | 1 | -6/+15 |
| |/ | | | | | | | they would always be left unfound otherwise. | ||||
* | | reverse relx config so profile settings are used properly | Tristan Sloughter | 2015-05-26 | 1 | -1/+1 |
| | | |||||
* | | Add rebar.config 'excluded_apps' key. | Jean Parpaillon | 2015-05-23 | 1 | -7/+20 |
| | | | | | | | | | | | | Listed applications are simply ignored. Allows for configuration time sub-application building. | ||||
* | | move handling of undefined app state to function | Tristan Sloughter | 2015-05-22 | 4 | -25/+12 |
|/ | |||||
* | 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` |