5 export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars
9 LOCKFILE="$lockdir/unchecked.lock"
10 NOTICE="$lockdir/daily.lock"
12 if [ -e $NOTICE ]; then exit 0; fi
16 if [ ! -z "$LOCKDAILY" ]; then
21 # only run one cron.unchecked
22 if lockfile -r3 $LOCKFILE; then
26 changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
27 report=$queuedir/REPORT
28 timestamp=$(date "+%Y-%m-%d %H:%M")
30 if [ ! -z "$changes" ]; then
31 echo "$timestamp": "$changes" >> $report
32 dak process-unchecked -a $changes >> $report
36 $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
38 if lockfile -r3 $NOTICE; then
40 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
42 dak make-overrides &>/dev/null
43 rm -f override.sid.all3 override.sid.all3.src
44 for i in main contrib non-free main.debian-installer; do
45 cat override.sid.$i >> override.sid.all3
46 if [ "$i" != "main.debian-installer" ]; then
47 cat override.sid.$i.src >> override.sid.all3.src
51 apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate apt.conf.buildd
52 . $configdir/cron.buildd
55 echo "$timestamp": Nothing to do >> $report