提交 c6701657 编写于 作者: J Joerg Jaspert

Produce DEFERRED queue overviews again, closes: #843168

上级 ce6953e8
......@@ -31,7 +31,7 @@ function queuereport() {
do_report ${webdir}/backports-new.html "-n -d backports-new,backports-policy"
dak queue-report -8 -d new,byhand,stable-new,oldstable-new,backports-new -r ${webdir}/stat
log "Graphs about the queues"
dak graph -n new,byhand,stable-new,oldstable-new,backports-new -r ${webdir}/stat -i ${webdir}/stat -x ${scriptsdir}/rrd-release-freeze-dates
dak graph -n new,byhand,stable-new,oldstable-new,deferred,backports-new -r ${webdir}/stat -i ${webdir}/stat -x ${scriptsdir}/rrd-release-freeze-dates
}
function removalstxt() {
......
......@@ -17,3 +17,18 @@ Host queue-coccia
Hostname coccia.debian.org
User dak
IdentityFile /srv/upload.debian.org/s3kr1t/sync_queuedirs
Host defsync
Hostname fasolo.debian.org
User dak
IdentityFile /srv/upload.debian.org/s3kr1t/sync_defdir
Host deffsync
Hostname fasolo.debian.org
User dak
IdentityFile /srv/upload.debian.org/s3kr1t/sync_deffile
Host rrdsync
Hostname fasolo.debian.org
User dak
IdentityFile /srv/upload.debian.org/s3kr1t/sync_rrd
......@@ -94,7 +94,7 @@ def table_header():
"""
def table_footer():
return '</table><br/><p>non-NEW uploads are <a href="/deferred/">available</a> (<a href="/deferred/status">machine readable version</a>), see the <a href="ftp://ftp-master.debian.org/pub/UploadQueue/README">UploadQueue-README</a> for more information.</p></center><br/>\n'
return '</table><br/><p>non-NEW uploads are <a href="/deferred/">available</a> (<a href="/deferred/status">machine readable version</a>), see the <a href="ftp://ftp.upload.debian.org/pub/UploadQueue/README">UploadQueue-README</a> for more information.</p></center><br/>\n'
def table_row(changesname, delay, changed_by, closes, fingerprint):
global row_number
......
#!/bin/bash
set -e
set -u
DEFDIR="/srv/ftp-master.debian.org/deferred"
STATDIR="/srv/ftp-master.debian.org/stat"
DEFFILE="/srv/ftp-master.debian.org/html/deferred.html"
# First generate the deferred stuff
dak show-deferred -r ${STATDIR} > ${DEFFILE}
# Now send it over to fasolo
# The files want to change from symlinks to files.
rsync -a -L -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${DEFDIR}/. defsync:/does/not/matter
rsync -a -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${DEFFILE} deffsync:/does/not/matter
rsync -a -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${STATDIR}/deferred.rrd rrdsync:/does/not/matter
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册