reenable automated processing of (o-)p-u-new.
mail possible output to the release team.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
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"
# 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"
}