[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: scheduler: ignore packages with Extra-Source-Only:yes

Holger Levsen holger at layer-acht.org
Mon May 15 14:25:58 UTC 2017


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 87b3b74a107c616992ae9f66b52efbe8bbe567c4
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon May 15 12:03:41 2017 +0200

    reproducible debian: scheduler: ignore packages with Extra-Source-Only:yes
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_scheduler.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index e3819cb..6ef28ab 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -250,6 +250,10 @@ def update_sources_db(suite, arch, sources):
     for src in deb822.Sources.iter_paragraphs(sources.split('\n')):
         pkg = (src['Package'], src['Version'], suite, arch)
 
+        if 'Extra-Source-Only' in src and src['Extra-Source-Only'] == 'yes':
+            log.debug('Ignoring {} due to Extra-Source-Only'.format(pkg))
+            continue
+
         # only keep the most recent version of a src for each package/suite/arch
         key = src['Package'] + suite + arch
         if key in newest_version:

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