Tristan Sloughter
7b90fafef2
Merge pull request #2340 from tsloughter/bump-3.14.1
Bump 3.14.1
vor 4 Jahren
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
vor 4 Jahren
Tristan Sloughter
d0ca3cb1da
Merge pull request #2342 from tsloughter/git-subdir-path
require the app name as the last part of git_subdir path
vor 4 Jahren
Tristan Sloughter
9ea61ec81c
git lock: abort if version is not equal to or greater than 1.8.5
vor 4 Jahren
Tristan Sloughter
b14fa55c77
require the app name as the last part of git_subdir path
vor 4 Jahren
Tristan Sloughter
f0333b9a3b
upgrade relx to 4.0.2
vor 4 Jahren
Tristan Sloughter
6c38f4aba0
remove broken github upload release asset job
vor 4 Jahren
Tristan Sloughter
e405787060
bump version to 3.14.1
vor 4 Jahren
Fred Hebert
7224180d80
Merge pull request #2339 from ferd/fix-recursive-behaviour-lookup-regression
Fix Recursive Behaviour Lookup Regression
vor 4 Jahren
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
vor 4 Jahren
Tristan Sloughter
a6809120ac
revert to git version in .app.src
vor 4 Jahren
Tristan Sloughter
992d8ba833
Merge pull request #2337 from tsloughter/4.0.0
bump version to 3.14.0
vor 4 Jahren
Tristan Sloughter
86f021a942
bump version to 3.14.0
vor 4 Jahren
Tristan Sloughter
390421e1c3
Merge pull request #2331 from ferd/fix-make-tpl
Remove erl_interface from makefile template
vor 4 Jahren
Tristan Sloughter
b2293687ca
Merge pull request #2336 from tsloughter/relx-4.0.0
upgrade relx to 4.0.0
vor 4 Jahren
Tristan Sloughter
763a948d6b
upgrade relx to 4.0.0
vor 4 Jahren
Tristan Sloughter
d7ee6ffe25
Merge pull request #2333 from tsloughter/relx-upgrade-xref
upgrades relx which now checks for undefined functions of project apps
vor 4 Jahren
Tristan Sloughter
f6422f991f
Merge branch 'master' into relx-upgrade-xref
vor 4 Jahren
Tristan Sloughter
68dc4d271b
Merge pull request #2335 from pablocostass/2334_improve_checkout_deps_warnings
Improve warnings about checkout dependencies when locking and upgrading
vor 4 Jahren
Pablo Costas
aecbdcdd44
Add rebar_state:all_checkouts_deps/1 and apply suggestions
vor 4 Jahren
Pablo Costas
c9fa7339bf
Improve warnings about checkout dependencies when locking and upgrading
vor 4 Jahren
Tristan Sloughter
53f9a415be
upgrade relx: add AppType to rlx_app_info:new arguments
vor 4 Jahren
Tristan Sloughter
e903bb9acd
add TODO notes about improving checkouts related errors
vor 4 Jahren
Tristan Sloughter
b7b33fbe8e
add comments to release section of rebar.config template
vor 4 Jahren
Fred Hebert
72895d6387
Remove erl_interface from makefile template
fixes https://github.com/erlang/rebar3/issues/2323
vor 4 Jahren
Fred Hebert
7ccbc0bd86
Merge pull request #2327 from g-andrade/less-incomplete-credits
Add missing credits
vor 4 Jahren
Guilherme Andrade
e03c8f908a
Aggrandize Luís
vor 4 Jahren
Fred Hebert
121965d8b7
Merge pull request #2326 from ferd/fh/update-all-deps
bump dependencies prior to next release
vor 4 Jahren
Fred Hebert
ecde03d730
bump dependencies prior to next release
vor 4 Jahren
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
vor 4 Jahren
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
vor 4 Jahren
Paulo F. Oliveira
b751a02926
Approach the "Principle of Least Astonishment"
vor 4 Jahren
Fred Hebert
0952780e98
Merge pull request #2322 from max-au/max-au/cache-epp-deps
rebar3 Erlang compiler: performance improvements
vor 4 Jahren
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.
vor 4 Jahren
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.
vor 4 Jahren
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.
vor 4 Jahren
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
vor 4 Jahren
Pablo Costas
01a1ce8f05
Add extra pattern matching clause to not crash handling with keep_logs
vor 4 Jahren
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
vor 4 Jahren
Fred Hebert
c17b7b01cc
Merge pull request #2320 from pablocostass/fix_keep_logs_crash
Fix keep_logs option crashing when having more than N directories
vor 4 Jahren
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.
vor 4 Jahren
Pablo Costas
2348367cc4
Fix symlink to last CT logs directory with logdir option present
vor 4 Jahren
Fred Hebert
60652e6f5d
Merge pull request #2312 from niamtokik/from-file-with-template
Add templating feature for "from" file/template
vor 4 Jahren
niamtokik
9f03c34af9
Adding a way to template files for "From" file.
Modify also the load_file function by adding a
way to check an error, and abort the program
smoothly.
vor 4 Jahren
Fred Hebert
d92809aa5f
Merge pull request #2313 from ferd/fix-recursive-dirs
Fix directory recursion in compiler
vor 4 Jahren
Tristan Sloughter
8436fbad63
Merge pull request #2316 from tsloughter/shell-app-error
shell: provide error message when applications list is bad
vor 4 Jahren
Tristan Sloughter
c745d1bc1f
Update src/rebar_plugins.erl
Co-authored-by: Fred Hebert <mononcqc@ferd.ca>
vor 4 Jahren
Tristan Sloughter
4b7e364f53
Merge pull request #2315 from tsloughter/fix-plugins-upgrade
prv_plugins_upgrade: fix compilation of upgraded plugins
vor 4 Jahren
Tristan Sloughter
2de0134265
shell: provide error message when applications list is bad
vor 4 Jahren
Tristan Sloughter
275f2981aa
prv_plugins_upgrade: fix compilation of upgraded plugins
this fixes the issue where using 'rebar3 plugins upgrade P'
would result in a plugin's .app file having an empty
modules list. The code this replaces hadn't been touched
since rebar3 3.0.0-beta.3 and a lot of improvements have
gone into dep handling and the compiler since then. This
change should take advantage of those changes.
vor 4 Jahren