[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Revert "reproducible debian dashboard: show correct average for i386 builds per day"

Holger Levsen holger at layer-acht.org
Mon Apr 25 19:57:21 UTC 2016


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 8e9dd4ea89dc6e0035014d0a6ba9ab1423126ef3
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Apr 25 21:56:52 2016 +0200

    Revert "reproducible debian dashboard: show correct average for i386 builds per day"
    
    This reverts commit 0fee5e52b99a57a9f5ab67d6f3d03cd51be3025e.
---
 bin/reproducible_html_dashboard.sh | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 4e6970d..f5d1faa 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -328,16 +328,9 @@ write_build_performance_stats() {
 	done
 	write_page "</tr><tr><td>packages tested on average per day in the last $TIMESPAN_VERBOSE</td>"
 	for ARCH in ${ARCHS} ; do
-		if [ "$ARCH" = "i386" ] ; then
-			TIMESPAN_RAW=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT CAST(max(oldest_reproducible, oldest_unreproducible, oldest_FTBFS) AS INTEGER) FROM ${TABLE[2]} WHERE suite='testing' AND architecture='$ARCH' AND datum='$DATE'")
-		fi
 		RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(r.build_date) FROM stats_build AS r WHERE r.build_date > datetime('$DATE', '-$TIMESPAN_RAW days') AND r.architecture='$ARCH'")
 		RESULT="$(echo $RESULT/$TIMESPAN_RAW|bc)"
-		if [ "$ARCH" != "i386" ] ; then
-			write_page "<td>$RESULT</td>"
-		else
-			write_page "<td>$RESULT ($TIMESPAN_RAW days)</td>"
-		fi
+		write_page "<td>$RESULT</td>"
 	done
 	local TIMESPAN_VERBOSE="3 months"
 	local TIMESPAN_RAW="91.5"

-- 
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