summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #1758 from ferd/display-script-errorsFred Hebert2018-04-202-1/+3
|\ \ | |/ |/| Display script errors
| * Fix broken windows buildFred Hebert2018-04-201-1/+1
| | | | | | | | Let's bundle this with another PR
| * Display error when rebar.config.script failsFred Hebert2018-04-201-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.
* Merge pull request #1757 from ferd/fix-dialyzer-warningsFred Hebert2018-04-206-13/+10
|\ | | | | Fix various Dialyzer warnings
| * Fix Travis buildsFred Hebert2018-04-201-1/+1
| |
| * Fix various Dialyzer warningsFred Hebert2018-04-205-12/+9
|/ | | | | | | | | 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 'tothlac-1743_specs'Fred Hebert2018-04-201-64/+250
|\
| * Merge branch '1743_specs' of https://github.com/tothlac/rebar3 into ↵Fred Hebert2018-04-201-64/+250
| |\ |/ / | | | | tothlac-1743_specs
| * (#1743): Refactor rebar_pkg_resource, add documentationLaszlo Toth2018-04-121-81/+152
| |
| * (#1743): Add specs for dialyzerLaszlo Toth2018-04-111-3/+118
| |
* | Merge pull request #1756 from ferd/handle-schemeless-proxyFred Hebert2018-04-202-7/+17
|\ \ | | | | | | Handle Schema-less Proxy URLs in ENV vars
| * | Add proxy auto-scheme testFred Hebert2018-04-201-6/+8
| | |
| * | Handle Schemaless Proxy URLs in ENV varsFred Hebert2018-04-201-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
* | | Merge branch 'tothlac-1743'Fred Hebert2018-04-202-15/+38
|\ \ \ | |/ / |/| |
| * | Do not die on a pkg etag cache write failFred Hebert2018-04-201-1/+1
| | | | | | | | | | | | We can probably still move ahead without a cache if we must
| * | Merge branch '1743' of https://github.com/tothlac/rebar3 into tothlac-1743Fred Hebert2018-04-202-15/+38
| |\ \ |/ / / | | _
| * (#1743): store the etags in cache filesLaszlo Toth2018-04-112-15/+38
| |
* | Merge pull request #1750 from ferd/rework-dialyzer-optionsFred Hebert2018-04-182-32/+23
|\ \ | |/ |/| Make rebar3 work with dialyzer internally
| * Make rebar3 work with dialyzer internallyFred Hebert2018-04-142-32/+23
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We got funny interactions since PR #1656: - the last `debug_info`-related option seen in a list of options after profile merge is kept, allowing later profiles from overtaking earlier ones - if you go `rebar3 as a,b,c compile`, the options from profile A come before B, which come before C, so C's options win - overrides are applied in order of profile as well, giving a priority to a later profile than an earlier one - The values in overrides are prepended rather than suffixed to the existing list - this means if we have to overrides adding options, such as `default` adding `no_debug_info', and `dialyze` adding `debug_info`, the results are `[debug_info]` as `dialyze` is applied first, and then `[no_debug_info, debug_info]` as `default` overrides are applied - the final result is `no_debug_info` always winning when erl_opts are overriden specifically. only `debug_info` options are going to suffer this, and in the context of overrides. Other `erl_opts` should be fine. I'm not sure how that can be fixed at all. In the meanwhile, we can add support back while leaving the default to not having debug information. This is done by: - moving all `no_debug_info` options to the `prod` profile - forcing `prod` to be called by `./bootstrap` so that most people keep getting no debug info - anyone calling `rebar3 clean -a` and then rebuilding with `rebar3 escriptize` (i.e. rebar3 devs) get debug info going This is up for review and discussion.
* Merge pull request #1742 from tothlac/masterFred Hebert2018-04-091-1/+2
|\ | | | | (#1741): Fix quotes in etag values
| * (#1741): Fix quotes in etag valuestothlac2018-04-091-1/+2
|/
* Merge pull request #1739 from erlang/bump-cthreadbleTristan Sloughter2018-04-032-3/+3
|\ | | | | Bump cth_readable to 1.3.3
| * Bump cth_readable to 1.3.3Fred Hebert2018-04-032-3/+3
|/ | | | Fixes some lager warnings since config changes
* Merge pull request #1737 from ferd/remove-debug-noiseFred Hebert2018-03-301-2/+0
|\ | | | | Remove noisy debug message
| * Remove noisy debug messageFred Hebert2018-03-301-2/+0
|/ | | | | It makes things worse than if it weren't there. Fixes issue #1726
* Merge pull request #1716 from fenollp/sort-asFred Hebert2018-03-302-1/+4
|\ | | | | sort-as: force an order on multiple profiles
| * sort-as: a more general patternPierre Fenoll2018-03-021-2/+2
| |
| * sort-as: bar profile specializes dep "b" into a version anterior to what ↵Pierre Fenoll2018-03-021-1/+1
| | | | | | | | test profile wants
| * do not append test profile if already there. Note that it comes from the prv ↵Pierre Fenoll2018-03-021-0/+3
| | | | | | | | list passed to providers:create/1
| * Revert "sort-as: found the issue. Will look into tests now"Pierre Fenoll2018-03-021-5/+4
| | | | | | | | This reverts commit 0f7e6c31e97c238649e7ae0a1b7087e342174ecc.
| * Revert "sort-as: show issue more clearly"Pierre Fenoll2018-03-022-20/+3
| | | | | | | | This reverts commit 4ad1db97336a3ac070880876ada07d4c7b769327.
| * sort-as: show issue more clearlyPierre Fenoll2018-03-022-3/+20
| |
| * sort-as: found the issue. Will look into tests nowPierre Fenoll2018-03-021-4/+5
| |
| * Revert "sort-as: force an order on multiple profiles"Pierre Fenoll2018-03-021-1/+1
| | | | | | | | This reverts commit 3f8dd5eacebb913144f3615fdf44658b6223a791.
| * sort-as: force an order on multiple profilesPierre Fenoll2018-03-021-1/+1
| |
* | Merge branch 'hommeabeil-fix_skip_compile_dep'Fred Hebert2018-03-307-5/+59
|\ \ | |/ |/|
| * make systest suite work on linuxFred Hebert2018-03-301-7/+6
| |
| * add test in systesthommeabeil2018-03-246-2/+56
| |
| * remove the .app from app_infoJean Bouchard2018-03-161-3/+4
|/
* Merge pull request #1723 from tsloughter/warn-to-debugFred Hebert2018-03-021-7/+7
|\ | | | | use debug level for logs about bad package versioning
| * use debug level for logs about bad package versioningTristan Sloughter2018-02-271-7/+7
|/
* Merge pull request #1722 from tsloughter/fix-update-loopTristan Sloughter2018-02-272-1/+2
|\ | | | | don't attempt retry of missing packages when updating index
| * don't attempt retry of missing packages when updating indexTristan Sloughter2018-02-272-1/+2
|/
* Merge pull request #1706 from campanja-forks/env-for-providersFred Hebert2018-02-273-75/+91
|\ | | | | Env for providers
| * make it easier to create envCarl-Johan Kjellander2018-02-261-1/+8
| |
| * remove whitespaceCarl-Johan Kjellander2018-02-231-1/+0
| |
| * move and export create_env for use by providersCarl-Johan Kjellander2018-02-232-57/+67
| |
| * export env expansionCarl-Johan Kjellander2018-02-231-18/+18
| |
* | Merge pull request #1721 from tsloughter/no-constraint-matchFred Hebert2018-02-262-6/+19
|\ \ | |/ |/| rebar_package: do not return first package version for constraint with no match
| * rebar_package: do not return first package version for constraint with no matchTristan Sloughter2018-02-262-6/+19
|/