Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790506 - app-portage/mirrorselect should select mirrors for overlays other than ::gentoo
Summary: app-portage/mirrorselect should select mirrors for overlays other than ::gentoo
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-16 11:33 UTC by Einstok Fair
Modified: 2023-09-10 16:43 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 Einstok Fair 2021-05-16 11:33:52 UTC
When author of overlay make the package for SRC_URI like
https://someproject.org/downloads/sources-ver.tar.gz"
he can provide source distribution mirror for the case
if someproject.org will go down or became discontinued.

mirrorselect tool should allow to select one of specific servers for the overlay from the list of all servers in the overlay mirror.

Now it doesn't:
https://wiki.gentoo.org/wiki/Mirrorselect
Comment 1 Einstok Fair 2021-05-16 11:37:32 UTC
see also https://bugs.gentoo.org/790500
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2022-05-31 18:26:00 UTC
Where would the list of mirrors be for these overlays?  located in a file in each overlay checkout?

Currently mirrorselect uses only the official GENTOO_MIRRORS list, it does not contain local regional mirrors not officially part of the main gentoo mirrors list.

How would these mirrors be added to the GENTOO_MIRRORS variable?

So far I don't see any benefit for this without adding complication
to mirrorselect.   How would portage know to look for the distfile in a specific mirror from the list?  Plus, the mirror system is designed to auto add new distfiles.  Maybe I am missing something here.


I think for the few overlays that might list a distfile mirror for their pkgs, simply adding the mirror manually to GENTOO_MIRRORS is easy enough.
Comment 3 Einstok Fair 2023-09-09 22:57:34 UTC
Distribution don't cares about overlay developers. It's ok to not implement new features and say that there is no developers here.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-10 15:36:09 UTC
(In reply to Einstok Fair from comment #3)
> Distribution don't cares about overlay developers. It's ok to not implement
> new features and say that there is no developers here.

No, we do care about other repositories, but the issue goes way beyond mirrorselect - see the questions dolsen asked.
Comment 5 Einstok Fair 2023-09-10 16:28:13 UTC
I don't understand problem in depth and don't know implementation of portage mechanics. I just see the problem for me (and it still here).

I'v read "I don't see any benefit" from him. That's gave enough insult to stop thinking in this direction.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-10 16:30:17 UTC
(In reply to Einstok Fair from comment #5)
> I don't understand problem in depth and don't know implementation of portage
> mechanics. I just see the problem for me (and it still here).
> 

Therefore it's not about not caring, just about a problem being hard with no clear solution with design being proposed.

> I'v read "I don't see any benefit" from him. That's gave enough insult to
> stop thinking in this direction.

"[...] without adding complication to mirrorselect.", i.e. it's not worth the trade-off based on his understanding. Not an insult.
Comment 7 Einstok Fair 2023-09-10 16:43:45 UTC
Configuration for overlays is stored in
/etc/portage/repos.conf/*.conf
nothing prevents to add some settings there (they are text files).

For example it's possible to add a line like
GENTOO_MIRRORS+="https://additional.mirrors/".

These settings are overriden by profiles. And that should be possible to override this setting too for build servers.

I agree that this touch not only mirrorselect tool, but emerge program too.