From 87b3b74a107c616992ae9f66b52efbe8bbe567c4 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 e3819cb9..6ef28ab9 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