X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=4d7ad846fc7d03c9b90b46e3844555cfa786a44f;hb=6a398d3580f3f6412b450e66da6df520fb3d5138;hp=f5ec8ae630ae8a42696c7e5d158c5db2c2607ac0;hpb=8c93e61298c8d126f9ceb7cdab49ae6354de74f5;p=dak.git diff --git a/config/debian/common b/config/debian/common index f5ec8ae6..4d7ad846 100644 --- a/config/debian/common +++ b/config/debian/common @@ -36,6 +36,8 @@ function make_buildd_dir () { dak manage-build-queues -a for dist in $(ls -1 ${incoming}/dists/); do + # Skip project trace directory + if [ "${dist}x" = "projectx" ]; then continue; fi cd ${incoming}/dists/${dist} mkdir -p tree/${STAMP} cp -al ${incoming}/dists/${dist}/buildd/. tree/${STAMP}/ @@ -45,6 +47,30 @@ 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 ftpmaster@ftp-master.debian.org + echo >> REPORT +} + +# These versions used in dinstall +function punew() { + if [ "${PROGRAM}" = "dinstall" ]; then + log "Doing automated p-u-new processing" + fi + cd "${queuedir}/p-u-new" + punew_do "$1" +} + +function opunew() { + if [ "${PROGRAM}" = "dinstall" ]; then + log "Doing automated o-p-u-new processing" + fi + cd "${queuedir}/o-p-u-new" + punew_do "$1" +} + # Do the unchecked processing, in case we have files. function do_unchecked () { cd $unchecked @@ -100,8 +126,8 @@ function reports() { dak queue-report | mail -a "X-Debian: DAK" -e -s "NEW and BYHAND on $(date +%D)" ftpmaster@ftp-master.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.debian.org # and one on crufty packages log "Sending information about crufty packages" - dak cruft-report > $webdir/cruft-report-daily.txt - dak cruft-report -s experimental >> $webdir/cruft-report-daily.txt + dak cruft-report -R > $webdir/cruft-report-daily.txt + dak cruft-report -R -s experimental >> $webdir/cruft-report-daily.txt cat $webdir/cruft-report-daily.txt | mail -a "X-Debian: DAK" -e -s "Debian archive cruft report for $(date +%D)" ftpmaster@ftp-master.debian.org -- -F "Debian FTP Masters" -f ftpmaster@ftp-master.debian.org }