summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-07 03:48:25 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-07 03:48:25 +0200
commitc8575052bf5e748590948e44a57e5f60a4120f8c (patch)
treea812f2da2f7a7006bbecfc37ce31994ce638936b
parent9747b7f4fb7f0350023e86003d9d9224bba37495 (diff)
downloadjenkins.debian.net-c8575052bf5e748590948e44a57e5f60a4120f8c.tar.xz
reproducible: only graph pkg_to_fix since testing+experimental/amd64 are tested
-rwxr-xr-xbin/reproducible_common.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index d3e02e56..ef21e23b 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -574,6 +574,13 @@ create_png_from_table() {
elif [ $1 -eq 7 ] ; then
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, $SUM_DONE, $SUM_OPEN from ${TABLE[3]} ORDER BY datum" >> ${TABLE[$1]}.csv
elif [ $1 -eq 8 ] ; then
+ if [ "$ARCH" = "amd64" ] && [ "SUITE" = "testing" ]
+ # testing/amd64 was only build since...
+ WHERE2_EXTRA="WHERE s.datum >= '2015-03-08'"
+ elif [ "$ARCH" = "amd64" ] && [ "SUITE" = "experimental" ]
+ # experimental/amd64 was only build since...
+ WHERE2_EXTRA="WHERE s.datum >= '2015-02-28'"
+ fi
sqlite3 -init ${INIT} --nullvalue 0 -csv ${PACKAGES_DB} "SELECT s.datum,
(SELECT e.ftbfs FROM ${TABLE[0]} AS e WHERE s.datum=e.datum AND e.suite='$SUITE' AND e.architecture='$ARCH') AS unfixed_ftbfs,
COALESCE((SELECT e.unreproducible FROM ${TABLE[0]} AS e WHERE s.datum=e.datum AND e.suite='$SUITE' AND e.architecture='$ARCH'),0) AS unfixed_ftbr