diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-06 13:01:54 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-06 13:01:54 +0100 |
commit | 6e33809f9bbaaab62f4d9ba7a76a5291a9163694 (patch) | |
tree | 47726765daa18d456c640f392b8ffd18d09f4b50 | |
parent | b0ff7149425b396fe6aa751b49bbc12be55676d1 (diff) | |
download | jenkins.debian.net-6e33809f9bbaaab62f4d9ba7a76a5291a9163694.tar.xz |
reproducible: show blacklisted percentage
-rwxr-xr-x | bin/reproducible_html_dashboard.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 037806e6..64fe8404 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -200,6 +200,7 @@ gather_suite_arch_stats() { PERCENT_NOTFORUS=$(echo "scale=1 ; ($COUNT_NOTFORUS*100/$COUNT_TOTAL)" | bc || echo 0) PERCENT_DEPWAIT=$(echo "scale=1 ; ($COUNT_DEPWAIT*100/$COUNT_TOTAL)" | bc || echo 0) PERCENT_SOURCELESS=$(echo "scale=1 ; ($COUNT_SOURCELESS*100/$COUNT_TOTAL)" | bc || echo 0) + PERCENT_BLACKLISTED=$(echo "scale=1 ; ($COUNT_BLACKLISTED*100/$COUNT_TOTAL)" | bc || echo 0) PERCENT_OTHER=$(echo "scale=1 ; ($COUNT_OTHER*100/$COUNT_TOTAL)" | bc || echo 0) } @@ -391,7 +392,7 @@ create_suite_arch_stats_page() { write_page "and those " set_icon blacklisted write_icon - write_page "$COUNT_BLACKLISTED blacklisted packages neither.</p>" + write_page "$COUNT_BLACKLISTED ($PERCENT_BLACKLISTED%) blacklisted packages neither.</p>" write_page "<p>" write_page " <a href=\"/$SUITE/$ARCH/${TABLE[0]}.png\"><img src=\"/$SUITE/$ARCH/${TABLE[0]}.png\" alt=\"${MAINLABEL[0]}\"></a>" for i in 0 2 ; do |