Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always read REBAR_CONFIG env var when loading config | Eric Meadows-Jönsson | 2016-11-22 | 1 | -6/+1 |
| | |||||
* | Get stacktrace only once and as soon as possible. Fixes #1347. | Alexander Sedov | 2016-10-13 | 1 | -2/+3 |
| | | | | | It turns out that pretty-printing uses throw-catch and thus garbages out the stack trace sometimes, so we should get it only once. | ||||
* | Print stacktrace in a more conventional way | Tuncer Ayaz | 2016-08-30 | 1 | -1/+1 |
| | | | | | | Insert a newline before printing the stacktrace so that the term is easier to read and copy. This is a more conventional way to print traces, and is, for instance, the way it's done by make and python. | ||||
* | Let DEBUG="" and QUIET="" mean disable the option | Jon | 2016-06-18 | 1 | -2/+2 |
| | | | | | Setting DEBUG/QUIET environment variable to the empty string now acts the same as unsetting it. Unsetting is not always easy/possible. | ||||
* | Merge pull request #1080 from project-fifo/crashdump | Fred Hebert | 2016-06-10 | 1 | -2/+4 |
|\ | | | | | Write rebar3.crashdump on errors | ||||
| * | Make sure not to dump in api mode | Heinz N. Gies | 2016-04-16 | 1 | -3/+3 |
| | | |||||
| * | Write rebar3.crashdump on errors | Heinz N. Gies | 2016-04-16 | 1 | -2/+4 |
| | | |||||
* | | Handle control sequences in formatted errors | Péter Gömöri | 2016-06-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formatted errors can accidentally contain substrings which are control sequences for io:format/2. This is a naive attempt to handle such cases. One example is running xref on the following module (assuming module m does not exist) ``` -module(handle_error). -export([f/0]). f() -> m:'bobby~stables'(). ``` ``` $ rebar3 xref ===> Verifying dependencies... ===> Compiling myapp ===> Running cross reference analysis... escript: exception error: bad argument in function io:format/3 called as io:format(<0.23.0>, "\e[0;31m===> \e[1mWarning: handle_error:f/0 is unused export (Xref)\nWarning: handle_error:f/0 calls undefined function m:bobby~stables/0 (Xref)\n\n\e[0m\e[0m", []) in call from rebar3:handle_error/1 (/Users/gomoripeti/git/rebar3/_build/default/lib/rebar/src/rebar3.erl, line 279) ``` | ||||
* | | Read env var REBAR_CACHE_DIR on rebar3 only once | Francisco Rojas | 2016-04-06 | 1 | -3/+10 |
|/ | | | | | Instead of reading every time that rebar_dir:global_cache_dir/1 is called | ||||
* | Revert "define the 'EUNIT' macro in the test profile" | alisdair sullivan | 2016-03-03 | 1 | -11/+10 |
| | | | | This reverts commit 4c32c52b557c66ac6e6764efb1ed9135c00a3c20. | ||||
* | define the 'EUNIT' macro in the test profile | alisdair sullivan | 2016-03-03 | 1 | -10/+11 |
| | |||||
* | Merge branch 'state' of https://github.com/saleyn/rebar3 into saleyn-state | Fred Hebert | 2016-03-01 | 1 | -4/+4 |
|\ | |||||
| * | Remove --state argument option per Tristan's comment | Serge Aleynikov | 2016-02-08 | 1 | -2/+1 |
| | | |||||
| * | Add a state display provider | Serge Aleynikov | 2016-02-08 | 1 | -4/+5 |
| | | | | | | | | | | | | | | The provider is used for debugging to help displaying current rebar's state. Usage: rebar3 state | ||||
* | | add project_providers after initing default providers but allow overrides | Tristan Sloughter | 2016-02-22 | 1 | -3/+3 |
| | | |||||
* | | give new opt project_plugins providers precedence over default providers | Tristan Sloughter | 2016-02-20 | 1 | -5/+7 |
| | | |||||
* | | check top level config for minimum or blacklisted otps at start | Tristan Sloughter | 2016-02-03 | 1 | -0/+3 |
| | | |||||
* | | install project app plugins after discovering them not before | Tristan Sloughter | 2016-01-10 | 1 | -1/+1 |
|/ | |||||
* | support temporary cdn change with HEX_CDN os var | Tristan Sloughter | 2015-12-19 | 1 | -9/+16 |
| | |||||
* | move test profile bootstrap into core | alisdair sullivan | 2015-10-30 | 1 | -1/+22 |
| | |||||
* | fix dialyzer warnings | Tristan Sloughter | 2015-09-27 | 1 | -0/+1 |
| | |||||
* | Properly warn on missing rebar3 deps | Fred Hebert | 2015-09-26 | 1 | -10/+23 |
| | | | | | | | | | | | | The current code could not cope with missing dependencies, as they would prevent the rebar3 app from loading or properly building its config, which prevented the log state from being carried along with default values. This in turn would turn in an escript-level error that obfuscated the true source of failure. This patch bypasses the whole state setup and logging macros and logs an error message manually when a dependency such as crypto or SSL is missing from the Erlang install. | ||||
* | add providers 'local upgrade' and 'local install' for installing/upgrading | Tristan Sloughter | 2015-09-07 | 1 | -2/+16 |
| | |||||
* | add current_app attribute for setting before calling hooks | Tristan Sloughter | 2015-09-04 | 1 | -1/+0 |
| | |||||
* | Revert "Revert "only load packages when needed"" | Fred Hebert | 2015-09-02 | 1 | -2/+0 |
| | |||||
* | Revert "only load packages when needed" | Fred Hebert | 2015-09-02 | 1 | -0/+2 |
| | |||||
* | only load packages when needed | Tristan Sloughter | 2015-09-02 | 1 | -2/+0 |
| | |||||
* | replace use of dict of packages and registry with single ets table | Tristan Sloughter | 2015-08-21 | 1 | -3/+10 |
| | |||||
* | fix no_return warnings | Tristan Sloughter | 2015-08-08 | 1 | -0/+1 |
| | |||||
* | handle global config file that can't be read | Tristan Sloughter | 2015-07-19 | 1 | -19/+29 |
| | |||||
* | Added rebar profile to httpc initialization and calls. | CarlosEDP | 2015-07-03 | 1 | -1/+2 |
| | |||||
* | Added support for proxy on rebar3 based on environment variables. | CarlosEDP | 2015-07-03 | 1 | -10/+2 |
| | |||||
* | setup hex httpc profile and http opts. needed also for proxy | Tristan Sloughter | 2015-06-29 | 1 | -1/+11 |
| | |||||
* | plugins provider | Tristan Sloughter | 2015-06-18 | 1 | -4/+5 |
| | |||||
* | check format of config file and print the bad section in the error | Tristan Sloughter | 2015-06-18 | 1 | -3/+3 |
| | |||||
* | set default providers before installing plugins | Tristan Sloughter | 2015-05-31 | 1 | -3/+2 |
| | |||||
* | Show stacktrace to errors caught in rebar3 module. | Viacheslav Kovalev | 2015-05-22 | 1 | -0/+5 |
| | |||||
* | 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 | 1 | -3/+3 |
| | |||||
* | install plugins from the global config to ~/.cache/plugins | Tristan Sloughter | 2015-05-17 | 1 | -1/+10 |
| | |||||
* | remove uses of 'case catch' | Tristan Sloughter | 2015-05-10 | 1 | -24/+30 |
| | |||||
* | set resources of state in state initialize functions | Tristan Sloughter | 2015-05-04 | 1 | -7/+5 |
| | |||||
* | R15 support, replace unsetenv with putenv empty string | Tristan Sloughter | 2015-04-22 | 1 | -0/+2 |
| | |||||
* | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -0/+1 |
| | |||||
* | track and cleanup code paths for different contexts | Tristan Sloughter | 2015-04-21 | 1 | -1/+3 |
| | |||||
* | Rename wtf->report, add all dep versions | Fred Hebert | 2015-04-13 | 1 | -2/+2 |
| | |||||
* | removing installing of global plugins | Tristan Sloughter | 2015-04-05 | 1 | -3/+2 |
| | |||||
* | install each deps plugins after handling dep, instead of at the end | Tristan Sloughter | 2015-04-05 | 1 | -10/+8 |
| | |||||
* | move resource modules list to rebar_state, no longer static | Tristan Sloughter | 2015-04-04 | 1 | -4/+6 |
| | |||||
* | Decapitalize short option for 'version' | Tilman Holschuh | 2015-03-16 | 1 | -1/+1 |
| |