summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-09-09 20:35:11 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-03-19 22:02:04 +0100
commit66758941594831e5da81a7c00280e73ccc842688 (patch)
tree4a889ffb9fba7f37b9887701dcb0b45e98ca15cf
parentbb72473529e300724eb7d78890da85a9ca7f6157 (diff)
downloaddevtools-66758941594831e5da81a7c00280e73ccc842688.tar.xz
archco: convert tool to git clone
-rw-r--r--src/archco.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/archco.in b/src/archco.in
index a93d819..c569e52 100644
--- a/src/archco.in
+++ b/src/archco.in
@@ -13,14 +13,12 @@ fi
case $scriptname in
archco)
- SVNURL="svn+ssh://svn-packages@repos.archlinux.org/srv/repos/svn-packages/svn";;
- communityco)
- SVNURL="svn+ssh://svn-community@repos.archlinux.org/srv/repos/svn-community/svn";;
+ GITURL="ssh://git@gitlab.archlinux.org:222/bot-test/packages";;
*)
- die "Couldn't find svn url for %s" "$scriptname"
+ die "Couldn't find Git url for %s" "$scriptname"
;;
esac
-for i in "$@"; do
- svn co "$SVNURL/$i"
+for pkgbase in "$@"; do
+ git clone --origin origin --config commit.gpgsign=true "${GITURL}/${pkgbase}.git"
done