From: Joerg Jaspert Date: Fri, 1 Jan 2010 15:51:22 +0000 (+0100) Subject: No longer update a tracefile hourly. Instead update our tracefile the second before... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fbe76ca4e30a4515d2111a27d3067259f890355;p=dak No longer update a tracefile hourly. Instead update our tracefile the second before we create the mirror hardlinks Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 6d0efb2c..79fafd45 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -7,9 +7,6 @@ set -u export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars . $SCRIPTVARS -date -u > $ftpdir/project/trace/ftp-master.debian.org -echo "Using dak v1" >> $ftpdir/project/trace/ftp-master.debian.org -echo "Running on host: $(hostname -f)" >> $ftpdir/project/trace/ftp-master.debian.org dak import-users-from-passwd dak queue-report -n > $webdir/new.html # We used to have accepted in here, but it doesn't exist in that form any more diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 751f3178..463dec37 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -1,3 +1,4 @@ +# -*- mode:sh -*- # Timestamp. Used for dinstall stat graphs function ts() { echo "Archive maintenance timestamp ($1): $(date +%H:%M:%S)" @@ -389,6 +390,9 @@ function mkchecksums() { function mirror() { log "Regenerating \"public\" mirror/ hardlink fun" + date -u > ${ftpdir}/project/trace/ftp-master.debian.org + echo "Using dak v1" >> ${ftpdir}/project/trace/ftp-master.debian.org + echo "Running on host: $(hostname -f)" >> ${ftpdir}/project/trace/ftp-master.debian.org cd ${mirrordir} rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. . }