1 |
On Wed, Apr 25, 2012 at 6:41 PM, Michał Górny <mgorny@g.o> wrote: |
2 |
> On Wed, 25 Apr 2012 09:16:05 +0200 |
3 |
> Corentin Chary <corentin.chary@×××××.com> wrote: |
4 |
> |
5 |
>> On Tue, Apr 24, 2012 at 6:38 PM, Michał Górny <mgorny@g.o> |
6 |
>> wrote: |
7 |
>> > On Tue, 24 Apr 2012 16:19:11 +0000 |
8 |
>> > "Robin H. Johnson" <robbat2@g.o> wrote: |
9 |
>> > |
10 |
>> >> On Tue, Apr 24, 2012 at 04:50:49PM +0200, Corentin Chary wrote: |
11 |
>> >> > >> $ ./mirrors.py --all --count |
12 |
>> >> > >> 297 ?? ?? http://pear.php.net |
13 |
>> >> > >> 297 ?? ?? http://pear.php.net/get |
14 |
>> >> > >> 88 ?? ?? ??http://pecl.php.net |
15 |
>> >> > >> 88 ?? ?? ??http://pecl.php.net/get |
16 |
>> >> > > These are already mirror bouncers. If you visit the above, |
17 |
>> >> > > you'll get the closest mirror for downloading. |
18 |
>> >> > And since there is already ~10 "mirrors" with only one actual |
19 |
>> >> > backend, should they go to thirdpartymirrors or not ? If not, |
20 |
>> >> > what about this pseudo-mirrors already present in |
21 |
>> >> > thirdpartymirrors ? |
22 |
>> >> I think we should add the pseudo-mirrors, but explicitly mark them |
23 |
>> >> as such in the file, so that they don't get duplicate entries |
24 |
>> >> added (eg adding us.pear, de.pear and the pear bouncer is bad. |
25 |
>> >> Should have just the bouncer). |
26 |
>> > |
27 |
>> > It'd be great if we could add some kind of additional mirror |
28 |
>> > entries, which would be used by repoman to signal missing mirror:// |
29 |
>> > entries but won't be used for downloads. |
30 |
>> |
31 |
>> Yep, we could put that in it too: |
32 |
>> github http://github.com/downloads/ |
33 |
>> https://github.com/downloads/ |
34 |
> |
35 |
> Per spec, portage can choose a random mirror of the list. If we put |
36 |
> entries like that, these two will be equally possible as the preferred |
37 |
> cloud. URL -- while they redirect one to another. |
38 |
> |
39 |
> We might decide on some common syntax like preceding all extra entries |
40 |
> with '-' but I don't want to be the one deciding here. |
41 |
|
42 |
I checked, and current portage code already handle entries starting |
43 |
with a - gracefully thanks to stack_dictlist (removing them from the |
44 |
list of mirrors). |
45 |
|
46 |
-- |
47 |
Corentin Chary |
48 |
http://xf.iksaif.net |