Fred Hebert
9cfe33f97e
Merge pull request #1757 from ferd/fix-dialyzer-warnings
Fix various Dialyzer warnings
há 7 anos
Fred Hebert
f74b69b2f4
Fix Travis builds
há 7 anos
Fred Hebert
53af2354cc
Fix various Dialyzer warnings
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.
há 7 anos
Fred Hebert
a73deb79cd
Merge branch 'tothlac-1743_specs'
há 7 anos
Fred Hebert
04c4d08780
Merge branch '1743_specs' of https://github.com/tothlac/rebar3 into tothlac-1743_specs
há 7 anos
Fred Hebert
39b743b36a
Merge pull request #1756 from ferd/handle-schemeless-proxy
Handle Schema-less Proxy URLs in ENV vars
há 7 anos
Fred Hebert
088c47ad1d
Add proxy auto-scheme test
há 7 anos
Fred Hebert
d83167c74c
Merge branch 'tothlac-1743'
há 7 anos
Fred Hebert
b46f56a158
Do not die on a pkg etag cache write fail
We can probably still move ahead without a cache if we must
há 7 anos
Fred Hebert
6ee36548ec
Merge branch '1743' of https://github.com/tothlac/rebar3 into tothlac-1743
há 7 anos
Fred Hebert
01eeda6c2c
Handle Schemaless Proxy URLs in ENV vars
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
há 7 anos
Fred Hebert
c48435a09f
Merge pull request #1750 from ferd/rework-dialyzer-options
Make rebar3 work with dialyzer internally
há 7 anos
Fred Hebert
497bc3b8de
Make rebar3 work with dialyzer internally
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.
há 7 anos
Laszlo Toth
66143a65e0
( #1743 ): Refactor rebar_pkg_resource, add documentation
há 7 anos
Laszlo Toth
97c48e86bb
( #1743 ): Add specs for dialyzer
há 7 anos
Laszlo Toth
a03da56fb3
( #1743 ): store the etags in cache files
há 7 anos
Fred Hebert
cb743f76cb
Merge pull request #1742 from tothlac/master
(#1741 ): Fix quotes in etag values
há 7 anos
tothlac
e754621e73
( #1741 ): Fix quotes in etag values
há 7 anos
Tristan Sloughter
d6cec1adfd
Merge pull request #1739 from erlang/bump-cthreadble
Bump cth_readable to 1.3.3
há 7 anos
Fred Hebert
b38a870e2b
Bump cth_readable to 1.3.3
Fixes some lager warnings since config changes
há 7 anos
Fred Hebert
827056301a
Merge pull request #1737 from ferd/remove-debug-noise
Remove noisy debug message
há 7 anos
Fred Hebert
15ec1ce305
Remove noisy debug message
It makes things worse than if it weren't there.
Fixes issue #1726
há 7 anos
Fred Hebert
b37737a63c
Merge pull request #1716 from fenollp/sort-as
sort-as: force an order on multiple profiles
há 7 anos
Fred Hebert
8b061497e2
Merge branch 'hommeabeil-fix_skip_compile_dep'
há 7 anos
Fred Hebert
b5330f5e90
make systest suite work on linux
há 7 anos
hommeabeil
8a6059861c
add test in systest
há 7 anos
Jean Bouchard
4a35276bdf
remove the .app from app_info
há 7 anos
Pierre Fenoll
1271458c51
sort-as: a more general pattern
há 7 anos
Pierre Fenoll
cfe6dfcca5
sort-as: bar profile specializes dep "b" into a version anterior to what test profile wants
há 7 anos
Pierre Fenoll
0d88ff8891
do not append test profile if already there. Note that it comes from the prv list passed to providers:create/1
há 7 anos
Pierre Fenoll
1d2aa24ef0
Revert "sort-as: found the issue. Will look into tests now"
This reverts commit 0f7e6c31e9
.
há 7 anos
Pierre Fenoll
6aeff6300b
Revert "sort-as: show issue more clearly"
This reverts commit 4ad1db9733
.
há 7 anos
Pierre Fenoll
abad0e14bb
sort-as: show issue more clearly
há 7 anos
Pierre Fenoll
e504ba71e1
sort-as: found the issue. Will look into tests now
há 7 anos
Pierre Fenoll
9f0e3a2e5b
Revert "sort-as: force an order on multiple profiles"
This reverts commit 3f8dd5eace
.
há 7 anos
Pierre Fenoll
3146a285fb
sort-as: force an order on multiple profiles
há 7 anos
Fred Hebert
02a02d7295
Merge pull request #1723 from tsloughter/warn-to-debug
use debug level for logs about bad package versioning
há 7 anos
Tristan Sloughter
c59c5dd3a8
use debug level for logs about bad package versioning
há 7 anos
Tristan Sloughter
ade7fc698b
Merge pull request #1722 from tsloughter/fix-update-loop
don't attempt retry of missing packages when updating index
há 7 anos
Tristan Sloughter
d839a0be8d
don't attempt retry of missing packages when updating index
há 7 anos
Fred Hebert
2917ede03d
Merge pull request #1706 from campanja-forks/env-for-providers
Env for providers
há 7 anos
Fred Hebert
8b4ef7dd83
Merge pull request #1721 from tsloughter/no-constraint-match
rebar_package: do not return first package version for constraint with no match
há 7 anos
Tristan Sloughter
8229d15b6c
rebar_package: do not return first package version for constraint with no match
há 7 anos
Carl-Johan Kjellander
57768ba22e
make it easier to create env
há 7 anos
Carl-Johan Kjellander
6d29233a16
remove whitespace
há 7 anos
Carl-Johan Kjellander
dd9680fe42
move and export create_env for use by providers
há 7 anos
Carl-Johan Kjellander
950161357f
export env expansion
há 7 anos
Fred Hebert
2560aaf5d0
Merge pull request #1718 from shino/bugfix/io-opts-unicode
Set unicode option for standard_io at entry point
há 7 anos
Fred Hebert
94ea0630b1
Merge pull request #1698 from campanja-forks/run-clean-hooks
fix hooks and plugins usage when cleaning build artifacts for deps
há 7 anos
Shunichi Shinohara
1effb745a3
Set unicode option for starndard_io at entry point
há 7 anos