summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
* | | | Merge pull request #1075 from tsloughter/plugin_overrideFred Hebert2016-02-223-11/+23
|\ \ \ \ | |/ / / |/| | | add project_providers after initing default providers but allow overrides
| * | | add project_providers after initing default providers but allow overridesTristan Sloughter2016-02-223-11/+23
| | | |
* | | | Support --setcookie optionFred Hebert2016-02-211-2/+14
| | | | | | | | | | | | | | | | Replicates `erl` behaviour.
* | | | Merge pull request #1065 from tsloughter/plugin_precedenceFred Hebert2016-02-213-8/+21
|\ \ \ \ | |/ / / | | | | give top level plugin providers precedence over default providers
| * | | give new opt project_plugins providers precedence over default providersTristan Sloughter2016-02-203-8/+21
| | | |
* | | | Merge pull request #1061 from ferd/future-proof-lockfilesTristan Sloughter2016-02-215-17/+49
|\ \ \ \ | |/ / / |/| | | Make lock files future-proof
| * | | Make lock files future-proofFred Hebert2016-02-165-17/+49
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to how hex or packages may work in the future will necessarily bring changes to the format of lock files. This commit adds an optional framing for future lock files of the form: {Version, LockList}. <Whatever consultable attributes> This format is supported such as the LockList is the current lockfile contents, and will never have more information than it currently does. Attributes can be whatever and are currently undefined. Rebar copies will be able to: - Keep using the core locklist (which avoids breaking the last year or so of community libraries using rebar3) - Warn when it runs an outdated copy in comparison to the lock file - Automatically rewrite lock files in the format it supports - Augment or parse files in a version-specific manner. This changes the usage interface slightly, but is backwards *and* forwards compatible.
* | | break up do/1 function in install_deps to make upgrade less confusingTristan Sloughter2016-02-192-3/+7
| | |
* | | set default color intensity to highTristan Sloughter2016-02-191-1/+1
| | |
* | | Merge pull request #902 from project-fifo/less-colorTristan Sloughter2016-02-162-1/+28
|\ \ \ | |/ / |/| | Less color
| * | Set relx color intensity env variableHeinz N. Gies2016-02-161-0/+2
| | |