[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: sort breakges by package names foremost

Holger Levsen holger at moszumanska.debian.org
Thu Jan 7 11:04:06 UTC 2016


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 b8c7de69fa7e2f0c56bac206e0a2cb2d45d4f553
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jan 7 11:57:42 2016 +0100

    reproducible: sort breakges by package names foremost
---
 bin/reproducible_html_breakages.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 47be0db..6cb171c 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -19,7 +19,7 @@ def unrep_with_dbd_issues():
     query = '''SELECT s.name, r.version, s.suite, s.architecture
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status="unreproducible"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     results = query_db(query)
     for pkg, version, suite, arch in results:
         eversion = strip_epoch(version)
@@ -46,7 +46,7 @@ def not_unrep_with_dbd_file():
     query = '''SELECT s.name, r.version, s.suite, s.architecture
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status != "unreproducible"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     results = query_db(query)
     for pkg, version, suite, arch in results:
         eversion = strip_epoch(version)
@@ -65,7 +65,7 @@ def lack_rbuild():
     query = '''SELECT s.name, r.version, s.suite, s.architecture
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status NOT IN ("blacklisted", "")
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     results = query_db(query)
     for pkg, version, suite, arch in results:
         if not pkg_has_rbuild(pkg, version, suite, arch):
@@ -82,7 +82,7 @@ def lack_buildinfo():
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status NOT IN
                 ("blacklisted", "not for us", "FTBFS", "depwait", "404", "")
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     results = query_db(query)
     for pkg, version, suite, arch in results:
         eversion = strip_epoch(version)
@@ -104,7 +104,7 @@ def pbuilder_dep_fail():
     query = '''SELECT s.name, r.version, s.suite, s.architecture
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status = "FTBFS" AND s.suite = "testing"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     results = query_db(query)
     for pkg, version, suite, arch in results:
         eversion = strip_epoch(version)
@@ -132,7 +132,7 @@ def alien_log(directory=None):
                FROM sources AS s JOIN results AS r ON r.package_id=s.id
                WHERE r.status != "" AND s.name="{pkg}" AND s.suite="{suite}"
                AND s.architecture="{arch}"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     bad_files = []
     for root, dirs, files in os.walk(directory):
         if not files:
@@ -165,7 +165,7 @@ def alien_buildinfo():
                WHERE r.status != "" AND s.name="{pkg}" AND s.suite="{suite}"
                AND s.architecture="{arch}"
                AND r.status IN ("reproducible", "unreproducible")
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     bad_files = []
     for root, dirs, files in os.walk(BUILDINFO_PATH):
         if not files:
@@ -196,7 +196,7 @@ def alien_dbd(directory=None):
                FROM sources AS s JOIN results AS r on r.package_id=s.id
                WHERE s.name="{pkg}" AND s.suite="{suite}"
                AND s.architecture="{arch}"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     bad_files = []
     for root, dirs, files in os.walk(directory):
         if not files:
@@ -230,7 +230,7 @@ def alien_rbpkg():
                FROM sources AS s
                WHERE s.name="{pkg}" AND s.suite="{suite}"
                AND s.architecture="{arch}"
-               ORDER BY s.suite DESC, s.architecture ASC, s.name ASC'''
+               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC'''
     bad_files = []
     for root, dirs, files in os.walk(RB_PKG_PATH):
         if not files:

-- 
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