[Merge] lp:~mterry/ubuntu-archive-tools/or-deps into lp:ubuntu-archive-tools
Michael Terry
michael.terry at canonical.com
Tue Jul 17 22:08:19 UTC 2012
Michael Terry has proposed merging lp:~mterry/ubuntu-archive-tools/or-deps into lp:ubuntu-archive-tools.
Requested reviews:
Ubuntu Package Archive Administrators (ubuntu-archive)
For more details, see:
https://code.launchpad.net/~mterry/ubuntu-archive-tools/or-deps/+merge/115445
I noticed that some of the packages in the NBS report are false-negatives (in the sense that they are reported as not-removable when it would actually be safe to remove them).
In particular, let's say package A depends on "B | C" while B is NBS and C is not. Package A will show up as blocking B from being removed, when B can actually be removed safely.
There are two files I changed:
checkrdepend now reports why a package is include in the rdepend list. The format of the line used to be:
RDEPEND
But now is:
RDEPEND WHY1|WHY2|WHY3
The only consumer that I could see of that output is nbs-report, which was changed to understand the changes. And to examine the "why list" for packages that are not NBS and allow the package to be removed if all of its rdepends are such.
I also added the "why list" to the NBS report HTML, since such imformation will help understand why it is recommending a package for removal when it still has rdepends. It only is shown if the "why list" is not a trivial one-package list.
Obviously, there is a danger here that I will turn false-negatives into false-positives, which are far more disasterous. So please look over with a fine-toothed comb, obviously.
As of this writing, my changes detect several more packages for removal than before, all of which manually are confirmed to be accurate. Specifically: compiz-kde, fb-music-low, libglew1.6-dev, libglewmx1.6, libglewmx1.6-dev, libnode-node-stringprep, rabbitmq-erlang-client, and rabbitmq-stomp.
--
https://code.launchpad.net/~mterry/ubuntu-archive-tools/or-deps/+merge/115445
Your team Ubuntu Package Archive Administrators is requested to review the proposed merge of lp:~mterry/ubuntu-archive-tools/or-deps into lp:ubuntu-archive-tools.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 6592 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-archive/attachments/20120717/48824d70/attachment.diff>
More information about the ubuntu-archive
mailing list