From: Julien Cristau Date: Thu, 26 May 2016 14:39:32 +0000 (+0200) Subject: Move urgency log from release.d.o to our web dir X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=a5f012fc23024078b91ee10dfdd077120cde74c9 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 --- 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/";