summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-30 21:10:11 +0200
committerErich Eckner <git@eckner.net>2017-08-30 21:10:11 +0200
commitab5f85641b5be521a126770bb356a3b78f425b59 (patch)
tree46299688ee6bd6d7029038a758ac99bcd77a7e0a
parent703b9f1ca5fe85dabd70761966f1367cac173eaf (diff)
downloadbuilder-ab5f85641b5be521a126770bb356a3b78f425b59.tar.xz
conf/default.conf: new variables holding stable-, standalone-, testing- and staging-packages
-rwxr-xr-xbin/sanity-check3
-rwxr-xr-xconf/default.conf6
2 files changed, 7 insertions, 2 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 6ce0565..74ef8d7 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -31,6 +31,7 @@ eval set -- "$(
)"
silence=0
+repos="${standalone_package_repositories} ${stable_package_repositories} ${testing_package_repositories} ${staging_package_repositories}"
while true
do
@@ -127,8 +128,6 @@ while [ $# -gt 0 ]; do
[ ${silence} -gt 0 ] || \
>&2 printf 'checking repos on master mirror ...'
- repos='build-support community-staging community-testing community core extra gnome-unstable kde-unstable staging testing'
-
errors=$(
(
# shellcheck disable=SC2086
diff --git a/conf/default.conf b/conf/default.conf
index 34c5c3e..731f22c 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -67,6 +67,12 @@ straws_that_might_repair_failing_builds=$(
# root directory of the webserver
webserver_directory='/srv/http'
+# known package repositories
+standalone_package_repositories='build-support gnome-unstable kde-unstable'
+stable_package_repositories='community core extra'
+testing_package_repositories='community-testing testing'
+staging_package_repositories='community-staging staging'
+
# possibly pull in custom modifications
# shellcheck source=/dev/null