[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: show bullseye stats in dashbboard page (not buster anymore)
Holger Levsen
gitlab at salsa.debian.org
Wed Jan 22 20:40:23 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
db5cf9c0 by Holger Levsen at 2020-01-22T21:37:59+01:00
reproducible Debian: show bullseye stats in dashbboard page (not buster anymore)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
fcc1401b by Holger Levsen at 2020-01-22T21:40:09+01:00
reproducible Debian: refactor: rename variable
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_html_dashboard.sh
Changes:
=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set noexpandtab:
-# Copyright 2014-2019 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2020 Holger Levsen <holger at layer-acht.org>
# © 2015 Mattia Rizzolo <mattia at mapreri.org>
# released under the GPLv2
@@ -566,10 +566,10 @@ create_dashboard_page() {
local TD_PKG_SID_FTBR="<tr><td class=\"left\"> - unreproducible ones</a></td><td></td>"
local TD_PKG_SID_FTBFS="<tr><td class=\"left\"> - failing to build</a></td><td></td>"
local TD_PKG_SID_ISSUES="<tr><td class=\"left\">packages in unstable which need to be fixed</td><td></td>"
- local TD_PKG_BUSTER_NOISSUES="<tr><td class=\"left\">packages in buster with issues but without identified ones</td><td></td>"
- local TD_PKG_BUSTER_FTBR="<tr><td class=\"left\"> - unreproducible ones</a></td><td></td>"
- local TD_PKG_BUSTER_FTBFS="<tr><td class=\"left\"> - failing to build</a></td><td></td>"
- local TD_PKG_BUSTER_ISSUES="<tr><td class=\"left\">packages in buster which need to be fixed</td><td></td>"
+ local TD_PKG_TESTING_NOISSUES="<tr><td class=\"left\">packages in bullseye with issues but without identified ones</td><td></td>"
+ local TD_PKG_TESTING_FTBR="<tr><td class=\"left\"> - unreproducible ones</a></td><td></td>"
+ local TD_PKG_TESTING_FTBFS="<tr><td class=\"left\"> - failing to build</a></td><td></td>"
+ local TD_PKG_TESTING_ISSUES="<tr><td class=\"left\">packages in bullseye which need to be fixed</td><td></td>"
for ARCH in ${ARCHS} ; do
SUITE="unstable"
gather_suite_arch_stats
@@ -581,25 +581,25 @@ create_dashboard_page() {
TD_PKG_SID_FTBR="$TD_PKG_SID_FTBR<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
RESULT=$(query_db "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status='FTBFS' AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH') tmp")
TD_PKG_SID_FTBFS="$TD_PKG_SID_FTBFS<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
-
- SUITE="buster"
+ # define next stable release here:
+ SUITE="bullseye"
gather_suite_arch_stats
- TD_PKG_BUSTER_ISSUES="$TD_PKG_BUSTER_ISSUES<td>$(echo $COUNT_BAD + $COUNT_UGLY |bc) / $(echo $PERCENT_BAD + $PERCENT_UGLY|bc)%</td>"
+ TD_PKG_TESTING_ISSUES="$TD_PKG_TESTING_ISSUES<td>$(echo $COUNT_BAD + $COUNT_UGLY |bc) / $(echo $PERCENT_BAD + $PERCENT_UGLY|bc)%</td>"
RESULT=$(query_db "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status IN ('FTBR', 'FTBFS', 'blacklisted') AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH') tmp")
- TD_PKG_BUSTER_NOISSUES="$TD_PKG_BUSTER_NOISSUES<td><a href=\"/debian/$SUITE/$ARCH/index_no_notes.html\">$RESULT</a> / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
+ TD_PKG_TESTING_NOISSUES="$TD_PKG_TESTING_NOISSUES<td><a href=\"/debian/$SUITE/$ARCH/index_no_notes.html\">$RESULT</a> / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
RESULT=$(query_db "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status='FTBR' AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH') tmp")
- TD_PKG_BUSTER_FTBR="$TD_PKG_BUSTER_FTBR<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
+ TD_PKG_TESTING_FTBR="$TD_PKG_TESTING_FTBR<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
RESULT=$(query_db "SELECT COUNT(*) FROM (SELECT s.id FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE r.status='FTBFS' AND s.id NOT IN (SELECT package_id FROM notes) AND s.suite='$SUITE' AND s.architecture='$ARCH') tmp")
- TD_PKG_BUSTER_FTBFS="$TD_PKG_BUSTER_FTBFS<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
+ TD_PKG_TESTING_FTBFS="$TD_PKG_TESTING_FTBFS<td>$RESULT / $(echo "scale=1 ; ($RESULT*100/$COUNT_TOTAL)" | bc)%</td>"
done
write_page "$TD_PKG_SID_NOISSUES</tr>"
write_page "$TD_PKG_SID_FTBR</tr>"
write_page "$TD_PKG_SID_FTBFS</tr>"
write_page "$TD_PKG_SID_ISSUES</tr>"
- write_page "$TD_PKG_BUSTER_NOISSUES</tr>"
- write_page "$TD_PKG_BUSTER_FTBR</tr>"
- write_page "$TD_PKG_BUSTER_FTBFS</tr>"
- write_page "$TD_PKG_BUSTER_ISSUES</tr>"
+ write_page "$TD_PKG_TESTING_NOISSUES</tr>"
+ write_page "$TD_PKG_TESTING_FTBR</tr>"
+ write_page "$TD_PKG_TESTING_FTBFS</tr>"
+ write_page "$TD_PKG_TESTING_ISSUES</tr>"
ARCH="amd64"
SUITE="unstable"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/64a062e3dd5b5ede4a7805a800be35ae6deecfbc...fcc1401b446fa4608416a907f30b2364254f9b29
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/64a062e3dd5b5ede4a7805a800be35ae6deecfbc...fcc1401b446fa4608416a907f30b2364254f9b29
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200122/7851bdf5/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list