mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-24 03:41:12 +00:00
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>
This commit is contained in:
parent
7cdf10bc77
commit
b839e1a459
@ -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…
x
Reference in New Issue
Block a user