mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-13 11:31:38 +00:00
britney.py: Log when old libs are present but not removed
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
b5db57715b
commit
28f69fa505
@ -2624,16 +2624,17 @@ class Britney(object):
|
|||||||
self.do_all(actions=removals)
|
self.do_all(actions=removals)
|
||||||
|
|
||||||
# smooth updates
|
# smooth updates
|
||||||
|
removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches)
|
||||||
if self.options.smooth_updates:
|
if self.options.smooth_updates:
|
||||||
self.log("> Removing old packages left in testing from smooth updates", type="I")
|
self.log("> Removing old packages left in testing from smooth updates", type="I")
|
||||||
removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches)
|
|
||||||
if removals:
|
if removals:
|
||||||
self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \
|
self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \
|
||||||
(len(removals), old_libraries_format(removals)))
|
(len(removals), old_libraries_format(removals)))
|
||||||
self.do_all(actions=removals)
|
self.do_all(actions=removals)
|
||||||
removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches)
|
removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches)
|
||||||
else:
|
else:
|
||||||
removals = ()
|
self.log("> Not removing old packages left in testing from smooth updates (smooth-updates disabled)",
|
||||||
|
type="I")
|
||||||
|
|
||||||
self.output_write("List of old libraries in testing (%d):\n%s" % \
|
self.output_write("List of old libraries in testing (%d):\n%s" % \
|
||||||
(len(removals), old_libraries_format(removals)))
|
(len(removals), old_libraries_format(removals)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user