From 24b9f531050a5570750d60c082c4412de9ec9cb1 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 22 Dec 2009 23:32:32 +0100 Subject: [PATCH] process-policy reenable automated processing of (o-)p-u-new. mail possible output to the release team. Signed-off-by: Joerg Jaspert --- 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 7c763def..cf25522c 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 e921563a..91825e7d 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" } -- 2.39.5