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

[dak/master] 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 c9363bc..d878d5f 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 48684e0..6c1b093 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 93053a4..f42738c 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.1.4


Reply to: