summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-02 12:54:03 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-02 12:54:03 +0200
commit0b5e54e9d767beccd1293cf4f868120560ba3d62 (patch)
treee4c0486af4d765679e5c4934f19c515201d2f690
parent3a08343341138c6e00b4748ccf9b3fdfc74d4bdd (diff)
downloadjenkins.debian.net-0b5e54e9d767beccd1293cf4f868120560ba3d62.tar.xz
reproducible: armhf has 4 weeks stats now too
-rwxr-xr-xbin/reproducible_html_dashboard.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index ba780c98..e1755904 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -241,12 +241,12 @@ write_usertag_table() {
# write build performace stats
#
write_build_performace_stats() {
- if [ "$ARCH" != "armhf" ] ; then
+ if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "armhf" } ; then
TIMESPAN_VERBOSE="4 weeks"
TIMESPAN_RAW="28"
else
- TIMESPAN_VERBOSE="3 weeks"
- TIMESPAN_RAW="21"
+ TIMESPAN_VERBOSE="1 week"
+ TIMESPAN_RAW="7"
fi
write_page "<table class=\"main\"><tr><th colspan=\"2\">Build statistics for $ARCH</th></tr>"
AGE_UNSTABLE=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT CAST(max(oldest_reproducible, oldest_unreproducible, oldest_FTBFS) AS INTEGER) FROM ${TABLE[2]} WHERE suite='unstable' AND architecture='$ARCH' AND datum='$DATE'")