From fb67eb0ee95b2f03dc6c51535ab4b18ea70d315f Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Mon, 4 Dec 2017 09:34:52 -0500 Subject: Fix Plugin path handling (again!) The path reloading of plugins had been fixed properly, but the problem is that the paths it was using to re-load only considered the current compile step, rather than the overall state of plugins. As such, the reloaded paths after plugin compilation only reloaded the *latest* plugin and not the other ones. This fix forces the addition of all built plugin paths to the code paths after a plugin compile job is run. This ensures that the path is clean for initial plugin deps (only add those that are required), and is re-made total after the fact (add all the plugins possible). This commit also includes a system tests suite that can be run optionally; the problem with this plugin mechanism was impossible to find through mocked dependencies, and a working counterexample was provided to us. The systest suite can be run against real projects without conflict to make sure no regressions are hit. --- systest/all_SUITE.erl | 75 ++++++++++++++++++++++ .../all_SUITE_data/resource_plugins/rebar.config | 23 +++++++ 2 files changed, 98 insertions(+) create mode 100644 systest/all_SUITE.erl create mode 100644 systest/all_SUITE_data/resource_plugins/rebar.config (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl new file mode 100644 index 0000000..523e739 --- /dev/null +++ b/systest/all_SUITE.erl @@ -0,0 +1,75 @@ +-module(all_SUITE). +-include_lib("common_test/include/ct.hrl"). +-include_lib("eunit/include/eunit.hrl"). +-compile([export_all, nowarn_export_all]). + +init_per_suite(Config) -> + %% TODO: figure out how to use a local rebar3 copy? + %% Ensure global rebar3 has the same version as current one! + {ok, Vsn} = application:get_key(rebar, vsn), + {ok, ExecVsn} = rebar3("version", [{path, "."} | Config]), + case rebar_string:lexemes(ExecVsn, " ") of + ["rebar", Vsn | _] -> + %% Copy all base cases to priv_dir + rebar_file_utils:cp_r([?config(data_dir, Config)], + ?config(priv_dir, Config)), + Config; + _ -> + {skip, "expected current version "++Vsn++" in path " + "and found '"++ ExecVsn ++ "'"} + end. + +end_per_suite(Config) -> + Config. + +init_per_testcase(Name, Config) -> + set_name_config(Name, Config). + +end_per_testcase(_Name, Config) -> + Config. + +all() -> + [noop, resource_plugins]. + +%groups() -> +% [{plugins, [shuffle], []}, +% {deps, [shuffle], []}]. + +%%%%%%%%%%%%%%%%%% +%%% TEST CASES %%% +%%%%%%%%%%%%%%%%%% + +noop() -> + [{doc, "just a sanity check on the handling of the test suite init/end"}]. +noop(_Config) -> + true. + +resource_plugins() -> + [{doc, "Issue #1673: " + "Ensure that deps using resource plugins with semver compile."}]. +resource_plugins(Config) -> + %% When the environment handling is wrong, the run fails violently. + {ok, Output} = rebar3("compile", Config), + ct:pal("Rebar3 Output:~n~s",[Output]), + ok. + +%%%%%%%%%%%%%%% +%%% Helpers %%% +%%%%%%%%%%%%%%% +set_name_config(Atom, Config) -> + [{path, + filename:join([?config(priv_dir, Config), + atom_to_list(?MODULE)++"_data", atom_to_list(Atom)])} + | Config]. + +rebar3(Args, Config) -> + Exec = case os:type() of + {win32, _} -> + "rebar3.cmd"; + _ -> + "rebar3" + end, + Cmd = Exec ++ " " ++ Args, + Opts = [{cd, ?config(path, Config)}, return_on_error, use_stdout], + ct:pal("Calling rebar3 ~s with options ~p", [Cmd, Opts]), + rebar_utils:sh(Cmd, Opts). diff --git a/systest/all_SUITE_data/resource_plugins/rebar.config b/systest/all_SUITE_data/resource_plugins/rebar.config new file mode 100644 index 0000000..7baec1f --- /dev/null +++ b/systest/all_SUITE_data/resource_plugins/rebar.config @@ -0,0 +1,23 @@ +%% Sample provided by @tothlac +{plugins, [ + {rebar_tidy_deps, ".*", {git, "https://github.com/ferd/rebar3-tidy-deps-plugin.git"}}, + {rebar_alias, {git, "https://github.com/tsloughter/rebar_alias.git"}}, + rebar3_appup_plugin +]}. + +{deps, [ + {hackney, {git, "https://github.com/benoitc/hackney.git", {tag, "1.10.1"}}} + ]}. + + +%% Make work despite compat issues with strings and warnings +{overrides, [ + {override, rebar3_appup_plugin, [ + {erl_opts, [ + {platform_define, "^19", brutal_purge_fixed}, + {platform_define, "^2", brutal_purge_fixed}, + %% warnings_as_errors, + debug_info + ]} + ]} +]}. -- cgit v1.1 From 553a579b36fe0fb4a8bf464cd282d43c07d4e192 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 5 Dec 2017 07:47:07 -0500 Subject: Alias plugin promoted to built-in command - Uses the code at https://github.com/tsloughter/rebar_alias and brings it within rebar3 - adds safety checks to prevent redefining built-in commands or obvious circular dependencies between commands (indirect circular deps are still possible) - adds tests - adds a systest to ensure no clash with the existing plugin --- systest/all_SUITE.erl | 24 +++++++++++++++++++--- systest/all_SUITE_data/alias_clash/rebar.config | 4 ++++ .../alias_clash/src/alias_clash.app.src | 15 ++++++++++++++ .../all_SUITE_data/alias_clash/src/alias_clash.erl | 13 ++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 systest/all_SUITE_data/alias_clash/rebar.config create mode 100644 systest/all_SUITE_data/alias_clash/src/alias_clash.app.src create mode 100644 systest/all_SUITE_data/alias_clash/src/alias_clash.erl (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl index 523e739..a0cfd3f 100644 --- a/systest/all_SUITE.erl +++ b/systest/all_SUITE.erl @@ -29,7 +29,7 @@ end_per_testcase(_Name, Config) -> Config. all() -> - [noop, resource_plugins]. + [noop, resource_plugins, alias_clash]. %groups() -> % [{plugins, [shuffle], []}, @@ -53,6 +53,21 @@ resource_plugins(Config) -> ct:pal("Rebar3 Output:~n~s",[Output]), ok. +alias_clash() -> + [{doc, "checking that the provider won't get plugin interference."}, + {timetrap, 10000}]. +alias_clash(Config) -> + {ok, Help} = rebar3("help", Config), % should be redefined, but by the plugin + ?assertNotEqual(nomatch, + re:run(Help, "Alias help is already the name of a command[a-z ]+and will be ignored") + ), + {ok, Output} = rebar3("test", Config, [{env, [{"DEBUG", "1"}]}]), + ?assertNotEqual(nomatch, re:run(Output, "cover summary written to:")), + ?assertNotEqual(nomatch, + re:run(Output, "Not adding provider default test from module rebar_prv_alias_test " + "because it already exists from module rebar_prv_alias_test")), + ok. + %%%%%%%%%%%%%%% %%% Helpers %%% %%%%%%%%%%%%%%% @@ -62,7 +77,9 @@ set_name_config(Atom, Config) -> atom_to_list(?MODULE)++"_data", atom_to_list(Atom)])} | Config]. -rebar3(Args, Config) -> +rebar3(Args, Config) -> rebar3(Args, Config, []). + +rebar3(Args, Config, UserOpts) -> Exec = case os:type() of {win32, _} -> "rebar3.cmd"; @@ -70,6 +87,7 @@ rebar3(Args, Config) -> "rebar3" end, Cmd = Exec ++ " " ++ Args, - Opts = [{cd, ?config(path, Config)}, return_on_error, use_stdout], + Opts = [{cd, ?config(path, Config)}, return_on_error, use_stdout + | UserOpts], ct:pal("Calling rebar3 ~s with options ~p", [Cmd, Opts]), rebar_utils:sh(Cmd, Opts). diff --git a/systest/all_SUITE_data/alias_clash/rebar.config b/systest/all_SUITE_data/alias_clash/rebar.config new file mode 100644 index 0000000..baf20a9 --- /dev/null +++ b/systest/all_SUITE_data/alias_clash/rebar.config @@ -0,0 +1,4 @@ +{alias, [{help, [version]}, % should be skipped, but be overriden by plugin + {test, [compile, {eunit, "-c"}, cover]}]}. + +{plugins, [rebar_alias]}. % should be overridden diff --git a/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src b/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src new file mode 100644 index 0000000..b4cdda2 --- /dev/null +++ b/systest/all_SUITE_data/alias_clash/src/alias_clash.app.src @@ -0,0 +1,15 @@ +{application, alias_clash, + [{description, "An OTP library"}, + {vsn, "0.1.0"}, + {registered, []}, + {applications, + [kernel, + stdlib + ]}, + {env,[]}, + {modules, []}, + + {maintainers, []}, + {licenses, ["Apache 2.0"]}, + {links, []} + ]}. diff --git a/systest/all_SUITE_data/alias_clash/src/alias_clash.erl b/systest/all_SUITE_data/alias_clash/src/alias_clash.erl new file mode 100644 index 0000000..9249cdb --- /dev/null +++ b/systest/all_SUITE_data/alias_clash/src/alias_clash.erl @@ -0,0 +1,13 @@ +-module(alias_clash). + +%% API exports +-export([]). + +%%==================================================================== +%% API functions +%%==================================================================== + + +%%==================================================================== +%% Internal functions +%%==================================================================== -- cgit v1.1 From d45bacb73bd1a255a5042929a49c81ab298df946 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 5 Dec 2017 13:05:14 -0500 Subject: Run a soft purge while within the compiler step Prevents the killing of a plugin with itself --- systest/all_SUITE.erl | 12 +++++++++++- systest/all_SUITE_data/grisp_explode/rebar.config | 16 ++++++++++++++++ systest/all_SUITE_data/grisp_explode/rebar.lock | 8 ++++++++ .../grisp_explode/src/mygrispproject.app.src | 17 +++++++++++++++++ .../grisp_explode/src/mygrispproject.erl | 15 +++++++++++++++ .../grisp_explode/src/mygrispproject_sup.erl | 19 +++++++++++++++++++ 6 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 systest/all_SUITE_data/grisp_explode/rebar.config create mode 100644 systest/all_SUITE_data/grisp_explode/rebar.lock create mode 100644 systest/all_SUITE_data/grisp_explode/src/mygrispproject.app.src create mode 100644 systest/all_SUITE_data/grisp_explode/src/mygrispproject.erl create mode 100644 systest/all_SUITE_data/grisp_explode/src/mygrispproject_sup.erl (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl index a0cfd3f..ba06a9c 100644 --- a/systest/all_SUITE.erl +++ b/systest/all_SUITE.erl @@ -29,7 +29,7 @@ end_per_testcase(_Name, Config) -> Config. all() -> - [noop, resource_plugins, alias_clash]. + [noop, resource_plugins, alias_clash, grisp_explode]. %groups() -> % [{plugins, [shuffle], []}, @@ -66,6 +66,16 @@ alias_clash(Config) -> ?assertNotEqual(nomatch, re:run(Output, "Not adding provider default test from module rebar_prv_alias_test " "because it already exists from module rebar_prv_alias_test")), + +grisp_explode() -> + [{doc, "Don't force purge a plugin that runs the compile job itself"}]. +grisp_explode(Config) -> + %% When the purge handling is wrong, the run fails violently. + {error, {_,Output}} = rebar3("grisp deploy -n robot -v 0.1.0", Config), + ct:pal("Rebar3 Output:~n~s",[Output]), + ?assertNotEqual(nomatch, + re:run(Output, "No releases exist in the system for robot:0.1.0!") + ), ok. %%%%%%%%%%%%%%% diff --git a/systest/all_SUITE_data/grisp_explode/rebar.config b/systest/all_SUITE_data/grisp_explode/rebar.config new file mode 100644 index 0000000..43c9f63 --- /dev/null +++ b/systest/all_SUITE_data/grisp_explode/rebar.config @@ -0,0 +1,16 @@ +{deps, [grisp]}. + +{plugins, [{rebar3_grisp, "0.1.0"}]}. + +{erl_opts, [debug_info]}. + +{grisp, [ + {otp_release, "19"}, + {deploy, [ + {destination, "/path/to/SD-card"} + ]} +]}. + +{relx, [ + {release, {mygrispproject, "0.1.0"}, [mygrispproject]} +]}. diff --git a/systest/all_SUITE_data/grisp_explode/rebar.lock b/systest/all_SUITE_data/grisp_explode/rebar.lock new file mode 100644 index 0000000..2523b13 --- /dev/null +++ b/systest/all_SUITE_data/grisp_explode/rebar.lock @@ -0,0 +1,8 @@ +{"1.1.0", +[{<<"grisp">>,{pkg,<<"grisp">>,<<"0.1.1">>},0}, + {<<"mapz">>,{pkg,<<"mapz">>,<<"0.3.0">>},1}]}. +[ +{pkg_hash,[ + {<<"grisp">>, <<"5A1318E7B1582D7C5B1E446D149A6F93428A380BCFE7D740E57E4F6B6CDB19DD">>}, + {<<"mapz">>, <<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>}]} +]. diff --git a/systest/all_SUITE_data/grisp_explode/src/mygrispproject.app.src b/systest/all_SUITE_data/grisp_explode/src/mygrispproject.app.src new file mode 100644 index 0000000..0f0a396 --- /dev/null +++ b/systest/all_SUITE_data/grisp_explode/src/mygrispproject.app.src @@ -0,0 +1,17 @@ +{application, mygrispproject, [ + {description, "A GRiSP application"}, + {vsn, "0.1.0"}, + {registered, []}, + {mod, {mygrispproject, []}}, + {applications, [ + kernel, + stdlib, + grisp + ]}, + {env,[]}, + {modules, []}, + + {maintainers, []}, + {licenses, ["Apache 2.0"]}, + {links, []} +]}. diff --git a/systest/all_SUITE_data/grisp_explode/src/mygrispproject.erl b/systest/all_SUITE_data/grisp_explode/src/mygrispproject.erl new file mode 100644 index 0000000..a9152fe --- /dev/null +++ b/systest/all_SUITE_data/grisp_explode/src/mygrispproject.erl @@ -0,0 +1,15 @@ +% @doc mygrispproject public API. +% @end +-module(mygrispproject). + +-behavior(application). + +% Callbacks +-export([start/2]). +-export([stop/1]). + +%--- Callbacks ----------------------------------------------------------------- + +start(_Type, _Args) -> mygrispproject_sup:start_link(). + +stop(_State) -> ok. diff --git a/systest/all_SUITE_data/grisp_explode/src/mygrispproject_sup.erl b/systest/all_SUITE_data/grisp_explode/src/mygrispproject_sup.erl new file mode 100644 index 0000000..aef0d4f --- /dev/null +++ b/systest/all_SUITE_data/grisp_explode/src/mygrispproject_sup.erl @@ -0,0 +1,19 @@ +% @doc mygrispproject top level supervisor. +% @end +-module(mygrispproject_sup). + +-behavior(supervisor). + +% API +-export([start_link/0]). + +% Callbacks +-export([init/1]). + +%--- API ----------------------------------------------------------------------- + +start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). + +%--- Callbacks ----------------------------------------------------------------- + +init([]) -> {ok, { {one_for_all, 0, 1}, []} }. -- cgit v1.1 From f12871451f2c60bc35da053198ccc48d1b1db687 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 6 Dec 2017 08:53:12 -0500 Subject: Safer purge switch Rather than the caller having to think of what to purge or not, use erlang:check_process_code/2 to detect if the caller (rebar3) may die because of the operation. If so, do a soft purge with a conditional delete instead of a hard purge with a mandatory delete. --- systest/all_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl index ba06a9c..6d2f14f 100644 --- a/systest/all_SUITE.erl +++ b/systest/all_SUITE.erl @@ -66,6 +66,7 @@ alias_clash(Config) -> ?assertNotEqual(nomatch, re:run(Output, "Not adding provider default test from module rebar_prv_alias_test " "because it already exists from module rebar_prv_alias_test")), + ok. grisp_explode() -> [{doc, "Don't force purge a plugin that runs the compile job itself"}]. -- cgit v1.1 From 8a6059861c78d6e5b74f48cf2cba717becbebc3b Mon Sep 17 00:00:00 2001 From: hommeabeil Date: Sat, 24 Mar 2018 09:47:52 -0400 Subject: add test in systest --- systest/all_SUITE.erl | 18 ++++++++++++++++-- systest/all_SUITE_data/compile_deps/rebar.config | 8 ++++++++ .../all_SUITE_data/compile_deps/rebar.config.script | 2 ++ .../compile_deps/vendored/fake_dep/rebar.config | 2 ++ .../vendored/fake_dep/src/fake_dep.app.src | 15 +++++++++++++++ .../compile_deps/vendored/fake_dep/src/fake_dep.erl | 13 +++++++++++++ 6 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 systest/all_SUITE_data/compile_deps/rebar.config create mode 100644 systest/all_SUITE_data/compile_deps/rebar.config.script create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src create mode 100644 systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl index 6d2f14f..41a475b 100644 --- a/systest/all_SUITE.erl +++ b/systest/all_SUITE.erl @@ -29,7 +29,7 @@ end_per_testcase(_Name, Config) -> Config. all() -> - [noop, resource_plugins, alias_clash, grisp_explode]. + [noop, resource_plugins, alias_clash, grisp_explode, compile_deps]. %groups() -> % [{plugins, [shuffle], []}, @@ -79,13 +79,27 @@ grisp_explode(Config) -> ), ok. +compile_deps() -> + [{doc, "Issue #1712" + "When compile a project multiple time, the dependency should always be build event if refetch."}]. +compile_deps(Config) -> + rebar3("compile", Config), + rebar3("compile", Config), + + PrivDir = ?config(path, Config), + BeansDir = filename:join([PrivDir, "_build", "default", "lib", "fake_dep", "ebin"]), + + {ok, Beans} = file:list_dir(BeansDir), + ?assert(length(Beans) > 1). + + %%%%%%%%%%%%%%% %%% Helpers %%% %%%%%%%%%%%%%%% set_name_config(Atom, Config) -> [{path, filename:join([?config(priv_dir, Config), - atom_to_list(?MODULE)++"_data", atom_to_list(Atom)])} + atom_to_list(Atom)])} | Config]. rebar3(Args, Config) -> rebar3(Args, Config, []). diff --git a/systest/all_SUITE_data/compile_deps/rebar.config b/systest/all_SUITE_data/compile_deps/rebar.config new file mode 100644 index 0000000..08e2f62 --- /dev/null +++ b/systest/all_SUITE_data/compile_deps/rebar.config @@ -0,0 +1,8 @@ +{deps, [ + {fake_dep, {localdep, "fake_dep"}} + ]}. + +{plugins, [{rebar_localdep, + {git, "https://github.com/alinpopa/rebar3-localdep-plugin.git", + {branch, "master"}}}]}. + diff --git a/systest/all_SUITE_data/compile_deps/rebar.config.script b/systest/all_SUITE_data/compile_deps/rebar.config.script new file mode 100644 index 0000000..c0ebab1 --- /dev/null +++ b/systest/all_SUITE_data/compile_deps/rebar.config.script @@ -0,0 +1,2 @@ +os:putenv("LOCALDEP_DIR", "./vendored/"). +CONFIG. diff --git a/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config new file mode 100644 index 0000000..f618f3e --- /dev/null +++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/rebar.config @@ -0,0 +1,2 @@ +{erl_opts, [debug_info]}. +{deps, []}. \ No newline at end of file diff --git a/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src new file mode 100644 index 0000000..8547c35 --- /dev/null +++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.app.src @@ -0,0 +1,15 @@ +{application, fake_dep, + [{description, "An OTP library"}, + {vsn, "0.1.0"}, + {registered, []}, + {applications, + [kernel, + stdlib + ]}, + {env,[]}, + {modules, []}, + + {maintainers, []}, + {licenses, ["Apache 2.0"]}, + {links, []} + ]}. diff --git a/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl new file mode 100644 index 0000000..db8d9f0 --- /dev/null +++ b/systest/all_SUITE_data/compile_deps/vendored/fake_dep/src/fake_dep.erl @@ -0,0 +1,13 @@ +-module(fake_dep). + +%% API exports +-export([]). + +%%==================================================================== +%% API functions +%%==================================================================== + + +%%==================================================================== +%% Internal functions +%%==================================================================== -- cgit v1.1 From b5330f5e90811710f48cf63f73a0272f9d2f1551 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Fri, 30 Mar 2018 10:44:28 -0400 Subject: make systest suite work on linux --- systest/all_SUITE.erl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'systest') diff --git a/systest/all_SUITE.erl b/systest/all_SUITE.erl index 41a475b..083fae9 100644 --- a/systest/all_SUITE.erl +++ b/systest/all_SUITE.erl @@ -12,7 +12,7 @@ init_per_suite(Config) -> ["rebar", Vsn | _] -> %% Copy all base cases to priv_dir rebar_file_utils:cp_r([?config(data_dir, Config)], - ?config(priv_dir, Config)), + ?config(priv_dir, Config)), Config; _ -> {skip, "expected current version "++Vsn++" in path " @@ -80,17 +80,16 @@ grisp_explode(Config) -> ok. compile_deps() -> - [{doc, "Issue #1712" - "When compile a project multiple time, the dependency should always be build event if refetch."}]. + [{doc, "When compiling a project multiple times, the deps should always be built event if refetched"}]. compile_deps(Config) -> rebar3("compile", Config), rebar3("compile", Config), PrivDir = ?config(path, Config), - BeansDir = filename:join([PrivDir, "_build", "default", "lib", "fake_dep", "ebin"]), + EbinDir = filename:join([PrivDir, "_build", "default", "lib", "fake_dep", "ebin"]), - {ok, Beans} = file:list_dir(BeansDir), - ?assert(length(Beans) > 1). + {ok, Beams} = file:list_dir(EbinDir), + ?assert(length(Beams) > 1). %%%%%%%%%%%%%%% @@ -99,7 +98,7 @@ compile_deps(Config) -> set_name_config(Atom, Config) -> [{path, filename:join([?config(priv_dir, Config), - atom_to_list(Atom)])} + atom_to_list(?MODULE)++"_data", atom_to_list(Atom)])} | Config]. rebar3(Args, Config) -> rebar3(Args, Config, []). -- cgit v1.1 From 14efe7055cd3995ae4f367f0f05b2da7a9da2231 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sat, 8 Dec 2018 19:30:22 -0500 Subject: Fixing systest to use up to date plugin prevents some failures when running --- systest/all_SUITE_data/resource_plugins/rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systest') diff --git a/systest/all_SUITE_data/resource_plugins/rebar.config b/systest/all_SUITE_data/resource_plugins/rebar.config index 7baec1f..7df4a4a 100644 --- a/systest/all_SUITE_data/resource_plugins/rebar.config +++ b/systest/all_SUITE_data/resource_plugins/rebar.config @@ -1,6 +1,6 @@ %% Sample provided by @tothlac {plugins, [ - {rebar_tidy_deps, ".*", {git, "https://github.com/ferd/rebar3-tidy-deps-plugin.git"}}, + {rebar_tidy_deps, ".*", {git, "https://github.com/tothlac/rebar3-tidy-deps-plugin.git"}}, {rebar_alias, {git, "https://github.com/tsloughter/rebar_alias.git"}}, rebar3_appup_plugin ]}. -- cgit v1.1