Paulo F. Oliveira
c9d14e8dd0
Make existing `rebar.config` option more visible and easier to find
Especially for those that rely on the sample rebar.config from the get-go
преди 4 години
Pablo Costas
a5fc48bc52
Change xref paths to only those of runtime deps
This commit changes mainly the `rebar_paths` module by adding a
new `runtime` target. When using that target, `rebar_paths:get_apps/2`
will, for each project app, find all their `applications` and
`included_applicactions` and filter those that could be found
in rebar3's state.
преди 4 години
Fred Hebert
8bba1c311c
Merge pull request #2353 from pablocostass/2349_fix_empty_lock_regression
Fix lock file not being generated when no deps are present in the config
преди 4 години
Pablo Costas
e65ef19194
Fix lock file not being generated when no deps are present in the config
преди 4 години
Tristan Sloughter
d447e8b948
Merge pull request #2347 from paulo-ferraz-oliveira/fix/rebar3_xref_undefined_functions
Prevent crash when function deemed undefined has no local context
преди 4 години
Paulo F. Oliveira
f12e84a441
Prevent crash when function deemed undefined has no local context
преди 4 години
Fred Hebert
3803f10b27
Merge pull request #2345 from tsloughter/s3-cp-release
use 'aws cp' when copying escript to s3
преди 4 години
Tristan Sloughter
d9a7df73c0
use 'aws cp' when copying escript to s3
преди 4 години
Tristan Sloughter
8c61085376
revert to git version in .app.src
преди 4 години
Tristan Sloughter
7b90fafef2
Merge pull request #2340 from tsloughter/bump-3.14.1
Bump 3.14.1
преди 4 години
Fred Hebert
7e585a3015
Merge pull request #2344 from tsloughter/git-lock-vsn
git lock: abort if version is not equal to or greater than 1.8.5
преди 4 години
Tristan Sloughter
d0ca3cb1da
Merge pull request #2342 from tsloughter/git-subdir-path
require the app name as the last part of git_subdir path
преди 4 години
Tristan Sloughter
9ea61ec81c
git lock: abort if version is not equal to or greater than 1.8.5
преди 4 години
Tristan Sloughter
b14fa55c77
require the app name as the last part of git_subdir path
преди 4 години
Tristan Sloughter
f0333b9a3b
upgrade relx to 4.0.2
преди 4 години
Tristan Sloughter
6c38f4aba0
remove broken github upload release asset job
преди 4 години
Tristan Sloughter
e405787060
bump version to 3.14.1
преди 4 години
Fred Hebert
7224180d80
Merge pull request #2339 from ferd/fix-recursive-behaviour-lookup-regression
Fix Recursive Behaviour Lookup Regression
преди 4 години
Fred Hebert
37396c7f8b
Fix Recursive Behaviour Lookup Regression
This was due to a subtle mistake in the new code in
https://github.com/erlang/rebar3/pull/2322 which optimized the search
behaviour of files not found by EPP. The patch mistakenly always kept
the top-level src/ directory for an app even if it did a lookup in
recursive ones.
This patch tracks and maintains the proper subdirectory hierarchy. To
keep performance adequate, the lists:keyfind/3 function is used, which
is also now a NIF to the same extent as lists:member/2; manual lookups
would likely end up reducing performance, particularly in deep
hierarchies.
A test case has been added to track the regression.
Reported by @elbrujohalcon
преди 4 години
Tristan Sloughter
a6809120ac
revert to git version in .app.src
преди 4 години
Tristan Sloughter
992d8ba833
Merge pull request #2337 from tsloughter/4.0.0
bump version to 3.14.0
преди 4 години
Tristan Sloughter
86f021a942
bump version to 3.14.0
преди 4 години
Tristan Sloughter
390421e1c3
Merge pull request #2331 from ferd/fix-make-tpl
Remove erl_interface from makefile template
преди 4 години
Tristan Sloughter
b2293687ca
Merge pull request #2336 from tsloughter/relx-4.0.0
upgrade relx to 4.0.0
преди 4 години
Tristan Sloughter
763a948d6b
upgrade relx to 4.0.0
преди 4 години
Tristan Sloughter
d7ee6ffe25
Merge pull request #2333 from tsloughter/relx-upgrade-xref
upgrades relx which now checks for undefined functions of project apps
преди 4 години
Tristan Sloughter
f6422f991f
Merge branch 'master' into relx-upgrade-xref
преди 4 години
Tristan Sloughter
68dc4d271b
Merge pull request #2335 from pablocostass/2334_improve_checkout_deps_warnings
Improve warnings about checkout dependencies when locking and upgrading
преди 4 години
Pablo Costas
aecbdcdd44
Add rebar_state:all_checkouts_deps/1 and apply suggestions
преди 4 години
Pablo Costas
c9fa7339bf
Improve warnings about checkout dependencies when locking and upgrading
преди 4 години
Tristan Sloughter
53f9a415be
upgrade relx: add AppType to rlx_app_info:new arguments
преди 4 години
Tristan Sloughter
e903bb9acd
add TODO notes about improving checkouts related errors
преди 4 години
Tristan Sloughter
b7b33fbe8e
add comments to release section of rebar.config template
преди 4 години
Fred Hebert
72895d6387
Remove erl_interface from makefile template
fixes https://github.com/erlang/rebar3/issues/2323
преди 4 години
Fred Hebert
7ccbc0bd86
Merge pull request #2327 from g-andrade/less-incomplete-credits
Add missing credits
преди 4 години
Guilherme Andrade
e03c8f908a
Aggrandize Luís
преди 4 години
Fred Hebert
121965d8b7
Merge pull request #2326 from ferd/fh/update-all-deps
bump dependencies prior to next release
преди 4 години
Fred Hebert
ecde03d730
bump dependencies prior to next release
преди 4 години
Tristan Sloughter
000ac5339a
Merge pull request #2309 from pablocostass/2307_local_commands_delete_applications
Extract rebar3 libs in a version dependent directory when using local commands
преди 4 години
Fred Hebert
8876d0c4e2
Merge pull request #2325 from paulo-ferraz-oliveira/feature/rebar_config_sample_shell_script_file
Feature shell.script_file in rebar.config.sample
преди 4 години
Paulo F. Oliveira
b751a02926
Approach the "Principle of Least Astonishment"
преди 4 години
Fred Hebert
0952780e98
Merge pull request #2322 from max-au/max-au/cache-epp-deps
rebar3 Erlang compiler: performance improvements
преди 4 години
Maxim Fedorov
8fca72006a
rebar_compiler_dag: store/load dag using internal knowledge
Saves a few seconds when loading DAG with thousands of files.
Unfortunately, uses internal knowledge about digraph implementation.
преди 4 години
Maxim Fedorov
31d8d6c34a
rebar_compiler_dag: make EPP analysis concurrent
Instead of sequentially running *.erl (or any other) files
one-by-one, spawn a separate process, in a scatter-gather way,
then wait for all processes to complete.
Combined with the previous change it introduces a significant
speed-up for large repositories, up to a number of cores that
the host has.
преди 4 години
Maxim Fedorov
ccfc1826a3
rebar_compiler_epp: use cached results for behaviour/parse_transform
This commit makes rebar_compiler_erl to start a gen_server that acts
as a filesystem cache, avoiding re-scanning it over and over.
преди 4 години
Fred Hebert
a5bfc23f4b
Merge pull request #2321 from pablocostass/fix_keep_logs_pattern_match
Add extra pattern matching clause to not crash handling with keep_logs
преди 4 години
Pablo Costas
01a1ce8f05
Add extra pattern matching clause to not crash handling with keep_logs
преди 4 години
Fred Hebert
dab793821f
Merge pull request #2319 from pablocostass/2318_fix_ct_symlink_with_logdir
Fix symlink to last CT logs directory with logdir option present
преди 4 години
Fred Hebert
c17b7b01cc
Merge pull request #2320 from pablocostass/fix_keep_logs_crash
Fix keep_logs option crashing when having more than N directories
преди 4 години
Pablo Costas
47a6b5981d
Fix keep_logs option crashing when having more than N directories
rebar3 would crash if the option `{keep_logs, N}` was present and
there were more than N run directories in the log dir, so if the
option is found we keep the N-1 newest directories and delete the
rest.
While we are at it, as this should fix the crash, let's limit the
number of logs runs to keep from test runs in rebar3 to 5.
преди 4 години