Change git to https

Using `git` in the URL can cause it to hang and time-out.  I encountered this issue on Linux Mint.  It's also discussed [here](https://github.com/adaptlearning/adapt_authoring/issues/1431).  This fixes the issue.
This commit is contained in:
Max von Hippel
2022-05-25 11:01:57 -07:00
committed by vyzo
parent 05e0e18ae1
commit a2c45fa7f0

View File

@@ -197,7 +197,7 @@ def pubsub_commit(ref_str):
if re.match(r'\b([a-f0-9]{40})\b', ref_str):
return ref_str
out = subprocess.run(['git', 'ls-remote', 'git://github.com/libp2p/go-libp2p-pubsub'],
out = subprocess.run(['git', 'ls-remote', 'https://github.com/libp2p/go-libp2p-pubsub'],
check=True, capture_output=True, text=True)
# look for matching branch or tag in output