diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-09 19:10:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-09 19:10:59 +0100 |
commit | 6c8d41ecc7c971279889e64f8bb26d32d32be878 (patch) | |
tree | f28256457e0df0238c438f95f29ef67013134f81 | |
parent | d49196b9fff1fc2de34d185967989c4d544364b2 (diff) | |
download | jenkins.debian.net-6c8d41ecc7c971279889e64f8bb26d32d32be878.tar.xz |
reproducible: refactor, drop now unused function
-rwxr-xr-x | bin/reproducible_common.sh | 16 |
1 files changed, 0 insertions, 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\"") |