Fred Hebert
2c10bc9724
Merge pull request #1809 from goncalotomas/master
Create ERLANG_LIB_*_erl_interface environment variables only if erl_interface exists
pirms 6 gadiem
Gonçalo Tomás
a18e5e3c86
fix #1808
pirms 6 gadiem
Fred Hebert
e2e7f6542f
Merge pull request #1798 from juise/master
Introduce support of add and del operations under erl_opts directive
pirms 6 gadiem
Fred Hebert
1af7750eab
Merge pull request #1802 from ferd/upgrade-hooks
Add hooks to the upgrade command
pirms 6 gadiem
Fred Hebert
88907b3aca
Merge pull request #1803 from ferd/shell-start-clean
Add --start-clean flag to rebar3 shell
pirms 6 gadiem
Fred Hebert
3762e085e9
Add --start-clean flag to rebar3 shell
Allows override of apps specified in other on-disk options. Equivalent
to `--apps=""`
Fixes #1785
pirms 6 gadiem
Fred Hebert
06147af85b
Add hooks to the upgrade command
As requested in #1733
pirms 6 gadiem
Alexander Petrovsky
ea50c24f61
Introduce support of add and del operations under erl_opts directive
pirms 7 gadiem
Fred Hebert
b1b45ff926
Merge pull request #1797 from ferd/otp-21-rc2-support
Logger OTP-21-rc2 support
pirms 7 gadiem
Fred Hebert
246b4baaca
Logger OTP-21-rc2 support
Also small output fix in rebar3 shell
pirms 7 gadiem
Fred Hebert
8634faa516
Merge pull request #1795 from juise/juise-override_deps-test-fix
Fix override_deps test from suite rebar_compile_SUITE
pirms 7 gadiem
Alexander Petrovsky
e876b42a98
Fix override_deps test from suite rebar_compile_SUITE
pirms 7 gadiem
Fred Hebert
1979ce39c1
Merge pull request #1790 from ferd/autostart-shell-for-apps
Auto-boot main app in OTP app project templates
pirms 7 gadiem
Fred Hebert
5170556eae
Merge pull request #1789 from CrowdHailer/patch-1
Use maps for child spec example
pirms 7 gadiem
Peter Saxton
1b02e78fae
add tuple and comment for prior to OTP 18
pirms 7 gadiem
Fred Hebert
0a0539ae2a
Auto-boot main app in OTP app project templates
People are starting to expect these niceties! It's also easier to drop
the config when you know it's there than add it when you don't know it
exists.
pirms 7 gadiem
Peter Saxton
6bcbbf7526
Use maps for child spec example
pirms 7 gadiem
Fred Hebert
966ba72f90
return to git-based versioning
pirms 7 gadiem
Fred Hebert
33eb505573
bump to 3.5.3
pirms 7 gadiem
Fred Hebert
68cc3c55e7
Merge pull request #1783 from ferd/restore-templates
Restore default templates in bootstrapped rebar3
pirms 7 gadiem
Fred Hebert
4673a992de
Restore default templates in bootstrapped rebar3
When allowing Dialyzer to work internally, we moved a bunch of
config (such as no_debug_info) to the prod profile, but the escript
included files remained locked onto the default profile.
Because the bootstrapping phase now happened in a prod run, the priv/
dirs were never created for the default profile unless a prior run
existed, which hid the bug from us.
This patch overrides the path on the prod profile so that we don't rely
on accidental leftovers for things to work on a bootstrap phase as a
dev.
pirms 7 gadiem
Fred Hebert
2e0f28f07f
Merge pull request #1782 from velimir0xff/start-1-async-tread
start at least one async thread in async thread poll
pirms 7 gadiem
Grigory Starinkin
c5ae9f3fed
start at least one async thread in async thread pool
fixes an issue when shell is terminated with an error "Bus error: 10",
on attempt to run rebar shell with verbose logging
pirms 7 gadiem
Fred Hebert
59a99a704f
Merge pull request #1779 from ferd/compact-cth_readable
Officially drop Erlang R16B support—Logger support in cth_readable, and compact CT output
pirms 7 gadiem
Fred Hebert
f4f538a89b
Officially Deprecate R16B release
Required for the Logger interface to be supported since it relies on
maps
pirms 7 gadiem
Fred Hebert
254bb7be7c
Logger support in cth_readable; compact CT output
cth_readable 1.4.0 supports the new logger interface from OTP-21, which
likely breaks compatibility with R16 builds.
It also includes a new compact interface, displaying output such as:
===> Running Common Test suites...
%%% rebar_alias_SUITE: ......
%%% rebar_as_SUITE: ...........
%%% rebar_compile_SUITE:................................
............................
%%% rebar_compile_SUITE ==> test_name: SKIPPED
%%% rebar_compile_SUITE ==>
{tc_user_skip,"compile:env_compiler_options/0 available"}
..
%%% rebar_cover_SUITE: .............
%%% rebar_ct_SUITE: ....................................
Allowing to display more tests within less screen space.
This mode has been added to the ct_readable option under the name
'compact' (now supporting true | false | compact), and has been made
default for rebar3.
pirms 7 gadiem
Fred Hebert
d457f2af6b
Return to git-based versioning
pirms 7 gadiem
Fred Hebert
dcf717ac2e
Bump to 3.5.2
pirms 7 gadiem
Fred Hebert
33ba9486c0
Merge pull request #1775 from ferd/redisable-dbg-info
Re-disable debug_info on prod profile
pirms 7 gadiem
Fred Hebert
112833b8b3
Re-disable debug_info on prod profile
Had mistakenly only disabled it for deps.
pirms 7 gadiem
Fred Hebert
9755fc7405
Back to git-based versioning
pirms 7 gadiem
Fred Hebert
e4cffdb323
bump to 3.5.1
pirms 7 gadiem
Fred Hebert
048dfad1e8
Merge pull request #1773 from ferd/otp-21-stacktrace-compat
Work around OTP-21 deprecation of get_stacktrace() and other incompatible changes
pirms 7 gadiem
Fred Hebert
e321ca6498
Fix handling of loosely formatted OTP_VERSION file
see https://github.com/erlang/rebar3/issues/1774
pirms 7 gadiem
Fred Hebert
50dfdfddc2
Confirm lack of regressions on new logger in shell
pirms 7 gadiem
Fred Hebert
5f9b4293bc
Work around OTP-21 deprecation of get_stacktrace()
Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783
pirms 7 gadiem
Fred Hebert
fb87ed5762
Update erlware_commons for stacktraces support
pirms 7 gadiem
Fred Hebert
a908284b11
Merge pull request #1770 from ferd/danikp-feature_long_src_paths
ensure dest exists before copying to it and fix src_dirs symlinking
pirms 7 gadiem
Fred Hebert
0af9aba244
Fix symlink/copying logic in compiler for priv
Priv and include dirs need the virtual symlink in order to preserve hook
functionality in some edge cases.
pirms 7 gadiem
Fred Hebert
19d20c548e
Merge branch 'danikp-feature_long_src_paths' of github.com:ferd/rebar3 into danikp-feature_long_src_paths
pirms 7 gadiem
Fred Hebert
775261dd0b
Prevent copying or symlink non-existing src_dirs
This would cause crashes on linux and force people to have a src_dirs
config that is strictly matching what is on the file system rather than
acting as a specification of those that are valid.
To compare, if lib_dirs worked the same, then any repo that did not both
have apps/ and lib/ would crash, as the spec mentions both options as
valid.
pirms 7 gadiem
Fred Hebert
77058ac5b7
Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 into danikp-feature_long_src_paths
pirms 7 gadiem
Fred Hebert
81bd21b23a
Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 into danikp-feature_long_src_paths
pirms 7 gadiem
Fred Hebert
d3efb4708c
Merge pull request #1769 from ferd/warn-on-read-only-cachedir
Display warnings when cache dirs are read-only
pirms 7 gadiem
Fred Hebert
df9c769afc
Display warnings when cache dirs are read-only
This should provide more help to users directly and avoid having them go
through opening tickets for help.
Fixes #1767
pirms 7 gadiem
Fred Hebert
7eca59670f
Merge pull request #1765 from ferd/clear-all-dialyzer-errors
Clear all dialyzer errors
pirms 7 gadiem
Dmitry
c22fde17a7
fix & test
pirms 7 gadiem
Fred Hebert
288d0c7484
Clear all dialyzer errors
- this is done by adding a HiPE dependency
- also in this: adding a test for directories, and fixing some indent
pirms 7 gadiem
Fred Hebert
35fb67523d
Merge pull request #1764 from ferd/bump-cth_readable
Bump cth_readable to 1.3.4: restore eunit macro formatter
pirms 7 gadiem
Fred Hebert
d5a5bf0609
Bump cth_readable to 1.3.4: restor eunit format
pirms 7 gadiem