From ac61205d0223dea575b85cabb21742b9977a93d9 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Tue, 1 Mar 2011 23:35:12 +0000 Subject: [PATCH] Improve the checks for affected packages during a sourceful update When marking the reverse dependencies of each binary package as affected by a sourceful update to testing, the reverse dependencies of those packages are also affected, and so on. This helps to avoid situations where the installability of immediate reverse dependencies is unchanged, but that of other packages in the dependency chain is altered, for example where alternative dependencies are used. See Debian bug #614249 for further details. --- britney.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/britney.py b/britney.py index 5970d8a..efa63bf 100755 --- a/britney.py +++ b/britney.py @@ -2037,6 +2037,9 @@ class Britney: for j in binaries[parch][0][binary][RDEPENDS]: key = (j, parch) if key not in affected: affected.append(key) + for p in self.get_full_tree(j, parch, 'testing'): + key = (p, parch) + if key not in affected: affected.append(key) # remove the provided virtual packages for j in binaries[parch][0][binary][PROVIDES]: key = j + "/" + parch