prometheus-httpd icon indicating copy to clipboard operation
prometheus-httpd copied to clipboard

Don't install rebar3_elvis_plugin plugin

Open weiss opened this issue 2 years ago • 0 comments

Both prometheus_httpd and accept use the rebar3_archive_plugin, which in turn depends on the rebar3_elvis_plugin, which conflicts with rebar3_lint. Using the latter in a project that depends on prometheus_httpd may fail in weird ways.

The dependency has actually been removed from the current rebar3_archive_plugin code, but prometheus_httpd and accept depend on older versions of the plugin. It would be nice to update them to use the current rebar3_archive_plugin code (or to remove that dependency).

FWIW, this works for me as a workaround:

{overrides,
 [% The rebar3_archive_plugin (used by prometheus_httpd and accept) depends on
  % the rebar3_elvis_plugin, which conflicts with rebar3_lint.
  {del,
   [{plugins, [{rebar3_archive_plugin, "0.0.1"}]},
    {plugins, [{rebar3_archive_plugin, "0.0.2"}]}]}]}.

weiss avatar Jul 23 '22 16:07 weiss