]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.functions
Merge remote branch 'twerner/msfl' into merge
[dak.git] / config / debian / dinstall.functions
index e921563a7d9b31263855339c0a581ea376cc18b9..751f3178362fca9f671bff848a0327a603981c69 100644 (file)
@@ -71,17 +71,18 @@ function updates() {
 
 # Process (oldstable)-proposed-updates "NEW" queue
 function punew_do() {
-    cd "${queuedir}/${1}"
     date -u -R >> REPORT
-    dak process-new -a -C COMMENTS >> REPORT || true
+    dak process-policy $1 | tee -a REPORT | mail -e -s "NEW changes in $1" debian-release@lists.debian.org
     echo >> REPORT
 }
 function punew() {
     log "Doing automated p-u-new processing"
+    cd "${queuedir}/p-u-new"
     punew_do "$1"
 }
 function opunew() {
     log "Doing automated o-p-u-new processing"
+    cd "${queuedir}/o-p-u-new"
     punew_do "$1"
 }
 
@@ -541,6 +542,13 @@ function process_unchecked() {
     sync_debbugs
 }
 
+# do a run of newstage only before dinstall is on.
+function newstage() {
+    log "Processing the newstage queue"
+    UNCHECKED_WITHOUT_LOCK="-p"
+    do_newstage
+}
+
 # Function to update a "statefile" telling people what we are doing
 # (more or less).
 #