Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11641

Python 2 removal and r-deps -- a tool

From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.maint.python
Subject Python 2 removal and r-deps -- a tool
Date 2019-08-22 05:20 +0200
Message-ID <yxLNM-vp-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Python 2 removal and r-deps -- a tool Sandro Tosi <morph@debian.org> - 2019-08-22 05:20 +0200

csiph-web