summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-09-12 19:55:03 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:12 +0200
commit6aa42e1f6e913fd8706bd809f784f6c492762a20 (patch)
treef1f088a03d6f17531c870abc313d4d4a3994dfc1 /lib/common.sh
parent30616c4fdea37dda26c33d4f94052b99dba2401d (diff)
downloaddevtools-6aa42e1f6e913fd8706bd809f784f6c492762a20.tar.xz
commitpkg: use library location for common server and remote properties
It makes a lot of sense to have them in a central place that can be swapped and also re-used across different execution units. Hence lets move the repos.archlinux.org host to lib/common.sh Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common.sh b/lib/common.sh
index fe6450a..d2351af 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -27,6 +27,7 @@ export GIT_PACKAGING_NAMESPACE=archlinux/packaging/packages
export GIT_PACKAGING_NAMESPACE_ID=11323
export GIT_PACKAGING_URL_SSH="ssh://git@${GITLAB_HOST}/${GIT_PACKAGING_NAMESPACE}"
export GIT_PACKAGING_URL_HTTPS="https://${GITLAB_HOST}/${GIT_PACKAGING_NAMESPACE}"
+export PACKAGING_REPO_RELEASE_HOST=repos.archlinux.org
# check if messages are to be printed using color
if [[ -t 2 && "$TERM" != dumb ]]; then