-
Notifications
You must be signed in to change notification settings - Fork 15
/
config
53 lines (43 loc) · 1.24 KB
/
config
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/hint/bash
FTP_BASE="/srv/ftp"
ARCHIVE_BASE="/srv/archive"
ARCHIVEUSER='archive'
PKGREPOS=()
DEBUGREPOS=()
PKGPOOL=''
SRCPOOL=''
DEBUGPKGPOOL=''
STAGING_REPOS=()
TESTING_REPOS=()
STABLE_REPOS=()
# VCS backend
VCS=svn
SVNREPO=''
SVNUSER=''
CLEANUP_DESTDIR="/var/tmp"
CLEANUP_DRYRUN=false
# Time in days to keep moved packages
CLEANUP_KEEP=30
SOURCE_CLEANUP_DESTDIR="/var/tmp"
SOURCE_CLEANUP_DRYRUN=false
# Time in days to keep moved sourcepackages
SOURCE_CLEANUP_KEEP=14
LOCK_DELAY=10
LOCK_TIMEOUT=300
STAGING="$HOME/staging"
export TMPDIR="/var/tmp"
ARCHES=(x86_64)
DBEXT=".db.tar.gz"
FILESEXT=".files.tar.gz"
SRCEXT=".src.tar.gz"
# bash glob listing allowed extensions. Note that db-functions turns on extglob.
PKGEXTS=".pkg.tar.@(gz|bz2|xz|zst|lrz|lzo|Z|lz4|lz)"
# Allowed licenses: get sourceballs only for licenses in this array
ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'GPL3' 'LGPL' 'LGPL1' 'LGPL2' 'LGPL2.1' 'LGPL3' 'AGPL3')
# Where to send error emails, and who they are from
LIST="[email protected]"
#LIST="[email protected]"
FROM="[email protected]"
# Override default config with config.local
LOCAL_CONFIG=${DBSCRIPTS_CONFIG:-"$(dirname "${BASH_SOURCE[0]}")/config.local"}
[[ -f "${LOCAL_CONFIG}" ]] && . "${LOCAL_CONFIG}"