summaryrefslogtreecommitdiff
path: root/db-import-packages.conf
blob: 3f1f4c586242f74026effe5f1dbf05e0a66c8e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/hint/bash

# "tags" are repo-arch pairs
ARCHTAGS=({core,testing,extra}-x86_64)
ARCHPATH='$repo/os/$arch'
ARCHPKGPOOL='pool/packages'
ARCHSRCPOOL='sources/packages'

OURPKGPOOL='pool/packages'
OURSRCPOOL='sources/packages'

# 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/'

if [[ -n ${DBIMPORT_CONFIG} ]]; then
	source "${DBIMPORT_CONFIG}"
fi