[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Move urgency log from release.d.o to our web dir



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 | 6 ++++++
 config/debian/daily.tasks     | 1 +
 config/debian/dak.conf        | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/config/debian/daily.functions b/config/debian/daily.functions
index e6d6f2f..b5da4ee 100644
--- a/config/debian/daily.functions
+++ b/config/debian/daily.functions
@@ -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
+}
diff --git a/config/debian/daily.tasks b/config/debian/daily.tasks
index 51c4e5d..dfc2c90 100644
--- a/config/debian/daily.tasks
+++ b/config/debian/daily.tasks
@@ -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
diff --git a/config/debian/dak.conf b/config/debian/dak.conf
index 7e3f932..a7e34cb 100644
--- a/config/debian/dak.conf
+++ b/config/debian/dak.conf
@@ -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/";
-- 
2.1.4



Reply to: