Add a timestamp to the cruft-report
authorEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 27 May 2016 10:35:20 +0000 (12:35 +0200)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Fri, 27 May 2016 10:35:20 +0000 (12:35 +0200)
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
config/debian/common

index a8f56dd..62ec9a1 100755 (executable)
@@ -225,6 +225,7 @@ function reports() {
     log "Sending information about crufty packages"
     dak cruft-report -R > $webdir/cruft-report-daily.txt.new
     dak cruft-report -R -s experimental >> $webdir/cruft-report-daily.txt.new
+    echo "Page generated on $(date -u)" >> $webdir/cruft-report-daily.txt.new
     mv $webdir/cruft-report-daily.txt.new $webdir/cruft-report-daily.txt
     mail -a "X-Debian: DAK" -e -s "Debian archive cruft report for $(date +%D)" -a "From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>" ftpmaster@ftp-master.debian.org < $webdir/cruft-report-daily.txt
 }