]> git.decadent.org.uk Git - dak.git/blob - config/debian/vars
Notify w-b earlier
[dak.git] / config / debian / vars
1 # -*- mode:sh -*-
2
3 umask 022
4 unset CDPATH
5 GZIP='--rsyncable' ; export GZIP
6
7 # locations used by many scripts
8 base=/srv/ftp-master.debian.org
9 bindir=${base}/bin
10 masterdir=${base}/dak/
11 queuedir=${base}/queue/
12 scriptdir=${base}/scripts
13
14 configdir=${masterdir}/config/debian/
15 dbdir=${base}/database/
16 exportdir=${base}/export/
17 extoverridedir=${scriptdir}/external-overrides
18 ftpdir=${base}/ftp
19 incoming=${base}/public/incoming.debian.org/
20 indices=${ftpdir}/indices
21 lockdir=${base}/lock/
22 logdir=${base}/log/cron/
23 mirrordir=${base}/mirror/
24
25 accepted=${queuedir}/accepted/
26 newstage=${queuedir}/newstage/
27 overridedir=${scriptdir}/override
28 scriptsdir=${masterdir}/scripts/debian/
29 stagedir=${lockdir}/stages
30 unchecked=${queuedir}/unchecked/
31
32 public=/srv/ftp.debian.org
33 webdir=${public}/web
34 exportpublic=${public}/rsync/export/
35
36 ftpgroup=debadmin
37 public_archives=(ftp-master debian-debug)
38
39 TMPDIR=${base}/tmp
40 PATH=${masterdir}:${PATH}
41
42 # Various lockfiles used by multiple cron scripts
43 LOCK_DAILY="${lockdir}/daily.lock"
44 LOCK_UNCHECKED="${lockdir}/unchecked.lock"
45 LOCK_STOP="${lockdir}/archive.stop"
46
47 # By default, add no timestamps to stage logs
48 TIMESTAMP=false
49
50 # And the following types of cronscripts exists
51 declare -lr POSSIBLEARGS='+(unchecked|dinstall|hourly|daily|weekly|monthly|yearly|mirror)'
52 declare -r HOSTNAME=$(hostname -s)
53
54 archs=$(dak admin a list | tr '\n' ' ')
55
56 # Set the database variables
57 eval $(dak admin config db-shell)