]> git.decadent.org.uk Git - dak.git/commitdiff
removals, crontab
authorJoerg Jaspert <joerg@debian.org>
Wed, 20 Jan 2010 22:19:30 +0000 (23:19 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 20 Jan 2010 22:19:30 +0000 (23:19 +0100)
add generation of removals-full.txt, doesnt need to be in my own
crontab.
also add the crontab into VCS, even though crontab is not yet
automagically updated from VCS.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.hourly
config/debian/crontab [new file with mode: 0644]
web/index.html

index 4dab8d88e00c50379d851995fb3566e7e3b22a01..334523748aad60bf849ecad139d9043eb36b72c8 100755 (executable)
@@ -4,15 +4,20 @@
 
 set -e
 set -u
+
 export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
 . $SCRIPTVARS
 
 dak import-users-from-passwd
 dak queue-report -n > $webdir/new.html
-# We used to have accepted in here, but it doesn't exist in that form any more
 dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates
 dak show-deferred > ${webdir}/deferred.html
 dak show-new > /dev/null
+
+cd $webdir
+cat removals-20*.txt > removals-full.txt
+cat removals.txt >> removals-full.txt
+
 $base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc -l $base/log/
 $base/dak/tools/removals.pl > $webdir/rss/removals.rss
 
diff --git a/config/debian/crontab b/config/debian/crontab
new file mode 100644 (file)
index 0000000..f7f6812
--- /dev/null
@@ -0,0 +1,18 @@
+MAILTO=cron@ftp-master.debian.org
+PATH=/usr/local/bin:/usr/bin:/bin
+# m        h          dom mon dow command
+2,17,32,47 *          *   *   *   /srv/ftp.debian.org/dak/config/debian/cron.unchecked
+0          *          *   *   *   /srv/ftp.debian.org/dak/config/debian/cron.hourly
+52         1,7,13,19  *   *   *   /srv/ftp.debian.org/dak/config/debian/cron.dinstall
+#### And an alternate line, for the times the release team wants it half an hour late.
+####22         2,9,14,20  *   *   *   /srv/ftp.debian.org/dak/config/debian/cron.dinstall
+0          12         *   *   0   /srv/ftp.debian.org/dak/config/debian/cron.weekly
+6          0          1   *   *   /srv/ftp.debian.org/dak/config/debian/cron.monthly
+@reboot                           /srv/ftp.debian.org/dak/config/debian/cron.reboot
+
+0          0          *   *   *   crontab -l > ~/crontab.out
+
+# We do like our queued and make sure it will always be there.
+# Luckily it checks itself and doesn't start if it already runs
+@reboot /srv/queued/debianqueued-0.9/debianqueued
+*/10        *          *   *   *   /srv/queued/debianqueued-0.9/debianqueued 2>/dev/null
index 32f2f82feb9aa0ef533e65a51389ad2cf7fa17a4..e0d6a100ece4d5592c51b1a19d772d4701548d96 100644 (file)
                 <li><a href="removals-2006.txt">log of removals for 2006</a></li>
                 <li><a href="removals-2007.txt">log of removals for 2007</a></li>
                 <li><a href="removals-2008.txt">log of removals for 2008</a></li>
+                <li><a href="removals-2008.txt">log of removals for 2009</a></li>
             </ul>
                <p>
                        Additionally we provide a <a href="removals-full.txt">full