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 1SNJk8-0006R9-Ro for garchives@archives.gentoo.org; Thu, 26 Apr 2012 08:08:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2A9AE0687; Thu, 26 Apr 2012 08:07:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6ADB5E0772 for ; Thu, 26 Apr 2012 08:07:04 +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 9B7151B4030; Thu, 26 Apr 2012 08:07:03 +0000 (UTC) Message-ID: <4F990226.8030800@gentoo.org> Date: Thu, 26 Apr 2012 01:07:02 -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: Corentin Chary CC: Zac Medico , gentoo-dev@lists.gentoo.org, =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= , robbat2@gentoo.org Subject: Re: [gentoo-dev] [RFC] New third party mirrors References: <20120424130959.GB13543@falgoret> <20120424183826.499652b0@pomiocik.lan> <20120425184128.0f4a00d6@pomiocik.lan> <4F98FFD6.1060402@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8d680618-95da-4886-b330-9c1e18bc5156 X-Archives-Hash: 91c763c5f4e5239e4e66e2fdde9f5cc1 On 04/26/2012 01:03 AM, Corentin Chary wrote: > On Thu, Apr 26, 2012 at 9:57 AM, Zac Medico wrote: >> 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 the= m >>>>>>> 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 preferr= ed >>>> cloud. URL -- while they redirect one to another. >>>> >>>> We might decide on some common syntax like preceding all extra entri= es >>>> with '-' but I don't want to be the one deciding here. >>> >>> 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 lik= e >> this to thirdpartymirrors: >> >> github-bad-urls http://github.com/downloads/ https://github.com/downlo= ads/ >=20 > Hum, I checked repoman source code, and I didn't find where it checks > if SRC_URI matches something in thirdpartymirror. Any hint ? Search for SRC_URI.mirror in /usr/bin/repoman. --=20 Thanks, Zac