[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible debian: scheduler: ignore packages with Extra-Source-Only:yes
Holger Levsen
holger at layer-acht.org
Mon May 15 16:54:16 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 9b311251e4e530ca390bae5aae52e4292a9b8c19
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 4e3f2dc..fb6972a 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