summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_dashboards.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-19 19:56:10 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-19 19:56:10 +0200
commite897d7889e983a3f56b424fed101225c22f2e445 (patch)
tree78829adce77764ca6979e1afcd9f941ad2aac425 /bin/reproducible_html_dashboards.sh
parent09aa27d261503ac189b6411efd4b1613ff5f00d6 (diff)
downloadjenkins.debian.net-e897d7889e983a3f56b424fed101225c22f2e445.tar.xz
reproducible: fix suite/arch pkg_state graphs
Diffstat (limited to 'bin/reproducible_html_dashboards.sh')
-rwxr-xr-xbin/reproducible_html_dashboards.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_dashboards.sh b/bin/reproducible_html_dashboards.sh
index a7bd37dd..586651d1 100755
--- a/bin/reproducible_html_dashboards.sh
+++ b/bin/reproducible_html_dashboards.sh
@@ -67,7 +67,7 @@ YLABEL[7]="Amount of bugs open / closed"
# update package + build stats
#
update_suite_arch_stats() {
- RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,suite from ${TABLE[0]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\"")
+ RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,suite from ${TABLE[0]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\" AND architecture = \"$ARCH\"")
if [ -z $RESULT ] ; then
echo "Updating packages and builds stats for $SUITE/$ARCH in $DATE."
ALL=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT count(name) FROM sources WHERE suite='${SUITE}' AND architecture='$ARCH'")