From 6c8d41ecc7c971279889e64f8bb26d32d32be878 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 9 Mar 2015 19:10:59 +0100 Subject: reproducible: refactor, drop now unused function --- bin/reproducible_common.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index e46b7760..9a181a3e 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -246,22 +246,6 @@ gen_packages_html() { cd "$CWD" } -gather_schedule_stats() { - SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM sources_scheduled ORDER BY date_scheduled" | xargs echo) - COUNT_SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources_scheduled" | xargs echo) - QUERY=" SELECT count(sources.name) FROM sources,source_packages - WHERE sources.name NOT IN - (SELECT sources.name FROM sources,sources_scheduled - WHERE sources.name=sources_scheduled.name) - AND sources.name IN - (SELECT sources.name FROM sources,source_packages - WHERE sources.name=source_packages.name - AND sources.version!=source_packages.version - AND source_packages.status!='blacklisted') - AND sources.name=source_packages.name" - COUNT_NEW_VERSIONS=$(sqlite3 -init $INIT $PACKAGES_DB "$QUERY") -} - gather_stats() { COUNT_BAD=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT COUNT(s.name) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE s.suite='$SUITE' AND r.status = \"unreproducible\"") COUNT_UGLY=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT COUNT(s.name) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE s.suite='$SUITE' AND r.status = \"FTBFS\"") -- cgit v1.2.3-70-g09d2