From e05ab9644b369d6a7790048079bd29a85a72442c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 26 Nov 2015 11:13:51 +0100 Subject: reproducible: also show the sum for all usertagged bugs excluding those tagged ftbfs --- bin/reproducible_html_dashboard.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 594e3182..57395372 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -267,7 +267,14 @@ write_usertag_table() { let "TTOTAL=TTOTAL+TOTAL" fi done - write_page "Total number of usertags related to reproducible builds on $DATE
(this is not the number of bugs as bugs can have several tags)$TOPEN$TDONE$TTOTAL" + # now subtract the ftbfs bugs again (=the last value) + # as those others are the ones we really care about + let "REPRODUCIBLE_TOPEN=TOPEN-VALUE" + let "REPRODUCIBLE_TDONE=TDONE-VALUE" + let "REPRODUCIBLE_TTOTAL=REPRODUCIBLE_TOPEN+REPRODUCIBLE_TDONE" + write_page "Sum of bugs with usertags related to reproducible builds, excluding those tagged 'ftbfs'$REPRODUCIBLE_TOPEN$REPRODUCIBLE_TDONE$REPRODUCIBLE_TTOTAL" + write_page "Sum of all bugs with usertags related to reproducible builds$TOPEN$TDONE$TTOTAL" + write_page "Stats are from $DATE.
The sums of usertags shown are not equivalent to the sum of bugs as a single bug can have several tags." write_page "" fi } -- cgit v1.2.3-70-g09d2