]> git.donarmstrong.com Git - dak.git/blobdiff - config/backports/common
only nag once a day
[dak.git] / config / backports / common
index be0bd4ccb6b69651110273604f393ee1b1f97949..2c7b76ba366b320a074dab046bc963480ae5b7a6 100644 (file)
@@ -90,3 +90,14 @@ function sync_debbugs () {
         log "Kids, you tried your best and you failed miserably. The lesson is, never try. (Homer Simpson)"
     fi
 }
+
+function reports() {
+    # Send a report on NEW/BYHAND packages
+    log "Nagging ftpteam about NEW/BYHAND packages"
+    dak queue-report | mail -e -s "NEW and BYHAND on $(date +%D)" team@backports.debian.org
+    # and one on crufty packages
+    log "Sending information about crufty packages"
+    dak cruft-report > $webdir/cruft-report-daily.txt
+#    dak cruft-report -s experimental >> $webdir/cruft-report-daily.txt
+    cat $webdir/cruft-report-daily.txt | mail -e -s "Debian archive cruft report for $(date +%D)" team@backports.debian.org
+}