diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-08 00:35:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-08 00:35:31 +0200 |
commit | 3f382518d0d6d3598026d319ec47aeda1ead4641 (patch) | |
tree | e7408a807ddba16c1b88d960e2dca62eb834e155 | |
parent | 4ed2fffec3b2f6ba24b65bdbbc6a8406c6d914ba (diff) | |
download | jenkins.debian.net-3f382518d0d6d3598026d319ec47aeda1ead4641.tar.xz |
reproducible: only show stats_builds_age later than 2015-08-30 for armhf
-rwxr-xr-x | bin/reproducible_common.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 4ef4258f..0d13a6f7 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, |