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