X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.unchecked;h=d41d573d6377d4b8c1fc04ebdc678956facf530a;hb=459c6eaf4425915f363530216cd239fe9d8d0f9d;hp=41b664016126c642d12d7bb159d038e9f99f5516;hpb=b3248adf17c83c4a2cf3d7c7b60b6f538e6c0726;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 41b66401..d41d573d 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -5,6 +5,9 @@ set -u export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars . $SCRIPTVARS +# common functions are "outsourced" +. "${configdir}/common" + LOCKDAILY="" LOCKFILE="$lockdir/unchecked.lock" NOTICE="$lockdir/daily.lock" @@ -31,7 +34,7 @@ if lockfile -r3 $LOCKFILE; then if [ ! -z "$changes" ]; then echo "$timestamp": "$changes" >> $report - dak process-unchecked -a $changes >> $report + dak process-unchecked -a -d "$unchecked" >> $report echo "--" >> $report # sync with debbugs @@ -56,20 +59,7 @@ if lockfile -r3 $LOCKFILE; then cat override.sid.$i.src >> override.sid.all3.src fi done - cd $configdir - apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd - - cd ${incoming} - rm -f buildd/Release* - apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="Debian" -o APT::FTPArchive::Release::Label="Debian" -o APT::FTPArchive::Release::Description="buildd incoming" -o APT::FTPArchive::Release::Architectures="${archs}" release buildd > Release - gpg --secret-keyring /srv/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg --keyring /srv/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 6070D3A1 --detach-sign -o Release.gpg Release - mv Release* buildd/. - - cd ${incoming} - mkdir -p tree/${STAMP} - cp -al ${incoming}/buildd/. tree/${STAMP}/ - ln -sfT tree/${STAMP} ${incoming}/builddweb - find ./tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf + make_buildd_dir . $configdir/cron.buildd fi