X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=config%2Fdebian%2Fhourly.functions;h=6c1b093cf979802041091d0dc9ca3a0fec7e1657;hp=5a4331023b1e61135dd2c4ecdc6b6c9128383103;hb=891e1ef72e79a6b566a9230b3d471ccab7e9348f;hpb=e65fe609400677be4ee3429e7251184b2fbc178e diff --git a/config/debian/hourly.functions b/config/debian/hourly.functions index 5a433102..6c1b093c 100644 --- a/config/debian/hourly.functions +++ b/config/debian/hourly.functions @@ -7,19 +7,23 @@ function importusers() { function newoverview() { # do not run show-new and other stuff in parallel if lockfile -r16 $LOCK_UNCHECKED 2> /dev/null; then - TEMPFILES="${TEMPFILES} ${LOCK_UNCHECKED}" + TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}" do_new + log "Output html for packages in NEW" dak show-new > /dev/null || true + cleantempfiles fi - cleantempfiles } function queuereport() { + log "Creating queue reports, new/backports-new, 822 format" dak queue-report -n > ${webdir}/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 + log "Deferred queue overview" 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 + log "Graphs about the queues" + dak graph -n new,byhand,stable-new,oldstable-new,deferred,backports-new -r ${webdir}/stat -i ${webdir}/stat -x $scriptsdir/rrd-release-freeze-dates } function removalstxt() { @@ -31,7 +35,9 @@ function removalstxt() { } function rss() { + log "NEW RSS feed" $base/dak/tools/queue_rss.py -q $queuedir/new -o ${webdir}/rss/ -d $base/misc -l $base/log/ + log "Removals RSS feed" $base/dak/tools/removals.pl $configdir/removalsrss.rc > ${webdir}/rss/removals.rss } @@ -49,7 +55,7 @@ function backportsacl() { # do the buildd key updates function builddautosigning() { BUILDDFUN=$(mktemp -p "${TMPDIR}" BUILDDFUN.XXXXXX) - TEMPFILES="${TEMPFILEs} ${BUILDDFUN}" + TMPFILES="${TMPFILES} ${BUILDDFUN}" exec >> "${BUILDDFUN}" 2>&1 ${scriptsdir}/buildd-remove-keys ${scriptsdir}/buildd-add-keys