Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Proposal: ban mirror://gentoo/ from ebuilds
Date: Thu, 18 Aug 2011 14:13:11
Message-Id: 20045.7597.23757.639087@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] Re: Proposal: ban mirror://gentoo/ from ebuilds by "Diego Elio Pettenò"
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

Replies

Subject Author
[gentoo-dev] Re: Proposal: ban mirror://gentoo/ from ebuilds "Diego Elio Pettenò" <flameeyes@g.o>