Ignore dependencies of cruft when building excuses.

Don't make dependencies of cruft a blocker for being a candidate. In most
cases, the cruft won't migrate to testing, so it shouldn't be a blocker. If
the cruft would be considered for migration to testing, the installability
check will catch missing deps.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Ivo De Decker 6 years ago committed by Niels Thykier
parent 7cdf10bc77
commit b839e1a459
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -1073,6 +1073,13 @@ class Britney(object):
provides_t_a = target_suite.provides_table[arch]
binary_u = binaries_s_a[pkg]
source_s = source_suite.sources[binary_u.source]
if (binary_u.source_version != source_s.version):
# we don't want cruft to block packages, so if this is cruft, we
# can simply ignore it; if the cruft would migrate to testing, the
# installability check will catch missing deps
return True
# local copies for better performance
parse_depends = apt_pkg.parse_depends

Loading…
Cancel
Save