From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S0BBx-0007UA-GE for garchives@archives.gentoo.org; Wed, 22 Feb 2012 12:21:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0379EE1D74; Wed, 22 Feb 2012 12:20:55 +0000 (UTC) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.38]) by pigeon.gentoo.org (Postfix) with ESMTP id C3066E1CD6 for ; Wed, 22 Feb 2012 12:20:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vm-relay2.estpak.ee (Postfix) with ESMTP id E5A16BA3 for ; Wed, 22 Feb 2012 14:20:20 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-relay2.estpak.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (vm-relay2.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BFA-B-cnSsjB for ; Wed, 22 Feb 2012 14:20:14 +0200 (EET) Received: from mail.neti.ee (neti-relayhost1.estpak.ee [88.196.174.198]) by vm-relay2.estpak.ee (Postfix) with ESMTP id EB41294F for ; Wed, 22 Feb 2012 14:20:14 +0200 (EET) Received-SPF: Neutral (access neither permitted nor denied) identity=mailfrom; client-ip=90.191.204.24; helo=[192.168.1.70]; envelope-from=leio@gentoo.org; receiver=gentoo-dev@lists.gentoo.org X-SMTP-Auth-NETI-Businessmail: no Message-ID: <1329913223.32539.5.camel@daedalus.lan> Subject: Re: [gentoo-dev] Re: Gentoo Janitor scripts From: Mart Raudsepp To: gentoo-dev@lists.gentoo.org Date: Wed, 22 Feb 2012 14:20:23 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 51dd60a1-741f-437f-8843-730ec43e5fcd X-Archives-Hash: a3180aad4bce831724ae9759f0066a40 On K, 2012-02-22 at 09:48 +0100, Corentin Chary wrote: > I did a quick script to count most used prefixes in SRC_URI yesterday > (https://github.com/iksaif/portage-janitor/blob/master/mirrors.py) > > Here is the (filtered) result: > > $ eix --only-names | python mirrors.py --count > 960 http://dev.gentoo.org > 372 http://xorg.freedesktop.org > 372 http://xorg.freedesktop.org/releases > 372 http://xorg.freedesktop.org/releases/individual > 306 http://pear.php.net > 306 http://pear.php.net/get > 256 http://oss.tresys.com > 255 http://oss.tresys.com/files > 255 http://oss.tresys.com/files/refpolicy > 225 http://hackage.haskell.org/packages > 225 http://hackage.haskell.org/packages/archive > 225 http://hackage.haskell.org > 206 http://ftp.xemacs.org > 201 https://github.com > 196 http://ftp.xemacs.org/pub > 196 http://ftp.xemacs.org/pub/xemacs > 193 http://ftp.xemacs.org/pub/xemacs/packages > 181 http://gstreamer.freedesktop.org > 181 http://gstreamer.freedesktop.org/src > 175 http://launchpad.net > 175 http://linuxgazette.net > 143 http://github.com > 130 http://pear.horde.org > 130 http://pear.horde.org/get > 101 http://savannah.nongnu.org/download > 101 http://savannah.nongnu.org > 100 http://get.qt.nokia.com > 97 ftp://sources.redhat.com/pub > 97 ftp://sources.redhat.com > 96 http://get.qt.nokia.com/qt > 95 http://get.qt.nokia.com/qt/source > 90 http://download.gna.org > 75 http://pecl.php.net > 75 http://pecl.php.net/get > 72 http://components.ez.no/get > 72 http://components.ez.no > 69 https://fedorahosted.org > 67 http://www.phrack.org/archives > 67 http://www.phrack.org/archives/tgz > 67 http://www.phrack.org > > > From that output we can easilly find out new entries to > thirdpartymirrors, for example: > gentoo-dev http://dev.gentoo.org > xorg http://xorg.freedesktop.org > gna http://download.gna.org > pecl http://pecl.php.net > pear http://pear.php.net > github https://github.com http://github.com > xemacs http://ftp.xemacs.org/pub/ ftp://ftp.sa.xemacs.org/pub/ > launchpad http://launchpad.net > redhat ftp://sources.redhat.com/pub/ (and probably others !) > etc... > > The good part is that once you've modified thirdpartymirrors with new > mirrors, running mirrors.py --all will generate a big patch for all > your ebuilds to use those new mirrors ! If you want this, then you should better figure out actual upstream mirroring systems and their list of mirrors they would want us to use. Until such, this seems to be just for shortening SRC_URI addresses when an upstream tarball domain name or path repeats, and that's definitely not what thirdpartymirrors is for. Best, Mart Raudsepp