summaryrefslogtreecommitdiff
path: root/config.local.community
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-09-02 17:42:15 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-09-02 18:04:37 -0400
commitbc4832364050a05976dce33f28bba9ed3193010d (patch)
tree7a2301e87ca1e621aac215f4c1383e53f3d32482 /config.local.community
parent6d4dcdb3957f46e06d7446fdfae775c5b557d8dc (diff)
db-import-pkg: Merge the config in to the main DBSCRIPTS_CONFIG system
I know, I'm a hypocrite for violating # Please try to refrain from adding new variables to this file. # Instead, create separate ${toolname}.conf files. Only add a # variable here if multiple tools start needing the option. When db-import-pkg moves to use db-{move,update,remove} internally, it will also need to load an upstream-specific config.local.${UPSTREAM} file (the systemd service already sets Environment=DBSCRIPTS_CONFIG=… appropriately, in anticipation of this. This means that the upstream must be specified *twice* when invoking db-import-pkg; once in the environment, and once in an arg. Right now it (essentially) disregards the environment setting, but that won't always be true. To put a point on that, the test suite currently *doesn't* set the environment differently for each upstream; once it actually uses the environment, the test suite will "break". So, I'd like to unify these, so that the upstream only needs to be specified once. If we do this as an argument, it will have to get very kludgey with overriding DBSCRIPTS_CONFIG internally, so don't do that. That leaves setting the upstream via DBSCRIPTS_CONFIG= as the only sane option. At that point, it becomes silly to have a tertiary config file (db-import-${UPSTREAM}.conf) that is referred to by the secondary config file (config.local.${UPSTREAM}).
Diffstat (limited to 'config.local.community')
-rw-r--r--config.local.community20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.local.community b/config.local.community
index 5d3e69c..b5070c1 100644
--- a/config.local.community
+++ b/config.local.community
@@ -4,3 +4,23 @@ PKGREPOS=('community' 'community-testing' 'community-staging' 'multilib' 'multil
ARCHES=('x86_64')
PKGPOOL='pool/community'
SRCPOOL='sources/community'
+
+# "tags" are repo-arch pairs
+ARCHTAGS=({community,multilib,multilib-testing}-x86_64)
+ARCHPATH='$repo/os/$arch'
+ARCHPKGPOOL='pool/community'
+ARCHSRCPOOL='sources/community'
+
+OURPKGPOOL='pool/community'
+OURSRCPOOL='sources/community'
+
+# Of the few tier-1 mirrors with the 'sources/' folder:
+#
+# $ ./config-list-mirrors-archlinux --require=sources | jq -r '.[].url'
+# rsync://archlinux.c3sl.ufpr.br/archlinux/
+# rsync://mirrors.kernel.org/archlinux/
+# rsync://ftp.acc.umu.se/mirror/archlinux/
+#
+# ftp.acc.umu.se (Sweden) has (by far) the best ping time from
+# winston.parabola.nu (Iceland).
+ARCHMIRROR='rsync://ftp.acc.umu.se/mirror/archlinux/'