[Qa-jenkins-scm] [jenkins.debian.net] 01/02: fixup 332f516: reproducible: only show stats_builds_per_day later than 2015-08-30 for armhf
Holger Levsen
holger at moszumanska.debian.org
Mon Sep 7 20:38:02 UTC 2015
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 39aacc2a488a81e3c93af57a9c3203e5cbffaaa1
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Sep 7 22:36:16 2015 +0200
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 d76b308..9d4f9ce 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
--
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