X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config%2Fdebian%2Fcron.unchecked;h=0e595736659968d462a9ab1f7686a90cf3c58616;hb=f89e353cb89593444b3e841cadc7175a3f4e9081;hp=1282b60e8700143fd7de77a6ab7ffaf9c07fea3e;hpb=342a24f0e31c3b6637cd9926235c514f531ad604;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 1282b60e..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 @@ -43,7 +48,7 @@ if lockfile -r3 $LOCKFILE; then fi done cd $configdir - apt-ftparchive -qq generate apt.conf.buildd + apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd . $configdir/cron.buildd fi else