Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] Re: Gentoo Janitor scripts Alec Warner <antarus@g.o>
Re: [gentoo-dev] Re: Gentoo Janitor scripts Mart Raudsepp <leio@g.o>
Re: [gentoo-dev] Re: Gentoo Janitor scripts "Michał Górny" <mgorny@g.o>