]> git.decadent.org.uk Git - dak.git/blob - config/debian/dinstall.variables
Adjust cronscripts to end up with just one
[dak.git] / config / debian / dinstall.variables
1 # -*- mode:sh -*-
2 # usually we are not using debug logs. Set to 1 if you want them.
3 DEBUG=0
4
5 # where do we want mails to go? For example log entries made with error()
6 if [ "x$(hostname -s)x" != "xfranckx" ]; then
7     # Not our ftpmaster host
8     MAILTO=${MAILTO:-"root"}
9 else
10     # Yay, ftpmaster
11     MAILTO=${MAILTO:-"ftpmaster@debian.org"}
12 fi
13
14 # How many logfiles to keep
15 LOGROTATE=${LOGROTATE:-400}
16
17 # Marker for dinstall start
18 DINSTALLSTART="${lockdir}/dinstallstart"
19 # Marker for dinstall end
20 DINSTALLEND="${lockdir}/dinstallend"
21
22 # Lock cron.unchecked from doing work
23 LOCK_ACCEPTED="$lockdir/unchecked.lock"
24
25 # This file is simply used to indicate to britney whether or not
26 # the Packages file updates completed sucessfully.  It's not a lock
27 # from our point of view
28 LOCK_BRITNEY="$lockdir/britney.lock"
29
30 # If this file exists we exit immediately after the currently running
31 # function is done
32 LOCK_STOP="$lockdir/archive.stop"
33
34 # Lock buildd updates
35 LOCK_BUILDD="$lockdir/buildd.lock"
36
37 # Lock changelog updates
38 LOCK_CHANGELOG="$lockdir/changelog.lock"
39
40 # Statefile for the users
41 DINSTALLSTATE="${webdir}/dinstall.status"
42
43 # dists for which we import external data (i18n, dep11)
44 # as thats usually testing and unstable, but we need codenames,
45 # get em out of the db.
46 extimportdists=""
47 for suite in testing unstable; do
48     codename=$(dak admin s show ${suite}|grep '^Codename')
49     codename=${codename##* }
50     extimportdists="${extimportdists} ${codename}"
51 done