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 1SNJaX-0004rB-If for garchives@archives.gentoo.org; Thu, 26 Apr 2012 07:58:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CBFEE0477; Thu, 26 Apr 2012 07:57:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AE971E0655 for ; Thu, 26 Apr 2012 07:57:12 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id EB8FA1B4032; Thu, 26 Apr 2012 07:57:11 +0000 (UTC) Message-ID: <4F98FFD6.1060402@gentoo.org> Date: Thu, 26 Apr 2012 00:57:10 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120404 Thunderbird/11.0.1 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 To: gentoo-dev@lists.gentoo.org CC: Corentin Chary , =?UTF-8?B?TWljaGHFgiBHw7Ny?= =?UTF-8?B?bnk=?= , robbat2@gentoo.org Subject: Re: [gentoo-dev] [RFC] New third party mirrors References: <20120424130959.GB13543@falgoret> <20120424183826.499652b0@pomiocik.lan> <20120425184128.0f4a00d6@pomiocik.lan> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: def16a7c-8df2-4bdf-baa9-23ec270f33d1 X-Archives-Hash: 263c2c69b18541bc1c00bcbf517686cc On 04/26/2012 12:30 AM, Corentin Chary wrote: > On Wed, Apr 25, 2012 at 6:41 PM, Micha=C5=82 G=C3=B3rny wrote: >> On Wed, 25 Apr 2012 09:16:05 +0200 >> Corentin Chary wrote: >> >>> On Tue, Apr 24, 2012 at 6:38 PM, Micha=C5=82 G=C3=B3rny >>> wrote: >>>> On Tue, 24 Apr 2012 16:19:11 +0000 >>>> "Robin H. Johnson" wrote: >>>> >>>>> On Tue, Apr 24, 2012 at 04:50:49PM +0200, Corentin Chary wrote: >>>>>>>> $ ./mirrors.py --all --count >>>>>>>> 297 ?? ?? http://pear.php.net >>>>>>>> 297 ?? ?? http://pear.php.net/get >>>>>>>> 88 ?? ?? ??http://pecl.php.net >>>>>>>> 88 ?? ?? ??http://pecl.php.net/get >>>>>>> These are already mirror bouncers. If you visit the above, >>>>>>> you'll get the closest mirror for downloading. >>>>>> And since there is already ~10 "mirrors" with only one actual >>>>>> backend, should they go to thirdpartymirrors or not ? If not, >>>>>> what about this pseudo-mirrors already present in >>>>>> thirdpartymirrors ? >>>>> I think we should add the pseudo-mirrors, but explicitly mark them >>>>> as such in the file, so that they don't get duplicate entries >>>>> added (eg adding us.pear, de.pear and the pear bouncer is bad. >>>>> Should have just the bouncer). >>>> >>>> It'd be great if we could add some kind of additional mirror >>>> entries, which would be used by repoman to signal missing mirror:// >>>> entries but won't be used for downloads. >>> >>> Yep, we could put that in it too: >>> github http://github.com/downloads/ >>> https://github.com/downloads/ >> >> Per spec, portage can choose a random mirror of the list. If we put >> entries like that, these two will be equally possible as the preferred >> cloud. URL -- while they redirect one to another. >> >> We might decide on some common syntax like preceding all extra entries >> with '-' but I don't want to be the one deciding here. >=20 > I checked, and current portage code already handle entries starting > with a - gracefully thanks to stack_dictlist (removing them from the > list of mirrors). That means repoman will ignore them too. If you want existing versions of repoman to check for those paths in SRC_URI, you can add a line like this to thirdpartymirrors: github-bad-urls http://github.com/downloads/ https://github.com/downloads= / --=20 Thanks, Zac