Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127085 - mirrorselect should set thirdpartymirrors
Summary: mirrorselect should set thirdpartymirrors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Colin Kingsley (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 07:28 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-03-28 11:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.