}
+# 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
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
$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"