Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464906 - sys-apps/portage: support pkgmirrors, like thirdpartymirrors but for PORTAGE_BINHOST load-balancing
Summary: sys-apps/portage: support pkgmirrors, like thirdpartymirrors but for PORTAGE_...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: 377365
  Show dependency tree
Reported: 2013-04-07 01:08 UTC by Zac Medico
Modified: 2024-06-23 18:37 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2013-04-07 01:08:46 UTC
The idea support mirror:// URIs in PORTAGE_BINHOST for load-balancing, similar to the way they are supported in SRC_URI. Since these binhost mirrors serve a different purpose than thirdpartymirrors, they would have a separate configuration file, which might be called pkgmirrors.
Comment 1 Eli Schwartz gentoo-dev 2024-06-23 18:37:18 UTC
Portage could really benefit from the ability to define multiple load-balancing urls for binpackages.

But it MUST not be a separate global config. It has to be a property of a specific binhost, because you can have multiple binhosts, and having all of them fallback to a load balancing server runs a high risk of having binhost-specific gpkg files that clash with each other.

e.g. the new official binhost is building multiple package sets, one for x86-64 and one for x86-64-v3, and most packages will exist twice with the same filename but different CFLAGS (mixing and matching can result in systems with SIGILL'ing binaries) and different hashes ("package is corrupted or malicious").