+# -*- mode:sh -*-
# Timestamp. Used for dinstall stat graphs
function ts() {
echo "Archive maintenance timestamp ($1): $(date +%H:%M:%S)"
# Process (oldstable)-proposed-updates "NEW" queue
function punew_do() {
date -u -R >> REPORT
- dak process-policy $1 | tee >> REPORT | mail -e -s "NEW changes in $1" debian-release@lists.debian.org
+ dak process-policy $1 | tee -a REPORT | mail -e -s "NEW changes in $1" debian-release@lists.debian.org
echo >> REPORT
}
function punew() {
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}/. .
}