]> git.decadent.org.uk Git - dak.git/commitdiff
process-policy
authorJoerg Jaspert <joerg@debian.org>
Tue, 22 Dec 2009 22:32:32 +0000 (23:32 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 22 Dec 2009 22:32:32 +0000 (23:32 +0100)
reenable automated processing of (o-)p-u-new.
mail possible output to the release team.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall
config/debian/dinstall.functions

index 7c763defb90a702e76b63aa60332385ad5347342..cf25522c43c4caccca8c0b1779905bd08f284dae 100755 (executable)
@@ -198,20 +198,18 @@ stage $GO &
 GO=(
     FUNC="punew"
     TIME="p-u-new"
-    ARGS="p-u-new"
-    ERR=""
+    ARGS="proposedupdates"
+    ERR="false"
 )
-### TODO: policy-new
-#stage $GO
+stage $GO
 
 GO=(
     FUNC="opunew"
     TIME="o-p-u-new"
-    ARGS="o-p-u-new"
-    ERR=""
+    ARGS="oldproposedupdates"
+    ERR="false"
 )
-### TODO: policy-new
-#stage $GO
+stage $GO
 
 GO=(
     FUNC="i18n1"
index e921563a7d9b31263855339c0a581ea376cc18b9..91825e7deaefdfb83a97bee36a64dffaa734911b 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 >> 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"
 }