[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: remote_scheduler: filter the architecture too

Holger Levsen holger at moszumanska.debian.org
Fri Oct 9 13:03:19 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 bd0e008b8a90f47f5fe5103afde634fef25a8b93
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Fri Oct 9 13:01:51 2015 +0000

    reproducible: remote_scheduler: filter the architecture too
---
 bin/reproducible_remote_scheduler.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index e368289..acdff98 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -114,11 +114,12 @@ if arch not in ARCHS:
     sys.exit(1)
 
 if issue or status or built_after or built_before:
-    formatter = dict(suite=suite, notes_table='')
+    formatter = dict(suite=suite, arch=arch, notes_table='')
     log.info('Querying packages with given issues/status...')
     query = 'SELECT s.name ' + \
             'FROM sources AS s, {notes_table} results AS r ' + \
             'WHERE r.package_id=s.id ' + \
+            'AND s.architecture= "{arch}" ' + \
             'AND s.suite = "{suite}" AND r.status != "blacklisted" '
     if issue:
         query += 'AND n.package_id=s.id AND n.issues LIKE "%{issue}%" '

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