From 66758941594831e5da81a7c00280e73ccc842688 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Fri, 9 Sep 2022 20:35:11 +0200 Subject: archco: convert tool to git clone --- src/archco.in | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2