From: Joerg Jaspert Date: Tue, 5 Jan 2016 22:12:08 +0000 (+0100) Subject: Link tracefiles into webview X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=29f0d1a897e05749f8ce3e0fe458af50590da65d;p=dak.git Link tracefiles into webview --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 9e6b63f4..6fc9f45e 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -575,6 +575,7 @@ function mirrorpush() { ftp-master) fname="mirrorstart" pusharg="" + pname="debian" ;; debian-debug) pusharg="-a debug" @@ -584,11 +585,15 @@ function mirrorpush() { ;;& *) fname="mirrorstart.${archive}" + pname=${archive} ;; esac - date -u > /srv/ftp.debian.org/web/${fname} - echo "Using dak v1" >> /srv/ftp.debian.org/web/${fname} - echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/${fname} + mkdir -p ${webdir}/${pname}/project/trace/ + ln -sf ${mirrordir}/${archive}/project/trace/master ${webdir}/${pname}/project/trace/master + + date -u > ${webdir}/${fname} + echo "Using dak v1" >> ${webdir}/${fname} + echo "Running on host $(hostname -f)" >> ${webdir}/${fname} sudo -H -u archvsync /home/archvsync/runmirrors ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 & fi done