]> err.no Git - dak/commitdiff
Refresh the wnpp bugs list on a daily basis
authorAlexander Reichle-Schmehl <alexander@schmehl.info>
Tue, 28 Sep 2010 12:09:31 +0000 (12:09 +0000)
committerAlexander Reichle-Schmehl <alexander@schmehl.info>
Tue, 28 Sep 2010 12:09:31 +0000 (12:09 +0000)
config/debian/cron.daily [new file with mode: 0755]
config/debian/crontab
daklib/utils.py

diff --git a/config/debian/cron.daily b/config/debian/cron.daily
new file mode 100755 (executable)
index 0000000..aca4cfd
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# Run at the beginning of the month via cron, out of dak's crontab.
+
+set -e
+set -u
+export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
+. $SCRIPTVARS
+
+################################################################################
+
+
+# get the latest list of wnpp bugs and their source packages
+wget -q -O/srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm  http://qa.debian.org/data/bts/wnpp_rm
+
+################################################################################
index 4c0b96932650cef52928825b1872233e2199fab3..f1bc068513951cb23d9c8ade53fb1657e5a88613 100644 (file)
@@ -6,6 +6,7 @@ PATH=/usr/local/bin:/usr/bin:/bin
 52         1,7,13,19  *   *   *   /srv/ftp-master.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,8,14,20  *   *   *   /srv/ftp-master.debian.org/dak/config/debian/cron.dinstall
+3          9          *   *   *   /srv/ftp-master.debian.org/dak/config/debian/cron.daily
 0          12         *   *   0   /srv/ftp-master.debian.org/dak/config/debian/cron.weekly
 6          0          1   *   *   /srv/ftp-master.debian.org/dak/config/debian/cron.monthly
 @reboot                           /srv/ftp-master.debian.org/dak/config/debian/cron.reboot
index 27b068e1c49d15ec9426da65f13ac49054762f2b..542ede51c8cab50c9b56fd0b09c7e15f3b5daabc 100755 (executable)
@@ -1539,7 +1539,7 @@ if which_conf_file() != default_config:
 
 ################################################################################
 
-def parse_wnpp_bug_file(file = "/home/tolimar/wnpp-bugs"):
+def parse_wnpp_bug_file(file = "/srv/ftp-master.debian.org/scripts/masterfiles/wnpp_rm"):
     """
     Parses the wnpp bug list available at http://qa.debian.org/data/bts/wnpp_rm
     Well, actually it parsed a local copy, but let's document the source