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

[dak/master] process-policy



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      |   14 ++++++--------
 config/debian/dinstall.functions |    5 +++--
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index 7c763de..cf25522 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -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"
diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index e921563..91825e7 100644
--- a/config/debian/dinstall.functions
+++ b/config/debian/dinstall.functions
@@ -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"
 }
 
-- 
1.6.5


Reply to: