提交 2c070e8e 编写于 作者: M Mark Hymers

Run policy from unchecked as well as dinstall

Signed-off-by: NMark Hymers <mhy@debian.org>
上级 df7aa02e
......@@ -47,6 +47,26 @@ function make_buildd_dir () {
}
# Process (oldstable)-proposed-updates "NEW" queue
function punew_do() {
date -u -R >> REPORT
dak process-policy $1 | tee -a REPORT | mail -a "X-Debian: DAK" -e -s "NEW changes in $1" debian-release@lists.debian.org -- -F "Debian FTP Masters" -f
echo >> REPORT
}
# These versions used in dinstall
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"
}
# Do the unchecked processing, in case we have files.
function do_unchecked () {
cd $unchecked
......
......@@ -97,7 +97,15 @@ trap cleanup 0
pg_timestamp preunchecked >/dev/null
# Process policy queues
punew proposedupdates
opunew oldproposedupdates
# Now process the NEW staging area
do_newstage
# Finally deal with unchecked
do_unchecked
if [ ! -z "$changes" ]; then
......
......@@ -53,23 +53,6 @@ function updates() {
$scriptsdir/update-pseudopackages.sh
}
# Process (oldstable)-proposed-updates "NEW" queue
function punew_do() {
date -u -R >> REPORT
dak process-policy $1 | tee -a REPORT | mail -a "X-Debian: DAK" -e -s "NEW changes in $1" debian-release@lists.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.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"
}
# The first i18n one, syncing new descriptions
function i18n1() {
log "Synchronizing i18n package descriptions"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册