From 254bb7be7c91aed2799061094c571b041038b5fb Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sat, 5 May 2018 10:39:25 -0400 Subject: 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. --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 4bd205b..d0b2e44 100644 --- a/rebar.config +++ b/rebar.config @@ -9,7 +9,7 @@ {bbmustache, "1.3.0"}, {relx, "3.24.4"}, {cf, "0.2.2"}, - {cth_readable, "1.3.4"}, + {cth_readable, "1.4.0"}, {eunit_formatters, "0.5.0"}]}. {post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", -- cgit v1.1 From c5ae9f3fed035d2ef8f072da53647c212f92db8b Mon Sep 17 00:00:00 2001 From: Grigory Starinkin Date: Tue, 8 May 2018 21:42:43 +0100 Subject: 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 --- rebar.config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index d0b2e44..5d57c04 100644 --- a/rebar.config +++ b/rebar.config @@ -22,7 +22,7 @@ ]}. {escript_name, rebar3}. -{escript_emu_args, "%%! +sbtu +A0\n"}. +{escript_emu_args, "%%! +sbtu +A1\n"}. %% escript_incl_extra is for internal rebar-private use only. %% Do not use outside rebar. Config interface is not stable. {escript_incl_extra, [{"relx/priv/templates/*", "_build/default/lib/"}, @@ -78,4 +78,3 @@ {add, relx, [{erl_opts, [no_debug_info]}]}]} ]} ]}. - -- cgit v1.1 From 4673a992deeea9c676f506c81ff50df08fcd2615 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 9 May 2018 07:15:35 -0400 Subject: 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. --- rebar.config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 5d57c04..0ce4fb3 100644 --- a/rebar.config +++ b/rebar.config @@ -54,6 +54,10 @@ {bootstrap, []}, {prod, [ + {escript_incl_extra, [ + {"relx/priv/templates/*", "_build/prod/lib/"}, + {"rebar/priv/templates/*", "_build/prod/lib/"} + ]}, {erl_opts, [no_debug_info]}, {overrides, [ {override, erlware_commons, [ -- cgit v1.1 From 246b4baaca6996810e455085bb75a33a044efa6a Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 30 May 2018 19:50:28 -0400 Subject: Logger OTP-21-rc2 support Also small output fix in rebar3 shell --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 0ce4fb3..319a837 100644 --- a/rebar.config +++ b/rebar.config @@ -9,7 +9,7 @@ {bbmustache, "1.3.0"}, {relx, "3.24.4"}, {cf, "0.2.2"}, - {cth_readable, "1.4.0"}, + {cth_readable, "1.4.1"}, {eunit_formatters, "0.5.0"}]}. {post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", -- cgit v1.1 From 6527c8925f05e35d7c444d8065d68b9ed45d6720 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 12 Jun 2018 16:42:36 -0600 Subject: upgrade bbmustache to 1.5.0 --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 319a837..66ecc70 100644 --- a/rebar.config +++ b/rebar.config @@ -6,7 +6,7 @@ {certifi, "2.0.0"}, {providers, "1.7.0"}, {getopt, "1.0.1"}, - {bbmustache, "1.3.0"}, + {bbmustache, "1.5.0"}, {relx, "3.24.4"}, {cf, "0.2.2"}, {cth_readable, "1.4.1"}, -- cgit v1.1 From e195e82442f74a623d13445468888bbda51b6a73 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 12 Jun 2018 19:23:02 -0600 Subject: upgrade certifi to 2.3.1 --- rebar.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 66ecc70..a194253 100644 --- a/rebar.config +++ b/rebar.config @@ -3,7 +3,8 @@ {deps, [{erlware_commons, "1.1.0"}, {ssl_verify_fun, "1.1.3"}, - {certifi, "2.0.0"}, + {parse_trans, "3.2.0"}, + {certifi, "2.3.1"}, {providers, "1.7.0"}, {getopt, "1.0.1"}, {bbmustache, "1.5.0"}, -- cgit v1.1 From 458b1e11d52ad3c5129b421094a9eb574031eb0e Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 19 Jun 2018 08:24:01 -0600 Subject: upgrade relx to 3.25.0 --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index a194253..f057abb 100644 --- a/rebar.config +++ b/rebar.config @@ -8,7 +8,7 @@ {providers, "1.7.0"}, {getopt, "1.0.1"}, {bbmustache, "1.5.0"}, - {relx, "3.24.4"}, + {relx, "3.25.0"}, {cf, "0.2.2"}, {cth_readable, "1.4.1"}, {eunit_formatters, "0.5.0"}]}. -- cgit v1.1 From 56979aac96bb557e58fd10de3be7c3409b0ca0c6 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 19 Jun 2018 12:07:44 -0600 Subject: Revert "upgrade certifi to 2.3.1" --- rebar.config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index f057abb..213aa82 100644 --- a/rebar.config +++ b/rebar.config @@ -3,8 +3,7 @@ {deps, [{erlware_commons, "1.1.0"}, {ssl_verify_fun, "1.1.3"}, - {parse_trans, "3.2.0"}, - {certifi, "2.3.1"}, + {certifi, "2.0.0"}, {providers, "1.7.0"}, {getopt, "1.0.1"}, {bbmustache, "1.5.0"}, -- cgit v1.1 From bae3d7d03cd633d8e3cdb8ff26b4535a946cdc0f Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 19 Jun 2018 16:08:41 -0400 Subject: Bump cth_readable for OTP-21 compat --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 213aa82..5bd4fab 100644 --- a/rebar.config +++ b/rebar.config @@ -9,7 +9,7 @@ {bbmustache, "1.5.0"}, {relx, "3.25.0"}, {cf, "0.2.2"}, - {cth_readable, "1.4.1"}, + {cth_readable, "1.4.2"}, {eunit_formatters, "0.5.0"}]}. {post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", -- cgit v1.1