From 699dabc42aecd09959bb443d925fa32d682d9684 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 13 Apr 2022 14:00:26 +0200 Subject: [PATCH] [openface] fix git protocol issue https://github.blog/2021-09-01-improving-git-protocol-security-github/ solution: https://github.com/torch/rocks/issues/140 --- openface/torch.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openface/torch.bash b/openface/torch.bash index 86d4ade57..c30eff07c 100644 --- a/openface/torch.bash +++ b/openface/torch.bash @@ -3,6 +3,10 @@ # shellcheck disable=SC2164 pushd . > /dev/null +# GitHub has disabled the 'git:// 'protocol, https://github.blog/2021-09-01-improving-git-protocol-security-github/ +# This is safe to do for other repos as those are also not working anymore +git config --global url.https://github.com/.insteadOf git://github.com + tue-install-echo "Installing Torch" if [ -n "$TUE_CUDA" ] then