[Qa-jenkins-scm] [jenkins.debian.net] 02/06: reproducible: refactor, drop now unused function
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 9 19:12:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6c8d41ecc7c971279889e64f8bb26d32d32be878
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 9 19:10:59 2015 +0100
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 e46b776..9a181a3 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\"")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list