Fred Hebert
88907b3aca
Merge pull request #1803 from ferd/shell-start-clean
Add --start-clean flag to rebar3 shell
7 jaren geleden
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
7 jaren geleden
Fred Hebert
b1b45ff926
Merge pull request #1797 from ferd/otp-21-rc2-support
Logger OTP-21-rc2 support
7 jaren geleden
Fred Hebert
246b4baaca
Logger OTP-21-rc2 support
Also small output fix in rebar3 shell
7 jaren geleden
Fred Hebert
8634faa516
Merge pull request #1795 from juise/juise-override_deps-test-fix
Fix override_deps test from suite rebar_compile_SUITE
7 jaren geleden
Alexander Petrovsky
e876b42a98
Fix override_deps test from suite rebar_compile_SUITE
7 jaren geleden
Fred Hebert
1979ce39c1
Merge pull request #1790 from ferd/autostart-shell-for-apps
Auto-boot main app in OTP app project templates
7 jaren geleden
Fred Hebert
5170556eae
Merge pull request #1789 from CrowdHailer/patch-1
Use maps for child spec example
7 jaren geleden
Peter Saxton
1b02e78fae
add tuple and comment for prior to OTP 18
7 jaren geleden
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.
7 jaren geleden
Peter Saxton
6bcbbf7526
Use maps for child spec example
7 jaren geleden
Fred Hebert
966ba72f90
return to git-based versioning
7 jaren geleden
Fred Hebert
33eb505573
bump to 3.5.3
7 jaren geleden
Fred Hebert
68cc3c55e7
Merge pull request #1783 from ferd/restore-templates
Restore default templates in bootstrapped rebar3
7 jaren geleden
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.
7 jaren geleden
Fred Hebert
2e0f28f07f
Merge pull request #1782 from velimir0xff/start-1-async-tread
start at least one async thread in async thread poll
7 jaren geleden
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
7 jaren geleden
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
7 jaren geleden
Fred Hebert
f4f538a89b
Officially Deprecate R16B release
Required for the Logger interface to be supported since it relies on
maps
7 jaren geleden
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.
7 jaren geleden
Fred Hebert
d457f2af6b
Return to git-based versioning
7 jaren geleden
Fred Hebert
dcf717ac2e
Bump to 3.5.2
7 jaren geleden
Fred Hebert
33ba9486c0
Merge pull request #1775 from ferd/redisable-dbg-info
Re-disable debug_info on prod profile
7 jaren geleden
Fred Hebert
112833b8b3
Re-disable debug_info on prod profile
Had mistakenly only disabled it for deps.
7 jaren geleden
Fred Hebert
9755fc7405
Back to git-based versioning
7 jaren geleden
Fred Hebert
e4cffdb323
bump to 3.5.1
7 jaren geleden
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
7 jaren geleden
Fred Hebert
e321ca6498
Fix handling of loosely formatted OTP_VERSION file
see https://github.com/erlang/rebar3/issues/1774
7 jaren geleden
Fred Hebert
50dfdfddc2
Confirm lack of regressions on new logger in shell
7 jaren geleden
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
7 jaren geleden
Fred Hebert
fb87ed5762
Update erlware_commons for stacktraces support
7 jaren geleden
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
7 jaren geleden
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.
7 jaren geleden
Fred Hebert
19d20c548e
Merge branch 'danikp-feature_long_src_paths' of github.com:ferd/rebar3 into danikp-feature_long_src_paths
7 jaren geleden
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.
7 jaren geleden
Fred Hebert
77058ac5b7
Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 into danikp-feature_long_src_paths
7 jaren geleden
Fred Hebert
81bd21b23a
Merge branch 'feature_long_src_paths' of https://github.com/danikp/rebar3 into danikp-feature_long_src_paths
7 jaren geleden
Fred Hebert
d3efb4708c
Merge pull request #1769 from ferd/warn-on-read-only-cachedir
Display warnings when cache dirs are read-only
7 jaren geleden
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
7 jaren geleden
Fred Hebert
7eca59670f
Merge pull request #1765 from ferd/clear-all-dialyzer-errors
Clear all dialyzer errors
7 jaren geleden
Dmitry
c22fde17a7
fix & test
7 jaren geleden
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
7 jaren geleden
Fred Hebert
35fb67523d
Merge pull request #1764 from ferd/bump-cth_readable
Bump cth_readable to 1.3.4: restore eunit macro formatter
7 jaren geleden
Fred Hebert
d5a5bf0609
Bump cth_readable to 1.3.4: restor eunit format
7 jaren geleden
Dmitry
b3f99aa42f
ensure Dest exists before copying to it
7 jaren geleden
Fred Hebert
c50bb13a69
Merge pull request #1762 from ferd/reload-shell-apps-for-cfg
Reload apps running in shell with new config
7 jaren geleden
Fred Hebert
dc6207f5b5
Merge pull request #1761 from ferd/fix-local-upgrade-etag
Fix local upgrade etag handling
7 jaren geleden
Fred Hebert
b7d7c0eb8b
Fix local upgrade etag handling
Since packages store etags on disk directly, the local install feature
can no longer depend on this; we instead port the etag feature back to
local providers only.
7 jaren geleden
Fred Hebert
8e165d0cc8
Reload apps running in shell with new config
This patch makes it so that whenever the rebar3 shell has a new
configuration for an application that is already running and would be
restarted (without risking the stability of the node or functionality of
rebar_agent), we stop and restart the app.
7 jaren geleden
Fred Hebert
d4c529a470
Merge pull request #1759 from ferd/fix-erlopts-test-profile
Fix precedence rules of erl_opts for test profile
7 jaren geleden