Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 72ad2f2

Browse files
committed
Capture rebar archive failure
This is what happens when I use `./rebar3 archive` instead of zip. Let me know if you can figure it out @deadtrickster - I'm happy to stick with zip.
1 parent 5a814eb commit 72ad2f2

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

rebar-archive.log

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
===> Fetching rebar3_archive_plugin ({pkg,<<"rebar3_archive_plugin">>,
2+
<<"0.0.2">>})
3+
===> Version cached at /Users/gerhard/.cache/rebar3/hex/hexpm/packages/rebar3_archive_plugin-0.0.2.tar is up to date, reusing it
4+
===> Fetching rebar3_elvis_plugin ({git,
5+
"https://github.com/deadtrickster/rebar3_elvis_plugin.git",
6+
"master"})
7+
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
8+
===> Fetching katana_code ({pkg,<<"katana_code">>,<<"0.1.0">>})
9+
===> Version cached at /Users/gerhard/.cache/rebar3/hex/hexpm/packages/katana_code-0.1.0.tar is up to date, reusing it
10+
===> Fetching zipper ({pkg,<<"zipper">>,<<"1.0.1">>})
11+
===> Version cached at /Users/gerhard/.cache/rebar3/hex/hexpm/packages/zipper-1.0.1.tar is up to date, reusing it
12+
===> Fetching aleppo ({pkg,<<"inaka_aleppo">>,<<"1.0.0">>})
13+
===> Version cached at /Users/gerhard/.cache/rebar3/hex/hexpm/packages/inaka_aleppo-1.0.0.tar is up to date, reusing it
14+
===> Compiling aleppo
15+
_build/default/plugins/aleppo/src/aleppo.erl:6: Warning: record ale_context has field(s) without type information
16+
_build/default/plugins/aleppo/src/aleppo.erl:12: Warning: missing specification for function process_file/1
17+
_build/default/plugins/aleppo/src/aleppo.erl:15: Warning: missing specification for function process_file/2
18+
_build/default/plugins/aleppo/src/aleppo.erl:25: Warning: missing specification for function process_tokens/1
19+
_build/default/plugins/aleppo/src/aleppo.erl:32: Warning: missing specification for function process_tokens/2
20+
_build/default/plugins/aleppo/src/aleppo.erl:307: Warning: missing specification for function scan_file/1
21+
22+
===> Compiling zipper
23+
===> Compiling katana_code
24+
===> Compiling rebar3_elvis_plugin
25+
===> Compiling rebar3_archive_plugin
26+
===> Verifying dependencies...
27+
===> Compiling prometheus_rabbitmq_exporter
28+
===> Compiling src/collectors/prometheus_rabbitmq_overview_collector.erl failed
29+
src/collectors/prometheus_rabbitmq_overview_collector.erl:19: can't find include file "prometheus_rabbitmq_exporter.hrl"
30+
src/collectors/prometheus_rabbitmq_overview_collector.erl:114: undefined macro 'NO_RANGE'
31+
src/collectors/prometheus_rabbitmq_overview_collector.erl:146: undefined macro 'METRIC_NAME/1'
32+
src/collectors/prometheus_rabbitmq_overview_collector.erl:156: undefined macro 'METRIC_NAME/1'
33+
src/collectors/prometheus_rabbitmq_overview_collector.erl:186: undefined macro 'METRIC_NAME/1'
34+
src/collectors/prometheus_rabbitmq_overview_collector.erl:210: undefined macro 'METRIC_NAME/1'
35+
36+
src/collectors/prometheus_rabbitmq_overview_collector.erl:2: function collect_mf/2 undefined
37+
38+
src/collectors/prometheus_rabbitmq_overview_collector.erl:20: Warning: behaviour prometheus_collector undefined
39+
src/collectors/prometheus_rabbitmq_overview_collector.erl:163: Warning: function connections_loop/2 is unused
40+
src/collectors/prometheus_rabbitmq_overview_collector.erl:229: Warning: function create_counter/3 is unused
41+
src/collectors/prometheus_rabbitmq_overview_collector.erl:246: Warning: function catch_boolean/1 is unused
42+

rebar.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
%/* vim: set ft=erlang : */
2+
3+
{plugins, [{rebar3_archive_plugin, "0.0.2"}]}.

rebar.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[].

0 commit comments

Comments
 (0)