[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python 2 removal and r-deps -- a tool



Hello,
currently there are a lot of cruft packages in unstable (due to the
removal from their source packages, but still being referenced by
other binpkgs, so they are left in the archive) that running `apt
rdepends` produces a lot of false entries.

I wrote a small script to:
* parse the local Sources index files
* parse the bin packages list
* produce the list of reverse dependencies for the given package
* limit the depth of the scan to the given value (default it's 2
levels; the graph can get crazy pretty quickly if there's no limit)
* add b-d rdeps too
* produces a visual representation of the deps graph

You can look & download the script at: https://salsa.debian.org/snippets/319

hope this helps in finding the next leaf package to drop py2 support
from, or to understand the web of rdeps for your packages.

Cheers,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi


Reply to: