diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-01-13 19:13:09 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-13 19:13:09 +0100 |
commit | 79815e5ba072791206bad5e50047dbefd1bd904c (patch) | |
tree | aae16da76582bad4feccc085365265806072dfea | |
parent | c5ef70a783964035ca52cc1f10bf5779a3b6016b (diff) | |
download | jenkins.debian.net-79815e5ba072791206bad5e50047dbefd1bd904c.tar.xz |
reproducible: also show total number of bugs of a given usertag
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 62098437..4d585044 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -194,11 +194,14 @@ write_usertag_table() { let "COUNT+=1" VALUE=$(echo $RESULT | cut -d "|" -f$COUNT) if [ $COUNT -eq 1 ] ; then - write_page "<table class=\"body\"><tr><th colspan=\"3\">Bugs with usertags for reproducible-builds@lists.alioth.debian.org on $VALUE</th></tr>" + write_page "<table class=\"body\"><tr><th>Usertag on $VALUE</th><th>Open</th><th>Done</th><th>Total</th></tr>" elif [ $((COUNT%2)) -eq 0 ] ; then - write_page "<tr><td><a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=${FIELD:5};users=reproducible-builds@lists.alioth.debian.org&archive=both\">${FIELD:5}</a></td><td>Open: $VALUE</td>" + write_page "<tr><td><a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=${FIELD:5};users=reproducible-builds@lists.alioth.debian.org&archive=both\">${FIELD:5}</a></td><td>$VALUE</td>" + TOTAL=$VALUE else - write_page "<td>Done: $VALUE</td></tr>" + write_page "<td>$VALUE</td>" + let "TOTAL=TOTAL+VALUE" + write_page "<td>$VALUE</td></tr>" fi done write_page "</table>" |