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 1S07tN-00061G-Lh for garchives@archives.gentoo.org; Wed, 22 Feb 2012 08:49:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6617FE152E; Wed, 22 Feb 2012 08:49:33 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id D18C5E1C97 for ; Wed, 22 Feb 2012 08:48:53 +0000 (UTC) Received: by bkcit16 with SMTP id it16so6827269bkc.40 for ; Wed, 22 Feb 2012 00:48:53 -0800 (PST) Received-SPF: pass (google.com: domain of corentin.chary@gmail.com designates 10.205.121.16 as permitted sender) client-ip=10.205.121.16; Authentication-Results: mr.google.com; spf=pass (google.com: domain of corentin.chary@gmail.com designates 10.205.121.16 as permitted sender) smtp.mail=corentin.chary@gmail.com; dkim=pass header.i=corentin.chary@gmail.com Received: from mr.google.com ([10.205.121.16]) by 10.205.121.16 with SMTP id ga16mr3242586bkc.104.1329900533085 (num_hops = 1); Wed, 22 Feb 2012 00:48:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=b4nT8NVAUU1kZxVJiJHRP4rhIlTHDT5BrJCP5Tbzkmc=; b=ZnZW1i4UZabT2oQPpngPOItqaXdWcb91K09DbRussmDW/z6Y2svh3wH52Oj7Qs7GEr pynOuBfAf5iFRLs8tyx5qJk1z3h93gxhBuhxkaM0e6qT6Mi6cfUvK9OEaXnW9UI1CT8M YevSML/DBb1KjXM2sgDrmjkVk/rW+orDSaBIc= 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 Received: by 10.205.121.16 with SMTP id ga16mr2604364bkc.104.1329900532903; Wed, 22 Feb 2012 00:48:52 -0800 (PST) Received: by 10.204.22.17 with HTTP; Wed, 22 Feb 2012 00:48:52 -0800 (PST) In-Reply-To: References: Date: Wed, 22 Feb 2012 09:48:52 +0100 Message-ID: Subject: [gentoo-dev] Re: Gentoo Janitor scripts From: Corentin Chary To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 6b8605c7-c5b6-4163-b5ee-4f2e5dd1ec46 X-Archives-Hash: 0bc66098f905a99cdaca3577aefe2370 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 ! -- Corentin Chary http://xf.iksaif.net