Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Back to git-based versioning | Fred Hebert | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | bump to 3.5.1 | Fred Hebert | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | Fix handling of loosely formatted OTP_VERSION file | Fred Hebert | 2018-05-03 | 1 | -6/+5 |
| | | | | see https://github.com/erlang/rebar3/issues/1774 | ||||
* | Confirm lack of regressions on new logger in shell | Fred Hebert | 2018-05-03 | 1 | -9/+16 |
| | |||||
* | Work around OTP-21 deprecation of get_stacktrace() | Fred Hebert | 2018-05-03 | 10 | -30/+34 |
| | | | | Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783 | ||||
* | Fix symlink/copying logic in compiler for priv | Fred Hebert | 2018-04-27 | 1 | -1/+10 |
| | | | | | Priv and include dirs need the virtual symlink in order to preserve hook functionality in some edge cases. | ||||
* | Prevent copying or symlink non-existing src_dirs | Fred Hebert | 2018-04-27 | 1 | -1/+4 |
| | | | | | | | | | | This would cause crashes on linux and force people to have a src_dirs config that is strictly matching what is on the file system rather than acting as a specification of those that are valid. To compare, if lib_dirs worked the same, then any repo that did not both have apps/ and lib/ would crash, as the spec mentions both options as valid. | ||||
* | Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 ↵ | Fred Hebert | 2018-04-27 | 1 | -0/+4 |
|\ | | | | | | | into danikp-feature_long_src_paths | ||||
| * | fix & test | Dmitry | 2018-04-23 | 1 | -2/+6 |
| | | |||||
| * | ensure Dest exists before copying to it | Dmitry | 2018-04-22 | 1 | -2/+2 |
| | | |||||
* | | Display warnings when cache dirs are read-only | Fred Hebert | 2018-04-27 | 2 | -2/+16 |
| | | | | | | | | | | | | | | This should provide more help to users directly and avoid having them go through opening tickets for help. Fixes #1767 | ||||
* | | Clear all dialyzer errors | Fred Hebert | 2018-04-23 | 2 | -1/+2 |
|/ | | | | | - this is done by adding a HiPE dependency - also in this: adding a test for directories, and fixing some indent | ||||
* | Merge pull request #1762 from ferd/reload-shell-apps-for-cfg | Fred Hebert | 2018-04-21 | 1 | -3/+28 |
|\ | | | | | Reload apps running in shell with new config | ||||
| * | Reload apps running in shell with new config | Fred Hebert | 2018-04-20 | 1 | -3/+28 |
| | | | | | | | | | | | | | | This patch makes it so that whenever the rebar3 shell has a new configuration for an application that is already running and would be restarted (without risking the stability of the node or functionality of rebar_agent), we stop and restart the app. | ||||
* | | Fix local upgrade etag handling | Fred Hebert | 2018-04-21 | 1 | -1/+10 |
|/ | | | | | | Since packages store etags on disk directly, the local install feature can no longer depend on this; we instead port the etag feature back to local providers only. | ||||
* | Merge pull request #1759 from ferd/fix-erlopts-test-profile | Fred Hebert | 2018-04-20 | 1 | -1/+5 |
|\ | | | | | Fix precedence rules of erl_opts for test profile | ||||
| * | Fix precedence rules of erl_opts for test profile | Fred Hebert | 2018-04-20 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When adding the 'TEST' macro to the test profile, we mistakenly sourced the erl_opts values from the base profile rather than the test profile itself. This means that in cases where the base profile set an option such as 'no_debug_info' and a profile overrode it with 'debug_info', the default options would get injected within the test profile, and broke the precedence rules, yielding incompatible values. This patch fixes things by adding the macro to the values sourced from the test profile itself, fixing the issue. | ||||
* | | Fix broken windows build | Fred Hebert | 2018-04-20 | 1 | -1/+1 |
| | | | | | | | | Let's bundle this with another PR | ||||
* | | Display error when rebar.config.script fails | Fred Hebert | 2018-04-20 | 1 | -0/+2 |
|/ | | | | | | | | | | This will at least display the script that failed with the stacktrace before failing as usual, but without altering the return value. This should make the common failure path more user-friendly without breaking any existing behaviour that may have relied on the script file working. If there's any unexpected side-effect, it will be visual only rather than blocking full builds if ?ABORT were used. | ||||
* | Fix various Dialyzer warnings | Fred Hebert | 2018-04-20 | 4 | -11/+5 |
| | | | | | | | | | Some still remain from erl_type calls from Dialyzer, but most of them are handled. Decided to just ignore rebar_alias since playing with the type specs of abstract code format is just a nightmare and hard to do cross-versions I guess. | ||||
* | Merge branch '1743_specs' of https://github.com/tothlac/rebar3 into ↵ | Fred Hebert | 2018-04-20 | 1 | -64/+250 |
|\ | | | | | | | tothlac-1743_specs | ||||
| * | (#1743): Refactor rebar_pkg_resource, add documentation | Laszlo Toth | 2018-04-12 | 1 | -81/+152 |
| | | |||||
| * | (#1743): Add specs for dialyzer | Laszlo Toth | 2018-04-11 | 1 | -3/+118 |
| | | |||||
* | | Merge pull request #1756 from ferd/handle-schemeless-proxy | Fred Hebert | 2018-04-20 | 1 | -1/+9 |
|\ \ | | | | | | | Handle Schema-less Proxy URLs in ENV vars | ||||
| * | | Handle Schemaless Proxy URLs in ENV vars | Fred Hebert | 2018-04-20 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've had multiple tickets opened because of unclear PROXY settings when the scheme is missing form the URI. To be helpful, we instead add them dynamically whenever they're missing. Example issues: - https://github.com/erlang/rebar3/issues/1747 - https://github.com/erlang/rebar3/issues/1697 | ||||
* | | | Do not die on a pkg etag cache write fail | Fred Hebert | 2018-04-20 | 1 | -1/+1 |
| |/ |/| | | | | | We can probably still move ahead without a cache if we must | ||||
* | | (#1743): store the etags in cache files | Laszlo Toth | 2018-04-11 | 1 | -10/+26 |
|/ | |||||
* | (#1741): Fix quotes in etag values | tothlac | 2018-04-09 | 1 | -1/+2 |
| | |||||
* | Remove noisy debug message | Fred Hebert | 2018-03-30 | 1 | -2/+0 |
| | | | | | It makes things worse than if it weren't there. Fixes issue #1726 | ||||
* | Merge pull request #1716 from fenollp/sort-as | Fred Hebert | 2018-03-30 | 1 | -0/+3 |
|\ | | | | | sort-as: force an order on multiple profiles | ||||
| * | sort-as: a more general pattern | Pierre Fenoll | 2018-03-02 | 1 | -2/+2 |
| | | |||||
| * | do not append test profile if already there. Note that it comes from the prv ↵ | Pierre Fenoll | 2018-03-02 | 1 | -0/+3 |
| | | | | | | | | list passed to providers:create/1 | ||||
| * | Revert "sort-as: found the issue. Will look into tests now" | Pierre Fenoll | 2018-03-02 | 1 | -5/+4 |
| | | | | | | | | This reverts commit 0f7e6c31e97c238649e7ae0a1b7087e342174ecc. | ||||
| * | Revert "sort-as: show issue more clearly" | Pierre Fenoll | 2018-03-02 | 1 | -4/+0 |
| | | | | | | | | This reverts commit 4ad1db97336a3ac070880876ada07d4c7b769327. | ||||
| * | sort-as: show issue more clearly | Pierre Fenoll | 2018-03-02 | 1 | -0/+4 |
| | | |||||
| * | sort-as: found the issue. Will look into tests now | Pierre Fenoll | 2018-03-02 | 1 | -4/+5 |
| | | |||||
| * | Revert "sort-as: force an order on multiple profiles" | Pierre Fenoll | 2018-03-02 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 3f8dd5eacebb913144f3615fdf44658b6223a791. | ||||
| * | sort-as: force an order on multiple profiles | Pierre Fenoll | 2018-03-02 | 1 | -1/+1 |
| | | |||||
* | | remove the .app from app_info | Jean Bouchard | 2018-03-16 | 1 | -3/+4 |
|/ | |||||
* | use debug level for logs about bad package versioning | Tristan Sloughter | 2018-02-27 | 1 | -7/+7 |
| | |||||
* | don't attempt retry of missing packages when updating index | Tristan Sloughter | 2018-02-27 | 2 | -1/+2 |
| | |||||
* | Merge pull request #1706 from campanja-forks/env-for-providers | Fred Hebert | 2018-02-27 | 3 | -75/+91 |
|\ | | | | | Env for providers | ||||
| * | make it easier to create env | Carl-Johan Kjellander | 2018-02-26 | 1 | -1/+8 |
| | | |||||
| * | remove whitespace | Carl-Johan Kjellander | 2018-02-23 | 1 | -1/+0 |
| | | |||||
| * | move and export create_env for use by providers | Carl-Johan Kjellander | 2018-02-23 | 2 | -57/+67 |
| | | |||||
| * | export env expansion | Carl-Johan Kjellander | 2018-02-23 | 1 | -18/+18 |
| | | |||||
* | | rebar_package: do not return first package version for constraint with no match | Tristan Sloughter | 2018-02-26 | 1 | -5/+10 |
|/ | |||||
* | Merge pull request #1718 from shino/bugfix/io-opts-unicode | Fred Hebert | 2018-02-21 | 2 | -3/+2 |
|\ | | | | | Set unicode option for standard_io at entry point | ||||
| * | Set unicode option for starndard_io at entry point | Shunichi Shinohara | 2018-02-22 | 2 | -3/+2 |
| | | |||||
* | | Merge pull request #1698 from campanja-forks/run-clean-hooks | Fred Hebert | 2018-02-21 | 2 | -4/+9 |
|\ \ | |/ |/| | fix hooks and plugins usage when cleaning build artifacts for deps |