dnsimple / erldns

DNS server, in Erlang.
MIT License
398 stars 98 forks source link

rebar: Use https:// instead of git:// for github deps #141

Closed olof closed 2 years ago

olof commented 2 years ago

Github has discontinuted the git:// protocol in favor of only providing https for anonymous clones.

$ DEBUG=1 rebar3 get-deps
...
===> Fetching dns_erlang (from {git,"git://github.com/dnsimple/dns_erlang.git",
                      {ref,"52f7279afb4cc97b4d76babde223257ec08f3676"}})
===> sh(git clone  -n git://github.com/dnsimple/dns_erlang.git .tmp_dir967982599246)
failed with return code 128 and the following output:
Cloning into '.tmp_dir967982599246'...
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

===> Failed to fetch and copy dep: {git,
                                  "git://github.com/dnsimple/dns_erlang.git",
                                  {ref,
                                      "52f7279afb4cc97b4d76babde223257ec08f3676"}}

Reference: https://github.blog/2021-09-01-improving-git-protocol-security-github/