From 2227d1465f3e49a0de0d1b2efb178420abc5a856 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 13 Jun 2015 15:00:17 +0200 Subject: [PATCH] autocruft: Report NVIU removals. --- config/debian/dinstall.functions | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 33931b2b..390c23b7 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -109,14 +109,12 @@ function dominate() { function autocruft() { log "Check for obsolete binary packages" - local suites=${1:-"unstable experimental"} # 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} - for suite in ${suites}; do - dak auto-decruft -n -s ${suite} >> ${report} - done + 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 " -c niels@thykier.net ftpmaster@ftp-master.debian.org } -- 2.39.5