|
|
@ -2733,23 +2733,24 @@ class Britney(object):
|
|
|
|
# run the auto hinter
|
|
|
|
# run the auto hinter
|
|
|
|
self.auto_hinter()
|
|
|
|
self.auto_hinter()
|
|
|
|
|
|
|
|
|
|
|
|
# obsolete source packages
|
|
|
|
if getattr(self.options, "remove_obsolete", "yes") == "yes":
|
|
|
|
# a package is obsolete if none of the binary packages in testing
|
|
|
|
# obsolete source packages
|
|
|
|
# are built by it
|
|
|
|
# a package is obsolete if none of the binary packages in testing
|
|
|
|
self.log("> Removing obsolete source packages from testing", type="I")
|
|
|
|
# are built by it
|
|
|
|
# local copies for performance
|
|
|
|
self.log("> Removing obsolete source packages from testing", type="I")
|
|
|
|
sources = self.sources['testing']
|
|
|
|
# local copies for performance
|
|
|
|
binaries = self.binaries['testing']
|
|
|
|
sources = self.sources['testing']
|
|
|
|
used = set(binaries[arch][0][binary].source
|
|
|
|
binaries = self.binaries['testing']
|
|
|
|
for arch in binaries
|
|
|
|
used = set(binaries[arch][0][binary].source
|
|
|
|
for binary in binaries[arch][0]
|
|
|
|
for arch in binaries
|
|
|
|
)
|
|
|
|
for binary in binaries[arch][0]
|
|
|
|
removals = [ MigrationItem("-%s/%s" % (source, sources[source].version))
|
|
|
|
)
|
|
|
|
for source in sources if source not in used
|
|
|
|
removals = [ MigrationItem("-%s/%s" % (source, sources[source].version))
|
|
|
|
]
|
|
|
|
for source in sources if source not in used
|
|
|
|
if len(removals) > 0:
|
|
|
|
]
|
|
|
|
self.output_write("Removing obsolete source packages from testing (%d):\n" % (len(removals)))
|
|
|
|
if removals:
|
|
|
|
self.do_all(actions=removals)
|
|
|
|
self.output_write("Removing obsolete source packages from testing (%d):\n" % (len(removals)))
|
|
|
|
|
|
|
|
self.do_all(actions=removals)
|
|
|
|
|
|
|
|
|
|
|
|
# smooth updates
|
|
|
|
# smooth updates
|
|
|
|
removals = old_libraries(self.sources, self.binaries, self.options.outofsync_arches)
|
|
|
|
removals = old_libraries(self.sources, self.binaries, self.options.outofsync_arches)
|
|
|
|