X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=c20f4d1da3add2861129c7904f9cd26d2c4fb81b;hb=aadee5e8b1506ac0a14bfe2d0d0e0bcbf25a7376;hp=30e81b59e0d8a20af82871e1ed56117272133f7b;hpb=92d4158d336cc081cfa77377641385b84b44a3db;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 30e81b59..c20f4d1d 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -10,9 +10,16 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars dak import-users-from-passwd dak queue-report -n > $webdir/new.html -dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -dak show-deferred > ${webdir}/deferred.html -dak show-new > /dev/null +dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat +dak show-deferred -r $webdir/stat > ${webdir}/deferred.html +dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates + +# do not run show-new and other stuff in parallel +LOCKFILE="$lockdir/unchecked.lock" +if lockfile -r16 $LOCKFILE 2> /dev/null; then + dak show-new > /dev/null + rm -f $LOCKFILE +fi cd $webdir cat removals-20*.txt > removals-full.txt @@ -23,4 +30,7 @@ cat removals.822 >> removals-full.822 $base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc -l $base/log/ $base/dak/tools/removals.pl $configdir/removalsrss.rc > $webdir/rss/removals.rss +# Tell ries to sync its tree +ssh -o Batchmode=yes -o ConnectTimeout=30 -o SetupTimeout=30 -2 -i ${base}/s3kr1t/pushddmirror dak@ries.debian.org sync + $scriptsdir/generate-di