]> gitweb.factorcode.org Git - factor.git/commitdiff
fixes for GitHub disabling unauthenticated git protocol
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 11 Jan 2022 00:44:52 +0000 (16:44 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 11 Jan 2022 00:44:52 +0000 (16:44 -0800)
build.sh
extra/mason/git/git.factor
extra/webapps/mason/version/source/source.factor

index df725ab8b6c4f252850d4eb5a8fc584ac8f59276..12dec026786d4cefb8d9c22f8cd8be3b3d6035ce 100755 (executable)
--- 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="$*"
 
index c2c9019503ac433d01c3062f23cb99dcea0825a2..19d522f1e90930c3725dc032ba2a291865b874cf 100644 (file)
@@ -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"
     } ;
 
index a1397511a585542ec26264ee873a6cb6a9b35c6a..b171ea0caca159c75e33bc6bbd8fb1fa175e299b 100644 (file)
@@ -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 ;