Move urgency log from release.d.o to our web dir
authorJulien Cristau <jcristau@debian.org>
Thu, 26 May 2016 14:39:32 +0000 (16:39 +0200)
committerJulien Cristau <jcristau@debian.org>
Thu, 26 May 2016 14:39:32 +0000 (16:39 +0200)
And clean it up ourselves after a while instead of relying on the
release user for that.

Signed-off-by: Julien Cristau <jcristau@debian.org>
config/debian/daily.functions
config/debian/daily.tasks
config/debian/dak.conf

index e6d6f2f..b5da4ee 100644 (file)
@@ -58,3 +58,9 @@ function contributor() {
     log "----"
     rm -f ${TMPCNTB}.result
 }
+
+# Clean up urgency log
+function cleanurgencylog() {
+    log "Cleaning up urgency log"
+    find /srv/ftp.debian.org/web/britney/urgencies -type -f -mtime +365 -delete
+}
index 51c4e5d..dfc2c90 100644 (file)
@@ -7,3 +7,4 @@ clean_debbugs          none                       none                       fal
 overridedisp           none                       none                       false   false
 newstats               none                       none                       false   false
 contributor            none                       none                       false   false
+cleanurgencylog        none                       none                       false   false
index 7e3f932..a7e34cb 100644 (file)
@@ -218,7 +218,7 @@ Dir
   Lock "/srv/ftp-master.debian.org/lock";
   Morgue "/srv/ftp-master.debian.org/morgue/";
   Override "/srv/ftp-master.debian.org/scripts/override/";
-  UrgencyLog "/srv/release.debian.org/britney/input/urgencies/";
+  UrgencyLog "/srv/ftp.debian.org/web/britney/urgencies/";
   TempPath "/srv/ftp-master.debian.org/tmp/";
   BTSVersionTrack "/srv/ftp-master.debian.org/queue/bts_version_track/";
   Done "/srv/ftp-master.debian.org/queue/done/";