Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Gentoo Janitor scripts
Date: Wed, 22 Feb 2012 12:21:05
Message-Id: 1329913223.32539.5.camel@daedalus.lan
In Reply to: [gentoo-dev] Re: Gentoo Janitor scripts by Corentin Chary
1 On K, 2012-02-22 at 09:48 +0100, Corentin Chary wrote:
2 > I did a quick script to count most used prefixes in SRC_URI yesterday
3 > (https://github.com/iksaif/portage-janitor/blob/master/mirrors.py)
4 >
5 > Here is the (filtered) result:
6 >
7 > $ eix --only-names | python mirrors.py --count
8 > 960 http://dev.gentoo.org
9 > 372 http://xorg.freedesktop.org
10 > 372 http://xorg.freedesktop.org/releases
11 > 372 http://xorg.freedesktop.org/releases/individual
12 > 306 http://pear.php.net
13 > 306 http://pear.php.net/get
14 > 256 http://oss.tresys.com
15 > 255 http://oss.tresys.com/files
16 > 255 http://oss.tresys.com/files/refpolicy
17 > 225 http://hackage.haskell.org/packages
18 > 225 http://hackage.haskell.org/packages/archive
19 > 225 http://hackage.haskell.org
20 > 206 http://ftp.xemacs.org
21 > 201 https://github.com
22 > 196 http://ftp.xemacs.org/pub
23 > 196 http://ftp.xemacs.org/pub/xemacs
24 > 193 http://ftp.xemacs.org/pub/xemacs/packages
25 > 181 http://gstreamer.freedesktop.org
26 > 181 http://gstreamer.freedesktop.org/src
27 > 175 http://launchpad.net
28 > 175 http://linuxgazette.net
29 > 143 http://github.com
30 > 130 http://pear.horde.org
31 > 130 http://pear.horde.org/get
32 > 101 http://savannah.nongnu.org/download
33 > 101 http://savannah.nongnu.org
34 > 100 http://get.qt.nokia.com
35 > 97 ftp://sources.redhat.com/pub
36 > 97 ftp://sources.redhat.com
37 > 96 http://get.qt.nokia.com/qt
38 > 95 http://get.qt.nokia.com/qt/source
39 > 90 http://download.gna.org
40 > 75 http://pecl.php.net
41 > 75 http://pecl.php.net/get
42 > 72 http://components.ez.no/get
43 > 72 http://components.ez.no
44 > 69 https://fedorahosted.org
45 > 67 http://www.phrack.org/archives
46 > 67 http://www.phrack.org/archives/tgz
47 > 67 http://www.phrack.org
48 >
49 >
50 > From that output we can easilly find out new entries to
51 > thirdpartymirrors, for example:
52 > gentoo-dev http://dev.gentoo.org
53 > xorg http://xorg.freedesktop.org
54 > gna http://download.gna.org
55 > pecl http://pecl.php.net
56 > pear http://pear.php.net
57 > github https://github.com http://github.com
58 > xemacs http://ftp.xemacs.org/pub/ ftp://ftp.sa.xemacs.org/pub/
59 > launchpad http://launchpad.net
60 > redhat ftp://sources.redhat.com/pub/ (and probably others !)
61 > etc...
62 >
63 > The good part is that once you've modified thirdpartymirrors with new
64 > mirrors, running mirrors.py --all will generate a big patch for all
65 > your ebuilds to use those new mirrors !
66
67 If you want this, then you should better figure out actual upstream
68 mirroring systems and their list of mirrors they would want us to use.
69 Until such, this seems to be just for shortening SRC_URI addresses when
70 an upstream tarball domain name or path repeats, and that's definitely
71 not what thirdpartymirrors is for.
72
73
74 Best,
75 Mart Raudsepp

Replies

Subject Author
Re: [gentoo-dev] Re: Gentoo Janitor scripts Corentin Chary <corentin.chary@×××××.com>
Re: [gentoo-dev] Re: Gentoo Janitor scripts Corentin Chary <corentin.chary@×××××.com>