summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-12 18:12:48 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-12 18:12:48 +0200
commit619d4bb423beda134376d174e2d9241dffd01ba4 (patch)
treef7e57165d25f06f08d35af8f9d150e1a9fbd0090 /bin/reproducible_stats.sh
parent4792c4d6a600d2a50d20a02893095a0d17ef8b38 (diff)
downloadjenkins.debian.net-619d4bb423beda134376d174e2d9241dffd01ba4.tar.xz
reproducible: refactor, drop source_stats table for now
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-xbin/reproducible_stats.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index 91ab9444..8a84f8be 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -26,7 +26,7 @@ declare -A SPOKENTARGET
LAST24="AND build_date > datetime('now', '-24 hours') "
LAST48="AND build_date > datetime('now', '-48 hours') "
SUITE=sid
-AMOUNT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT amount FROM source_stats WHERE suite = \"$SUITE\"" | xargs echo)
+AMOUNT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources")
ALLSTATES="reproducible FTBR_with_buildinfo FTBR FTBFS 404 not_for_us blacklisted"
MAINVIEW="all_abc"
ALLVIEWS="last_24h last_48h all_abc"