From 39aacc2a488a81e3c93af57a9c3203e5cbffaaa1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Sep 2015 22:36:16 +0200 Subject: fixup 332f516: reproducible: only show stats_builds_per_day later than 2015-08-30 for armhf --- bin/reproducible_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index d76b3082..9d4f9ce0 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -510,7 +510,7 @@ create_png_from_table() { # not sure if it's worth to generate the following query... WHERE_EXTRA="AND architecture='$ARCH'" if [ "$ARCH" = "armhf" ] ; then - WHERE_EXTRA="$WHERE_EXTRA and s.datum >= '2015-08-31'" + WHERE2_EXTRA="WHERE s.datum >= '2015-08-31'" fi sqlite3 -init ${INIT} --nullvalue 0 -csv ${PACKAGES_DB} "SELECT s.datum, COALESCE((SELECT e.reproducible FROM stats_builds_per_day AS e where s.datum=e.datum and suite='testing' $WHERE_EXTRA),0) as 'reproducible_testing', @@ -525,7 +525,7 @@ create_png_from_table() { (SELECT e.other FROM stats_builds_per_day e WHERE s.datum=e.datum AND suite='testing' $WHERE_EXTRA) AS other_testing, (SELECT e.other FROM stats_builds_per_day e WHERE s.datum=e.datum AND suite='unstable' $WHERE_EXTRA) AS other_unstable, (SELECT e.other FROM stats_builds_per_day e WHERE s.datum=e.datum AND suite='experimental' $WHERE_EXTRA) AS other_experimental - FROM stats_builds_per_day AS s GROUP BY s.datum" >> ${TABLE[$1]}.csv + FROM stats_builds_per_day AS s $WHERE2_EXTRA GROUP BY s.datum" >> ${TABLE[$1]}.csv elif [ $1 -eq 2 ] ; then # just make a graph of the oldest reproducible build (ignore FTBFS and unreproducible) sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, oldest_reproducible FROM ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv -- cgit v1.2.3-70-g09d2