From 8e9dd4ea89dc6e0035014d0a6ba9ab1423126ef3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 25 Apr 2016 21:56:52 +0200 Subject: 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(-) (limited to 'bin/reproducible_html_dashboard.sh') diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 4e6970df..f5d1faa8 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -328,16 +328,9 @@ write_build_performance_stats() { done write_page "packages tested on average per day in the last $TIMESPAN_VERBOSE" 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 "$RESULT" - else - write_page "$RESULT ($TIMESPAN_RAW days)" - fi + write_page "$RESULT" done local TIMESPAN_VERBOSE="3 months" local TIMESPAN_RAW="91.5" -- cgit v1.2.3-54-g00ecf