diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2022-09-09 20:35:11 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-03-19 22:02:04 +0100 |
commit | 66758941594831e5da81a7c00280e73ccc842688 (patch) | |
tree | 4a889ffb9fba7f37b9887701dcb0b45e98ca15cf /src | |
parent | bb72473529e300724eb7d78890da85a9ca7f6157 (diff) | |
download | devtools-66758941594831e5da81a7c00280e73ccc842688.tar.xz |
archco: convert tool to git clone
Diffstat (limited to 'src')
-rw-r--r-- | src/archco.in | 10 |
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 |