X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.unchecked;h=0e595736659968d462a9ab1f7686a90cf3c58616;hb=a38bbf0944ab2538525a61fce64ca51c87036997;hp=7eddf086884286c2374afec91e33c1aca4c1b0ad;hpb=5bc1925a3750cbafc82703c60c5106686c8c7af4;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 7eddf086..0e595736 100644 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -2,13 +2,15 @@ set -e set -u -export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars +export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars . $SCRIPTVARS LOCKDAILY="" LOCKFILE="$lockdir/unchecked.lock" NOTICE="$lockdir/daily.lock" +if [ -e $NOTICE ]; then exit 0; fi + cleanup() { rm -f "$LOCKFILE" if [ ! -z "$LOCKDAILY" ]; then @@ -30,6 +32,9 @@ if lockfile -r3 $LOCKFILE; then dak process-unchecked -a $changes >> $report echo "--" >> $report + # sync with debbugs + $scriptsdir/ssh-move --server --ssh-identity /srv/ftp.debian.org/s3kr1t/id_debbugs-vt --ssh-move-path /home/debbugs/ssh-move --from-directory $queuedir/bts_version_track --to-directory /org/bugs.debian.org/versions/queue/ftp-master debbugs@bugs.debian.org \*.debinfo \*.versions + if lockfile -r3 $NOTICE; then LOCKDAILY="YES" psql projectb -A -t -q -c "SELECT filename FROM queue_build WHERE queue = 0 AND suite = 5 AND in_queue = true AND filename ~ 'd(sc|eb)$'" > $dbdir/dists/unstable_accepted.list