[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: only show stats_builds_age later than 2015-08-30 for armhf

Holger Levsen holger at moszumanska.debian.org
Mon Sep 7 22:36:04 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 3f382518d0d6d3598026d319ec47aeda1ead4641
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 8 00:35:31 2015 +0200

    reproducible: only show stats_builds_age later than 2015-08-30 for armhf
---
 bin/reproducible_common.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 4ef4258..0d13a6f 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -504,12 +504,17 @@ create_png_from_table() {
 	if [ $1 -eq 0 ] || [ $1 -eq 2 ] ; then
 		# TABLE[0+2] have a architecture column:
 		WHERE_EXTRA="$WHERE_EXTRA AND architecture = \"$ARCH\""
+		if [ $1 -eq 2 ] && [ "$ARCH" = "armhf" ] ; then
+			# armhf was only build since 2015-08-31
+			WHERE_EXTRA="$WHERE_EXTRA AND datum >= '2015-08-31'"
+		fi
 	fi
 	# run query
 	if [ $1 -eq 1 ] ; then
 		# not sure if it's worth to generate the following query...
 		WHERE_EXTRA="AND architecture='$ARCH'"
 		if [ "$ARCH" = "armhf" ] ; then
+			# armhf was only build since 2015-08-31
 			WHERE2_EXTRA="WHERE s.datum >= '2015-08-31'"
 		fi
 		sqlite3 -init ${INIT} --nullvalue 0 -csv ${PACKAGES_DB} "SELECT s.datum,

-- 
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