]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/config.subr
Allow cloning and updating via GitLab
[xonotic/xonotic.git] / misc / tools / all / config.subr
index 38a90bde0b7b0d532bd94e39f476712f02306f50..03499ba98cdfec3f7edc38f91882bd688027be5d 100644 (file)
@@ -1,4 +1,5 @@
 devsite_url="http://dev.xonotic.org/"
+gitsite_url="http://gitlab.com/groups/xonotic/"
 
 allrepos()
 {
@@ -15,24 +16,30 @@ allrepos()
        "$@" gmqcc                         gmqcc.git                    master         ""
        "$@" xonstat                       xonstat.git                  master         "no"
        "$@" xonstatdb                     xonstatdb.git                master         "no"
+       "$@" xonotic.org                   xonotic.org.git              master         "no"
+       "$@" wiki                          xonotic.wiki.git             master         "no"
 }
 
 allmirrors()
 {
+       # Legacy git URLs.
        "$@" git  ''   git://git.xonotic.org/xonotic/      ''
        "$@" http ''   http://git.xonotic.org/xonotic/     ''
        "$@" ssh  ''   ssh://xonotic@git.xonotic.org/      ''
+       "$@" git  ''   git://nl.git.xonotic.org/xonotic/   ''
+       "$@" http ''   http://nl.git.xonotic.org/xonotic/  ''
+       "$@" git  ''   git://us.git.xonotic.org/xonotic/   ''
+       "$@" http ''   http://us.git.xonotic.org/xonotic/  ''
 
-       "$@" git  us   git://us.git.xonotic.org/xonotic/   '*2/3'
-       "$@" http us   http://us.git.xonotic.org/xonotic/  '*2/3'
+       # Gitlab host (divVerent).
+       "$@" http gitlab   https://gitlab.com/xonotic/     ''
 
+       # German host (divVerent).
        "$@" git  de   git://de.git.xonotic.org/xonotic/   ''
        "$@" http de   http://de.git.xonotic.org/xonotic/  ''
 
-       "$@" git  nl   git://nl.git.xonotic.org/xonotic/   '*2'
-       "$@" http nl   http://nl.git.xonotic.org/xonotic/  '*2'
-
-       "$@" ssh  push ssh://xonotic@push.git.xonotic.org/ ''
+       # Pushing destination (authoritative server; merlijn).
+       "$@" ssh  push ssh://git@gitlab.com/xonotic/       ''
 }
 
 have_time=true