Re: A script to see how much a package is depended upon.
On Fri, 7 Sep 2001 00:11:28 +0900,
Junichi Uekawa <email@example.com> wrote:
> I was writing a script to see how much a package is depended upon,
> i. e. cumulatively culculating Reverse-Build-Deps, and
> Reverse-dependencies. However, I thought it might be useful to see
> what kind of packages have a "weight", i.e. needs fixing first for
> packages to enter "testing".
> As I anticipated, it has a lot of "loops", and it is going in ridiculous
> values. These things should have had trouble when porting to new arches,
> but anyway, I have put the script up on
I rewrote it from scratch in Perl.
Here is the top 10 Depends list (for unstable):
./analyse-packages.perl | sort -n -r | head -n 10
The number of the *binary* packages that Build-Depends on a package:
./analyse-sources.perl | sort -n -r
(*not* snipped here)
The total number of the packages:
$ zcat Packages.gz | egrep -c "^Package:"
Oohara Yuuma <firstname.lastname@example.org>
Graduate-school of Science, Kyoto University
PGP Key http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170 1F4A 40D6 F42E F464 A695
I always put away what I take.
--- Ryuji Akai, "Star a way"