Hi.
I’m using rebar 3.24.0 on Erlang/OTP 27.2 / Erts 15.2
.
I’m trying to compile the Erlang app (https://github.com/yurrriq/nkcluster
) and have a questions about the get-deps
phase of rebar3
.
-
Q1: Why fetching a dependency from
{git,"git://github.com/...
hangs but fetching a dependency from{git,"https://github.com/...
works normally? -
Q2: Is there a flag for
rebar3
to turn on verbose output?
Example:
deps
part from the rebar.config
:
{deps, [
{nkdist,
{git, "git://github.com/yurrriq/nkdist.git",
{branch, "master"}}},
{nkpacket,
{git, "git://github.com/yurrriq/nkpacket.git",
{branch, "master"}}},
{nkdocker,
{git, "git://github.com/yurrriq/nkdocker.git",
{branch, "master"}}},
{eper,
{git, "git://github.com/yurrriq/eper.git",
{branch, "master"}}},
{lager,
{git, "git://github.com/basho/lager.git",
{tag, "3.1.0"}}}
]}.
$ rebar3 compile
===> Fetching rebar3_run v0.5.0
make: Entering directory '/home/user/dev/erl/tmp/nkcluster/_build/default/plugins/rebar3_run/c_src'
make: Leaving directory '/home/user/dev/erl/tmp/nkcluster/_build/default/plugins/rebar3_run/c_src'
===> Analyzing applications...
===> Compiling rebar3_run
===> Verifying dependencies...
===> Fetching eper (from {git,"git://github.com/yurrriq/eper.git",{branch,"master"}})
... here fetching process hangs on the first git dependency - until timeout.
But if I change for all rebar.config
dependencies {git, "git://...
to {git, "https://...
, the fetching process starts to go normally - again, until it encounters a depencency with {git, "git://...
.