summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make sure not to dump in api modeHeinz N. Gies2016-04-164-5/+18
|
* Write rebar3.crashdump on errorsHeinz N. Gies2016-04-162-3/+6
|
* Merge pull request #1152 from soranoba/feature/test-distnodeFred Hebert2016-04-072-9/+34
|\ | | | | supported dist_node in ct and eunit
| * Add sname, name, setcookie option in eunit, ctsoranoba2016-04-072-9/+24
| |
| * supported dist_node in ct and eunitsoranoba2016-04-072-0/+10
| |
* | Recursively load configurations in shell.Benedikt Reinartz2016-04-071-5/+12
| | | | | | | | | | The sys.config loading in the shell command did not implement recursion and thus processed the file different from a `erl -config cfg/path`.
* | Turn back to git-based semver for post-releaseFred Hebert2016-04-041-1/+1
|/
* Tag to 3.1.0Fred Hebert2016-04-041-1/+1
|
* Blacklist apps to reloadFred Hebert2016-04-041-5/+12
| | | | | | | | | | | | | | | When an app contains one of the modules we can't afford to get upgraded without breakage (i.e. erlware_commons, providers, getopt), skip reloading that application from the rebar3 agent, such that it can keep on working in subsequent calls. Blacklisted: - erlware_commons (broke on ec_cmd_log) - providers (core to functionality) - cf (useful to not explode on colors) - cth_readable (only used for CT suites, but incompatibilities may break whole runs)
* Merge pull request #1138 from egobrain/patch-2Tristan Sloughter2016-04-041-1/+1
|\ | | | | Fixed git version bug
| * Fixed git version bugYakov2016-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've tried to compile project with git in .app.src vsn Project was tagged as 1.0.0, but resulting .app vsn becomes 1.0.0+build.6.reff0aec24 ```git lg * f0aec24 - (80 минут назад) Fixed ct — Kozlov Yakov (HEAD -> master, tag: 1.0.0, origin/master) ... 5 commits before ``` ``` $ git log --oneline --no-walk --tags --decorate f0aec24 (HEAD -> master, tag: 1.0.0, origin/master) Fixed ct ``` I've found that `HEAD -> master` doest match pattern in [rebar_git_resource](https://github.com/erlang/rebar3/blob/master/src/rebar_git_resource.erl#L204)
* | Merge pull request #1144 from talentdeficit/ct_opts_passthruFred Hebert2016-04-011-2/+4
|\ \ | | | | | | allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
| * | allow all `ct_opts` arguments to be passed through to `ct:run_test/1`alisdair sullivan2016-04-011-2/+4
| |/
* | rename dist to dist_nodeFred Hebert2016-04-011-2/+2
| |
* | Extract dist config handling, support {dist, ...}Fred Hebert2016-03-212-27/+91
|/ | | | | | | | | | | | | | | | | | This commit moves the handling of distribution config and starting out of rebar_prv_shell and into rebar_dist_utils. The module is able to handle standard config options and boot a distributed node mode. This could be used in plugins (once it is exposed) and other providers like CT. Configuration is also expanded so that options like: {dist, [{sname, atom()}, {name, atom()}, {setcookie, term()}]} can be used and will be handled as a default. The config handler supports similar terms from the command line being parsed in if the calling provider supports them. A test suite is added for configuration handling.
* Merge pull request #1128 from fenollp/rebrandingFred Hebert2016-03-192-2/+2
|\ | | | | rebranding: update links rebar/rebar3 -> erlang/rebar3
| * rebranding: update links rebar/rebar3 -> erlang/rebar3Pierre Fenoll2016-03-192-2/+2
| |
* | Merge pull request #1125 from ferd/fix-paths-outputTristan Sloughter2016-03-191-2/+6
|\ \ | | | | | | Support all deps & locks in rebar3 path
| * | Support all deps & locks in rebar3 pathFred Hebert2016-03-191-2/+6
| |/ | | | | | | | | | | | | | | | | | | By default, the dependency only handled versioned packages and top-level source dependencies, and locks were being ignored. This patch makes it so locks and package deps are being considered, generating full-blown path lists. Should fix #1117
* | Merge pull request #1126 from ferd/single-entry-pkgsTristan Sloughter2016-03-191-11/+21
|\ \ | | | | | | Allow 'rebar3 pkgs <app>' to return only that app
| * | Allow 'rebar3 pkgs <app>' to return only that appFred Hebert2016-03-191-11/+21
| |/ | | | | | | | | | | | | | | Unsure if this should be a final supported format or if we should support other ways to match instead. This is a demo to solve the issue hilighted in https://github.com/erlang/rebar3/pull/1072
* | Fix bugs/race conditionsFred Hebert2016-03-191-2/+16
|/ | | | | | | | | | Following suggestions from @psyeugenic, this code terminates and waits for the termination of the port handling IO before booting our own, which should get rid of annoying warnings. We also allow for the failure to shutdown the user worker under kernel_sup, since it is likely not there anymore in many scenarios, preventing crashes.
* Revert to semver for non-tagged builds.Fred Hebert2016-03-091-1/+1
|
* Bump to 3.0.0Fred Hebert2016-03-091-1/+1
|
* Merge pull request #1110 from tsloughter/masterFred Hebert2016-03-072-6/+20
|\ | | | | pass loglevel used in rebar3 to relx
| * pass loglevel used in rebar3 to relxTristan Sloughter2016-03-072-6/+20
| |
* | move definition of 'EUNIT' macro to eunit provideralisdair sullivan2016-03-032-2/+38
| | | | | | | | add definition of 'COMMON_TEST' macro to eunit provider
* | Revert "define the 'EUNIT' macro in the test profile"alisdair sullivan2016-03-031-11/+10
|/ | | | This reverts commit 4c32c52b557c66ac6e6764efb1ed9135c00a3c20.
* define the 'EUNIT' macro in the test profilealisdair sullivan2016-03-031-10/+11
|
* include project_plugins in plugins that can be upgradedTristan Sloughter2016-03-021-7/+8
|
* Take CT options errors and turn them to warningsFred Hebert2016-03-021-6/+9
| | | | | | | | The idea is that given we accept arbitrary config items for CT, we should similarly be able to pass unsupported options and keep things running. However for unsupported options, a warning is very useful to have.
* Merge pull request #1099 from talentdeficit/ct_includeTristan Sloughter2016-03-011-14/+30
|\ | | | | add support for common tests `include` flag
| * add support for common tests `include` flagalisdair sullivan2016-03-011-14/+30
| |
* | Merge pull request #1098 from talentdeficit/ct_warn_on_cover_specTristan Sloughter2016-03-011-1/+3
|\ \ | | | | | | error on a cover spec in ct_opts
| * | add a link to the docs about `test_spec` and `cover` in ct warningsalisdair sullivan2016-03-011-2/+2
| | |
| * | error on a cover spec in ct_optsalisdair sullivan2016-03-011-0/+2
| |/
* | Merge branch 'state' of https://github.com/saleyn/rebar3 into saleyn-stateFred Hebert2016-03-015-4/+67
|\ \
| * | Make state provider {bare, false}Serge Aleynikov2016-02-081-1/+1
| | |
| * | Turn functor into a function to support older Erlang VMSerge Aleynikov2016-02-081-11/+10
| | |
| * | Improve recursive display of dictionary valuesSerge Aleynikov2016-02-081-7/+14
| | |
| * | Remove --state argument option per Tristan's commentSerge Aleynikov2016-02-081-2/+1
| | |
| * | Change output to use ?CONSOLE macroSerge Aleynikov2016-02-081-2/+2
| | |
| * | Change output to use ?CONSOLE marcoSerge Aleynikov2016-02-081-1/+1
| | |
| * | Add a state display providerSerge Aleynikov2016-02-085-4/+61
| | | | | | | | | | | | | | | | | | | | | The provider is used for debugging to help displaying current rebar's state. Usage: rebar3 state
* | | Add short-options to the eunit provider.Alexander Færøy2016-02-281-4/+4
| | | | | | | | | | | | This patch adds support for short options in the eunit provider.
* | | Merge pull request #1091 from tsloughter/all_hooksFred Hebert2016-02-284-9/+16
|\ \ \ | | | | | | | | Run all hooks
| * | | in providers that don't run per app run all available hooksTristan Sloughter2016-02-284-9/+16
| | |/ | |/|
* | | fix auto-registry update to work even when not a locked pkg-vsnTristan Sloughter2016-02-281-7/+32
|/ /
* | Merge pull request #1070 from project-fifo/hex-improvementsTristan Sloughter2016-02-242-23/+139
|\ \ | | | | | | Hex improvements
| * | Add more hex rules so they don't throw errorsHeinz N. Gies2016-02-222-23/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add more version constraints Allow for any number of whitespaces after compairison opperator Improve updating and error printing Fix failing tests