X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=84640e2a6e7eddac3d33e825f40939e9f3bb04a0;hb=2c070e8e93167b48816a0af8e59e79f82cf293cd;hp=61559515c04620b0b1c45f09ee6ba22a422ca0b3;hpb=33ae2c253742285f9ce7b8bb37a53415eb65260f;p=dak.git diff --git a/config/debian/common b/config/debian/common index 61559515..84640e2a 100644 --- a/config/debian/common +++ b/config/debian/common @@ -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