From 9b311251e4e530ca390bae5aae52e4292a9b8c19 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 15 May 2017 12:03:41 +0200 Subject: reproducible debian: scheduler: ignore packages with Extra-Source-Only:yes Signed-off-by: Mattia Rizzolo Signed-off-by: Holger Levsen --- bin/reproducible_scheduler.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 4e3f2dcc..fb6972ad 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: -- cgit v1.2.3-70-g09d2