[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Revert "reproducible Debian: put done bugs ob the bottom of the bugs graph"

Holger Levsen holger at layer-acht.org
Thu Feb 9 20:44:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c870a7ba5a613324fee3bc60ceb055754e7d9013
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Feb 9 21:32:16 2017 +0100

    Revert "reproducible Debian: put done bugs ob the bottom of the bugs graph"
    
    This reverts commit 59a5d49a07adf1866a347340dd6fbebc1f8d0211 and first
    this reverts commit f794313de062993754e7274ccd5061ab0109bb3b.
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_dashboard.sh | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index faba215..928f1fd 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -31,18 +31,16 @@ for i in reproducible unreproducible FTBFS other ; do
 done
 FIELDS[2]="datum, oldest"
 FIELDS[3]="datum "
-for STATE in done_ open_ ; do
-	for TAG in $USERTAGS ; do
-		# for this table (#3) bugs with ftbfs tags are ignored _now_…
-		if [ "$TAG" = "ftbfs" ] ; then
-			continue
-		fi
-		FIELDS[3]="${FIELDS[3]}, ${STATE}$TAG"
-	done
-	# …and added at the end (so they are not ignored but rather sorted this way)
-	# Also note that FIELDS is only used for reading data, not writing.
-	FIELDS[3]="${FIELDS[3]}, ${STATE}ftbfs"
+for TAG in $USERTAGS ; do
+	# for this table (#3) bugs with ftbfs tags are ignored _now_…
+	if [ "$TAG" = "ftbfs" ] ; then
+		continue
+	fi
+	FIELDS[3]="${FIELDS[3]}, open_$TAG, done_$TAG"
 done
+# …and added at the end (so they are not ignored but rather sorted this way)
+# Also note how FIELDS is only used for reading data, not writing.
+FIELDS[3]="${FIELDS[3]}, open_ftbfs, done_ftbfs"
 FIELDS[4]="datum, packages_with_notes"
 FIELDS[5]="datum, known_issues"
 FIELDS[7]="datum, done_bugs, open_bugs"
@@ -55,7 +53,7 @@ done
 SUM_DONE="$SUM_DONE)"
 SUM_OPEN="$SUM_OPEN)"
 FIELDS[8]="datum "
-for STATE in done_ open_ ; do
+for STATE in open_ done_ ; do
 	for TAG in $USERTAGS ; do
 		if [ "$TAG" = "ftbfs" ] ; then
 			continue

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list