3 # Executed hourly via cron, out of dak's crontab.
8 export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
11 dak import-users-from-passwd
12 dak queue-report -n > $webdir/new.html
13 dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat
14 dak show-deferred -r $webdir/stat > ${webdir}/deferred.html
15 dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates
17 # do not run show-new and other stuff in parallel
18 LOCKFILE="$lockdir/unchecked.lock"
19 if lockfile -r16 $LOCKFILE 2> /dev/null; then
20 dak show-new > /dev/null || true
25 cat removals-20*.txt > removals-full.txt
26 cat removals.txt >> removals-full.txt
27 cat removals-20*.822 > removals-full.822
28 cat removals.822 >> removals-full.822
30 $base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc -l $base/log/
31 $base/dak/tools/removals.pl $configdir/removalsrss.rc > $webdir/rss/removals.rss
34 # Tell ries to sync its tree
35 ssh -o Batchmode=yes -o ConnectTimeout=30 -o SetupTimeout=30 -2 -i ${base}/s3kr1t/pushddmirror dak@ries.debian.org sync
37 $scriptsdir/generate-di
40 # do the buildd key updates
41 BUILDDFUN=$(mktemp -p "${TMPDIR}" BUILDDFUN.XXXXXX)
42 exec >> "${BUILDDFUN}" 2>&1
43 ${scriptsdir}/buildd-remove-keys
44 ${scriptsdir}/buildd-add-keys
45 ${scriptsdir}/buildd-prepare-dir
47 for keyring in $(dak admin k list-binary); do
48 dak import-keyring --generate-users "%s" ${keyring}
53 cat "${BUILDDFUN}" | mail -a "X-Debian: DAK" -e -s "[$(hostname -s)] Buildd key changes ${DATE}" buildd-keys@ftp-master.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.debian.org