提交 5fc83453 编写于 作者: J Joerg Jaspert

Let auto-decruft (hopefully not) destroy the archive

Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 b04b1414
......@@ -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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册