prometheus-httpd
prometheus-httpd copied to clipboard
Don't install rebar3_elvis_plugin plugin
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"}]}]}]}.