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

[dak/master] Let auto-decruft (hopefully not) destroy the archive



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/debian/dinstall.functions | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index 390c23b..e50a64c 100644
--- a/config/debian/dinstall.functions
+++ b/config/debian/dinstall.functions
@@ -109,13 +109,8 @@ function dominate() {
 
 function autocruft() {
     log "Check for obsolete binary packages"
-    # Initially only run with -n and output into a file, to check.
-    local dstamp=$(date -u +"%Y-%m-%d_%H:%M")
-    local report=${webdir}/auto-cruft-report_${dstamp}.txt
-    echo "Report for ${dstamp}" > ${report}
-    dak auto-decruft -n -s unstable >> ${report}
-    dak auto-decruft -n -s experimental --if-newer-version-in unstable --if-newer-version-in-rm-msg "NVIU" >> ${report}
-    cat ${report} | mail -a "X-Debian: DAK" -e -s "Debian archive AUTOMATIC cruft report for ${dstamp}" -a "From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>" -c niels@thykier.net ftpmaster@ftp-master.debian.org
+    dak auto-decruft -s unstable
+    dak auto-decruft -s experimental --if-newer-version-in unstable --if-newer-version-in-rm-msg "NVIU"
 }
 
 function fingerprints() {
-- 
2.1.4


Reply to: