From 891e1ef72e79a6b566a9230b3d471ccab7e9348f Mon Sep 17 00:00:00 2001
From: Joerg Jaspert <joerg@debian.org>
Date: Wed, 30 Dec 2015 15:04:44 +0100
Subject: [PATCH] A bit more logging, and newoverview in hourly runs
 backgrounded

---
 config/debian/common           | 2 ++
 config/debian/hourly.functions | 2 +-
 config/debian/hourly.tasks     | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/debian/common b/config/debian/common
index c9363bc8..d878d5f5 100644
--- a/config/debian/common
+++ b/config/debian/common
@@ -164,8 +164,10 @@ function do_new () {
     log "Doing NEW processing"
     (dak process-policy new; dak process-policy byhand) | mail -a "X-Debian: DAK" -e -s "NEW and BYHAND processing" -a "From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>" ftpmaster@ftp-master.debian.org
 
+    log "Processing Backports NEW"
     dak process-policy backports-new | mail -a "X-Debian: DAK" -e -s "NEW processing for backports-new" -a "From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>" backports-team@debian.org
 
+    log "Cleanup NEW/Backports NEW"
     dak clean-suites -a new,backports-new
 }
 
diff --git a/config/debian/hourly.functions b/config/debian/hourly.functions
index 48684e08..6c1b093c 100644
--- a/config/debian/hourly.functions
+++ b/config/debian/hourly.functions
@@ -7,9 +7,9 @@ function importusers() {
 function newoverview() {
     # do not run show-new and other stuff in parallel
     if lockfile -r16 $LOCK_UNCHECKED 2> /dev/null; then
-        log "Creating new overview"
         TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}"
         do_new
+        log "Output html for packages in NEW"
         dak show-new > /dev/null || true
         cleantempfiles
     fi
diff --git a/config/debian/hourly.tasks b/config/debian/hourly.tasks
index 93053a47..f42738ca 100644
--- a/config/debian/hourly.tasks
+++ b/config/debian/hourly.tasks
@@ -1,6 +1,6 @@
 # FUNC                 ARGS                       TIME                       ERR     BG
 importusers            none                       none                       false   false
-newoverview            none                       none                       false   false
+newoverview            none                       none                       false   true
 queuereport            none                       none                       false   true
 removalstxt            none                       none                       false   true
 rss                    none                       none                       false   true
-- 
2.39.5