Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127085

Summary: mirrorselect should set thirdpartymirrors
Product: Gentoo Linux Reporter: Chris Gianelloni (RETIRED) <wolf31o2>
Component: Current packagesAssignee: Colin Kingsley (RETIRED) <tercel>
Status: RESOLVED INVALID    
Severity: enhancement CC: genone
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Gianelloni (RETIRED) gentoo-dev 2006-03-21 07:28:32 UTC
When using mirrorselect to get mirrors for make.conf, it would be great if it could also set the "gentoo" mirror in thirdpartymirrors, to allow portage to only use the fastest mirrors when an ebuild looks for a file hosted on mirror://gentoo in SRC_URI.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-03-26 22:36:07 UTC
Chris, could you give an actual example where this request makes sense?
For the record, portage fetch order for mirror://gentoo files is:
- GENTOO_MIRRORS 
- local in /etc/portage/mirrors
- gentoo in /etc/portage/mirrors
- gentoo in $PORTDIR/thirdpartymirrors

so if mirrorselect sets both GENTOO_MIRRORS and /etc/portage/mirrors::gentoo to the same servers portage will simply try the same locations twice.
Unless of course there is an ebuild with mirror://gentoo and mirror restriction, but that would be a contradiction somehow.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-27 13:40:05 UTC
(In reply to comment #1)
> Chris, could you give an actual example where this request makes sense?
> For the record, portage fetch order for mirror://gentoo files is:
> - GENTOO_MIRRORS 
> - local in /etc/portage/mirrors
> - gentoo in /etc/portage/mirrors
> - gentoo in $PORTDIR/thirdpartymirrors

Starting with which portage version?  I'm just curious.

> so if mirrorselect sets both GENTOO_MIRRORS and /etc/portage/mirrors::gentoo to
> the same servers portage will simply try the same locations twice.
> Unless of course there is an ebuild with mirror://gentoo and mirror
> restriction, but that would be a contradiction somehow.

Funny that you mention this.  We have a few of them in games.  One example is games-rpg/nwn-data.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-03-27 16:54:43 UTC
(In reply to comment #2)
> Starting with which portage version?  I'm just curious.

As long as I can remember, so at least 2.0.50.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-28 11:22:32 UTC
I guess we don't need this, then.