From a5f012fc23024078b91ee10dfdd077120cde74c9 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 26 May 2016 16:39:32 +0200 Subject: [PATCH] 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 --- 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 e6d6f2fb..b5da4ee9 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 51c4e5d6..dfc2c903 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 7e3f932d..a7e34cba 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.39.5