Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Gentoo Janitor scripts
Date: Wed, 22 Feb 2012 09:22:24
Message-Id: CAAr7Pr-rWA4u-spKLrjXvKEY+69a0ae-zgT7Tu0U7WequfoifA@mail.gmail.com
In Reply to: [gentoo-dev] Re: Gentoo Janitor scripts by Corentin Chary
1 On Wed, Feb 22, 2012 at 12:48 AM, Corentin Chary
2 <corentin.chary@×××××.com> wrote:
3 > I did a quick script to count most used prefixes in SRC_URI yesterday
4 > (https://github.com/iksaif/portage-janitor/blob/master/mirrors.py)
5 >
6 > Here is the (filtered) result:
7 >
8 > $ eix --only-names | python mirrors.py --count
9 > 960     http://dev.gentoo.org
10 > 372     http://xorg.freedesktop.org
11 > 372     http://xorg.freedesktop.org/releases
12 > 372     http://xorg.freedesktop.org/releases/individual
13 > 306     http://pear.php.net
14 > 306     http://pear.php.net/get
15 > 256     http://oss.tresys.com
16 > 255     http://oss.tresys.com/files
17 > 255     http://oss.tresys.com/files/refpolicy
18 > 225     http://hackage.haskell.org/packages
19 > 225     http://hackage.haskell.org/packages/archive
20 > 225     http://hackage.haskell.org
21 > 206     http://ftp.xemacs.org
22 > 201     https://github.com
23 > 196     http://ftp.xemacs.org/pub
24 > 196     http://ftp.xemacs.org/pub/xemacs
25 > 193     http://ftp.xemacs.org/pub/xemacs/packages
26 > 181     http://gstreamer.freedesktop.org
27 > 181     http://gstreamer.freedesktop.org/src
28 > 175     http://launchpad.net
29 > 175     http://linuxgazette.net
30 > 143     http://github.com
31 > 130     http://pear.horde.org
32 > 130     http://pear.horde.org/get
33 > 101     http://savannah.nongnu.org/download
34 > 101     http://savannah.nongnu.org
35 > 100     http://get.qt.nokia.com
36 > 97      ftp://sources.redhat.com/pub
37 > 97      ftp://sources.redhat.com
38 > 96      http://get.qt.nokia.com/qt
39 > 95      http://get.qt.nokia.com/qt/source
40 > 90      http://download.gna.org
41 > 75      http://pecl.php.net
42 > 75      http://pecl.php.net/get
43 > 72      http://components.ez.no/get
44 > 72      http://components.ez.no
45 > 69      https://fedorahosted.org
46 > 67      http://www.phrack.org/archives
47 > 67      http://www.phrack.org/archives/tgz
48 > 67      http://www.phrack.org
49 >
50 >
51 > From that output we can easilly find out new entries to
52 > thirdpartymirrors, for example:
53 > gentoo-dev    http://dev.gentoo.org
54
55 Don't encourage people to do bad things by making it a mirror target ;)
56
57 -A
58
59 > xorg             http://xorg.freedesktop.org
60 > gna              http://download.gna.org
61 > pecl             http://pecl.php.net
62 > pear             http://pear.php.net
63 > github          https://github.com http://github.com
64 > xemacs       http://ftp.xemacs.org/pub/ ftp://ftp.sa.xemacs.org/pub/
65 > launchpad    http://launchpad.net
66 > redhat         ftp://sources.redhat.com/pub/ (and probably others !)
67 > etc...
68 >
69 > The good part is that once you've modified thirdpartymirrors with new
70 > mirrors, running mirrors.py --all will generate a big patch for all
71 > your ebuilds to use those new mirrors !
72 >
73 > --
74 > Corentin Chary
75 > http://xf.iksaif.net
76 >