Fred Hebert
041b9c4241
Merge pull request #2447 from jesperes/jesperes/use-count-option-when-counting-refs
Use "git rev-list --count" to count refs
il y a 4 ans
Jesper Eskilson
38aec3fb9d
Use rebar_string:trim/1 for OTP 19 compatibility
il y a 4 ans
Fred Hebert
89e10c6f55
Merge pull request #2459 from ferd/otp24-preparedness
OTP-24 Readiness
il y a 4 ans
Fred Hebert
ad255a986e
bump parse_trans version
il y a 4 ans
Fred Hebert
7c98639345
Merge branch 'michaelklishin-mk-uri-string-in-bootstrap' into otp24-preparedness
il y a 4 ans
Fred Hebert
c9d8e14bcb
Merge branch 'mk-uri-string-in-bootstrap' of https://github.com/michaelklishin/rebar3 into michaelklishin-mk-uri-string-in-bootstrap
il y a 4 ans
Fred Hebert
575890f4c2
Merge pull request #2458 from TheGeorge/cth_readable_config
fix injection of cth_readable to allow for hook configuration
il y a 4 ans
Andreas Löscher
c71ffd4777
fix injection of cth_readable to allow for hook configuration
il y a 4 ans
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.
il y a 4 ans
Jesper Eskilson
5d3a5a100a
Use "git rev-list --count" to count refs
By using the --count option to "git rev-list", we avoid having to
actually produce the list of commits, splitting it, and counting the
lines.
il y a 4 ans
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.
il y a 4 ans
Michael Klishin
1f9b77dae0
rabar_uri: backport percent_decode/1 from OTP 23.2
and use it to avoid a warning in ./bootstrap.
il y a 4 ans
Michael Klishin
cdc35ea7ac
Erlang/OTP 25 compatibility for ./bootstrap
Replaces (deprecated in OTP 25) http_uri calls with uri_string.
il y a 4 ans
Fred Hebert
3ef4f08cea
Merge pull request #2449 from NAR/fix_link_to_plugins
Fixed link to list of plugins.
il y a 4 ans
Attila Rajmund Nohl
54f9d2cf23
Use link from ferd.
il y a 4 ans
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.
il y a 4 ans
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
il y a 4 ans
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/...
il y a 4 ans
Fred Hebert
2b0022e4c8
Merge pull request #2441 from ferd/bump-certifi
use newest certifi release
il y a 4 ans
Fred Hebert
0932e2051e
use newest certifi release
il y a 4 ans
Tristan Sloughter
889b4a71ad
back to git versioning in app file
il y a 4 ans
Tristan Sloughter
01cdb07661
Bump to 3.14.3
il y a 4 ans
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
il y a 4 ans
Tristan Sloughter
319d3cfe05
bump relx to v4.2.0 and rebar3 version to 3.14.3
il y a 4 ans
Fred Hebert
ef6476dd1d
Merge pull request #2435 from kivra/add-support-for-relx-config-file
Add support for relx config file
il y a 4 ans
Hakan Nilsson
7884a4b109
Use root dir when loading relx.config
il y a 4 ans
Hakan Nilsson
96d61cf5f8
Improved logging
il y a 4 ans
Hakan Nilsson
2ae71b2b88
Add tests for relx config file
il y a 4 ans
Hakan Nilsson
424fdcb8fa
Add support for reading relx config file
il y a 4 ans
Tristan Sloughter
757848804a
Merge pull request #2432 from tsloughter/tags-to-releases
create release and upload escript for new tags
il y a 4 ans
Tristan Sloughter
704e21b144
create release and upload escript for new tags
il y a 4 ans
Fred Hebert
38c5048dad
go back to git-based versioning
il y a 4 ans
Fred Hebert
07fdbf5e2a
Bump to 3.14.2
il y a 4 ans
Tristan Sloughter
e8b5e5be70
Merge pull request #2352 from tsloughter/dialyzer-rel-path
output relative paths in dialyzer provider
il y a 4 ans
Tristan Sloughter
e20930a1ef
output relative paths in dialyzer provider
il y a 4 ans
Fred Hebert
d23b28fea8
Merge pull request #2431 from tsloughter/bump-relx-4.1.0
bump relx to v4.1.0
il y a 4 ans
Tristan Sloughter
7969f82e0e
bump relx to v4.1.0
il y a 4 ans
Fred Hebert
8adc139818
Merge pull request #2412 from paulo-ferraz-oliveira/fix/dialyzer_warnings_over_otp_23
Prevent dialyzer warnings on OTP 23
il y a 4 ans
Paulo F. Oliveira
8390ef348c
Adapt to hex_core's deprecation warnings (II)
il y a 4 ans
Paulo F. Oliveira
d472b128ab
Remove unexpected field from hex_core config. map
il y a 4 ans
Paulo F. Oliveira
e871da9e85
Adapt to hex_core's deprecation warnings
We adapt .gitignore to the new vendored folder, also
il y a 4 ans
Paulo F. Oliveira
cff6bbdff8
Re-vendor hex_core to 0.7.1
il y a 4 ans
Paulo F. Oliveira
e7b02620d8
Simplify our approach
il y a 4 ans
Paulo F. Oliveira
dc7882a869
Revert to previous typespec while adapting calls to it
il y a 4 ans
Paulo F. Oliveira
61f7e4784f
Broaden expected typespec
il y a 4 ans
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
il y a 4 ans
Paulo F. Oliveira
8604b0c3b1
Silence warnings we're OK with
il y a 4 ans
Paulo F. Oliveira
def5cc60df
Tentatively fix code based on static analysis results
il y a 4 ans
Paulo F. Oliveira
b44959ede4
Prevent warnings on seemingly dead code
il y a 4 ans
Paulo F. Oliveira
726711ab95
Prevent warnings on unused/unhandled code paths
il y a 4 ans