summaryrefslogtreecommitdiff
path: root/db-import.conf
diff options
context:
space:
mode:
Diffstat (limited to 'db-import.conf')
-rw-r--r--db-import.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/db-import.conf b/db-import.conf
new file mode 100644
index 0000000..4330fa9
--- /dev/null
+++ b/db-import.conf
@@ -0,0 +1,17 @@
+#/bin/bash # as a hint to text editors
+
+IMPORTDIR=/srv/repo/import
+
+_archrepos=(
+ {core,extra,testing,staging}-{i686,x86_64}
+ {gnome,kde}-unstable-{i686,x86_64}
+ community{,-testing,-staging}-{i686,x86_64}
+ multilib{,-testing,-staging}-x86_64
+)
+
+_archpkgmirror=$(db-pick-mirror rsync https://www.archlinux.org/mirrors/status/tier/1/json/)
+
+# name pkgmirror absmirror repo-arch...
+IMPORTS=("archlinux ${_archpkgmirror} rsync.archlinux.org ${_archrepos[*]}")
+
+unset _archrepos _archpkgmirror