#
# Executed hourly via cron, out of dak's crontab.
+# Only one of me should ever run.
+[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -E 0 -en "$0" "$0"
+"$@" || :
+
set -e
set -o pipefail
set -u
fi
dak queue-report -n > $webdir/new.html
-dak queue-report -n -d backports-new > ${webdir}/backports-new.html
+dak queue-report -n -d backports-new,backports-policy > ${webdir}/backports-new.html
dak queue-report -8 -d new,byhand,stable-new,oldstable-new,backports-new -r $webdir/stat
sudo -u dak-unpriv dak show-deferred -r $webdir/stat > ${webdir}/deferred.html
dak graph -n new,byhand,stable-new,oldstable-new,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates
# cd $masterdir
# timeout -k 180 120 /usr/bin/epydoc -q --html --graph all --css blue -n DAK -o $webdir/epydoc --include-log --graph all --show-imports $masterdir/dak/ $masterdir/dakweb/ || true
-# Tell ries to sync its tree
+# Tell the public mirror to sync its tree
${scriptsdir}/sync-dd dd-sync dd-sync1 dd-sync2 sync
$scriptsdir/generate-d-i