]> git.decadent.org.uk Git - dak.git/commitdiff
No longer update a tracefile hourly. Instead update our tracefile the second before...
authorJoerg Jaspert <joerg@debian.org>
Fri, 1 Jan 2010 15:51:22 +0000 (16:51 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 1 Jan 2010 15:51:22 +0000 (16:51 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.hourly
config/debian/dinstall.functions

index 6d0efb2cbdebf94dea432aba1b49b711be027845..79fafd45cc7699998cff15db492b35c1d0b3670c 100755 (executable)
@@ -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
index 751f3178362fca9f671bff848a0327a603981c69..463dec3799a5d227692d43bf3ee9c3f8622d4137 100644 (file)
@@ -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}/. .
 }