X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=751f3178362fca9f671bff848a0327a603981c69;hb=76f197bc13c6c094f9687f87b1c475330f3771fa;hp=19d62ed09afa15883c8c376978fa0f1818853480;hpb=e6c5d6798be7831cc5e8f294328b9ffe4aa510d2;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 19d62ed0..751f3178 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 -a 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" } @@ -392,11 +393,6 @@ function mirror() { rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. . } -function wb() { - log "Trigger daily wanna-build run" - wbtrigger "daily" -} - function expire() { log "Expiring old database dumps..." cd $base/backup @@ -546,6 +542,13 @@ function process_unchecked() { sync_debbugs } +# do a run of newstage only before dinstall is on. +function newstage() { + log "Processing the newstage queue" + UNCHECKED_WITHOUT_LOCK="-p" + do_newstage +} + # Function to update a "statefile" telling people what we are doing # (more or less). #