From: John Benediktsson Date: Tue, 11 Jan 2022 00:44:52 +0000 (-0800) Subject: fixes for GitHub disabling unauthenticated git protocol X-Git-Tag: 0.99~1891 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=bd3f6fd7022e8a53bfaa3ed9e002bd9965eadb29 fixes for GitHub disabling unauthenticated git protocol --- diff --git a/build.sh b/build.sh index df725ab8b6..12dec02678 100755 --- a/build.sh +++ b/build.sh @@ -11,7 +11,7 @@ ECHO=echo OS= ARCH= WORD= -GIT_PROTOCOL=${GIT_PROTOCOL:="git"} +GIT_PROTOCOL=${GIT_PROTOCOL:="https"} GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://github.com/factor/factor.git"} SCRIPT_ARGS="$*" diff --git a/extra/mason/git/git.factor b/extra/mason/git/git.factor index c2c9019503..19d522f1e9 100644 --- a/extra/mason/git/git.factor +++ b/extra/mason/git/git.factor @@ -16,7 +16,7 @@ IN: mason.git { "git" "clone" - "git://github.com/factor/factor.git" + "https://github.com/factor/factor.git" } ; : git-clone ( -- ) @@ -28,7 +28,7 @@ IN: mason.git { "git" "pull" - "git://github.com/factor/factor.git" + "https://github.com/factor/factor.git" "master" } ; diff --git a/extra/webapps/mason/version/source/source.factor b/extra/webapps/mason/version/source/source.factor index a1397511a5..b171ea0cac 100644 --- a/extra/webapps/mason/version/source/source.factor +++ b/extra/webapps/mason/version/source/source.factor @@ -7,7 +7,7 @@ mason.config webapps.mason.version.files ; IN: webapps.mason.version.source : clone-factor ( -- ) - { "git" "clone" "git://factorcode.org/git/factor.git" } try-process ; + { "git" "clone" "https://github.com/factor/factor.git" } try-process ; : git-reset ( git-id -- ) { "git" "reset" "--hard" } swap suffix try-process ;