Fred Hebert
7c98639345
Merge branch 'michaelklishin-mk-uri-string-in-bootstrap' into otp24-preparedness
4 anni fa
Fred Hebert
c9d8e14bcb
Merge branch 'mk-uri-string-in-bootstrap' of https://github.com/michaelklishin/rebar3 into michaelklishin-mk-uri-string-in-bootstrap
4 anni fa
Fred Hebert
e1e6b68997
OTP-24 Builds passing
This does not get rid of all warnings.
This fixes the HiPE dependency to be conditional to whether dialyzer
actually requires it or not, and makes use of the .app.src.script
feature internally, at build time. This may cause issues for scripts
built prior to OTP-24 being used for OTP-24 versions as it will ask for
apps that aren't in place, but there's no good work-around for that.
This also bumps the erlware-commons version to one that eliminates some
warnings, and makes the bootstrap script honor the warnings_as_errors
value of dependencies to allow the build to proceed until parse_trans is
fixed upstream.
4 anni fa
Michael Klishin
45962a1507
rebar_prv_escriptize: ignore hipe dependency on Erlang 24+
as it won't be available. While at it, log errors and more relevant
resolution information at debug level.
4 anni fa
Michael Klishin
1f9b77dae0
rabar_uri: backport percent_decode/1 from OTP 23.2
and use it to avoid a warning in ./bootstrap.
4 anni fa
Michael Klishin
cdc35ea7ac
Erlang/OTP 25 compatibility for ./bootstrap
Replaces (deprecated in OTP 25) http_uri calls with uri_string.
4 anni fa
Fred Hebert
3ef4f08cea
Merge pull request #2449 from NAR/fix_link_to_plugins
Fixed link to list of plugins.
4 anni fa
Attila Rajmund Nohl
54f9d2cf23
Use link from ferd.
4 anni fa
Attila Rajmund Nohl
796811bd6b
Fixed link to list of plugins.
Apparently the docs at rebar3.org do not contain the list of available
plugins - the docs at rebar3.readme.io do.
4 anni fa
Fred Hebert
fb15036e2a
Merge pull request #2442 from max-au/max-au/speedup-analysis
rebar_compiler: fix DAG and speed-up analysis for large repositories
4 anni fa
Maxim Fedorov
ecab4e38b2
rebar_compiler: fix DAG and speed-up analysis for large repositories
This patch fixes incorrect behaviour of rebar_compiler_epp that
finds dependencies in _build/test/lib/... folder when rebar3 is run with
test profile. It is caused by code:lib_dir() pointing to _build
directory (when ebin is added to code path). Problem originates in
OTP that expects "include" and "ebin" directories being next to each other,
but rebar3 separates build artifacts and include files.
This patch also significantly speeds up analisys, caching file-to-application
mapping and avoiding repeated lookup for the very same gen_server/...
4 anni fa
Fred Hebert
2b0022e4c8
Merge pull request #2441 from ferd/bump-certifi
use newest certifi release
4 anni fa
Fred Hebert
0932e2051e
use newest certifi release
4 anni fa
Tristan Sloughter
889b4a71ad
back to git versioning in app file
4 anni fa
Tristan Sloughter
01cdb07661
Bump to 3.14.3
4 anni fa
Tristan Sloughter
4aa2959a3f
Merge pull request #2438 from tsloughter/bump-relx-4.2.0
bump relx to v4.2.0 and rebar3 version to 3.14.3
4 anni fa
Tristan Sloughter
319d3cfe05
bump relx to v4.2.0 and rebar3 version to 3.14.3
4 anni fa
Fred Hebert
ef6476dd1d
Merge pull request #2435 from kivra/add-support-for-relx-config-file
Add support for relx config file
4 anni fa
Hakan Nilsson
7884a4b109
Use root dir when loading relx.config
4 anni fa
Hakan Nilsson
96d61cf5f8
Improved logging
4 anni fa
Hakan Nilsson
2ae71b2b88
Add tests for relx config file
4 anni fa
Hakan Nilsson
424fdcb8fa
Add support for reading relx config file
4 anni fa
Tristan Sloughter
757848804a
Merge pull request #2432 from tsloughter/tags-to-releases
create release and upload escript for new tags
4 anni fa
Tristan Sloughter
704e21b144
create release and upload escript for new tags
4 anni fa
Fred Hebert
38c5048dad
go back to git-based versioning
4 anni fa
Fred Hebert
07fdbf5e2a
Bump to 3.14.2
4 anni fa
Tristan Sloughter
e8b5e5be70
Merge pull request #2352 from tsloughter/dialyzer-rel-path
output relative paths in dialyzer provider
4 anni fa
Tristan Sloughter
e20930a1ef
output relative paths in dialyzer provider
4 anni fa
Fred Hebert
d23b28fea8
Merge pull request #2431 from tsloughter/bump-relx-4.1.0
bump relx to v4.1.0
4 anni fa
Tristan Sloughter
7969f82e0e
bump relx to v4.1.0
4 anni fa
Fred Hebert
8adc139818
Merge pull request #2412 from paulo-ferraz-oliveira/fix/dialyzer_warnings_over_otp_23
Prevent dialyzer warnings on OTP 23
4 anni fa
Paulo F. Oliveira
8390ef348c
Adapt to hex_core's deprecation warnings (II)
4 anni fa
Paulo F. Oliveira
d472b128ab
Remove unexpected field from hex_core config. map
4 anni fa
Paulo F. Oliveira
e871da9e85
Adapt to hex_core's deprecation warnings
We adapt .gitignore to the new vendored folder, also
4 anni fa
Paulo F. Oliveira
cff6bbdff8
Re-vendor hex_core to 0.7.1
4 anni fa
Paulo F. Oliveira
e7b02620d8
Simplify our approach
4 anni fa
Paulo F. Oliveira
dc7882a869
Revert to previous typespec while adapting calls to it
4 anni fa
Paulo F. Oliveira
61f7e4784f
Broaden expected typespec
4 anni fa
Paulo F. Oliveira
e80c3c874d
Simplify script
1. we now rely on $1's vendor.sh script (instead of duplicating it here)
2. we assume that hex_core is rebar3-compatible
3. we rely on TARGET_ERLANG_VERSION
4. we generate exactly what was previously generating, while targeting a specific Erlang/OTP vsn
4 anni fa
Paulo F. Oliveira
8604b0c3b1
Silence warnings we're OK with
4 anni fa
Paulo F. Oliveira
def5cc60df
Tentatively fix code based on static analysis results
4 anni fa
Paulo F. Oliveira
b44959ede4
Prevent warnings on seemingly dead code
4 anni fa
Paulo F. Oliveira
726711ab95
Prevent warnings on unused/unhandled code paths
4 anni fa
Paulo F. Oliveira
e28af4c536
Prevent warnings on messing with opaque elements
4 anni fa
Paulo F. Oliveira
44ffb45f17
Prevent warnings on wrongly -spec.(_)'ed types
(some are not "wrong" per se, but incomplete)
4 anni fa
Paulo F. Oliveira
4cf78dc103
Broaden our analysis scope
4 anni fa
Paulo F. Oliveira
b63f9cdc77
Target our analysis scope
4 anni fa
Paulo F. Oliveira
1ebde42996
Prevent warnings on unknown functions/types
4 anni fa
Fred Hebert
85f4a21a8b
Merge pull request #2423 from lrascao/feature/dockerfile
Add a docker recipe for rebar3 itself
4 anni fa
Fred Hebert
19308ee218
Merge pull request #2428 from galdor/master
fix logger reset for the shell plugin
4 anni fa