1 |
>>>>> On Thu, 18 Aug 2011, Diego Elio Pettenò wrote: |
2 |
|
3 |
>> I understand the concern, but instead of banning the use of |
4 |
>> mirror://gentoo, why not make it mandatory to have a dev.gentoo.org |
5 |
>> link |
6 |
>> in SRC_URI when there's a mirror://gentoo link? |
7 |
|
8 |
> Because they are functionally equivalent. |
9 |
|
10 |
They are not, in fact. |
11 |
|
12 |
> If you do have a SRC_URI pointing to dev.g.o, then portage _will_ |
13 |
> look for the file in the gentoo mirrors by default unless you |
14 |
> explicitly RESTRICT it. |
15 |
|
16 |
And if you have an SRC_URI pointing to mirror://gentoo/ then Portage |
17 |
will look for the file on Gentoo mirrors, regardless of any fetch or |
18 |
mirror restriction. This can be useful, e.g., if you need the mirror |
19 |
restriction only for one file in SRC_URI. |
20 |
|
21 |
Ulrich |