On Tue, Oct 22, 2024 at 11:24:29PM -0400, Eli Schwartz wrote: > Apache has a mirror network, which only covers the most recent release > of any given package. They also have an additional site which does not > appear to be a CDN, and is throttled and can maybe ban you if you use it > too much. Unfortunately, it is also the ONLY way to actually get > historic releases of many packages. > > Use it, and use it last -- after every other mirror has been tried, > which should handle latest releases. In combination with GENTOO_MIRRORS > this should ensure that users can actually download software when > needed, without running afoul of throttling. This does not actually do it "last" as you claim.
Portage shuffles the list of thirdpartymirrors: https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuild/fetch.py#n1140 While it increases mirror burden; this should likely be done as a distinct thirdpartymirror: apache-historical https://archive.apache.org/dist/ And that gets used in ebuilds when distfiles fall off the main mirrors [until such time as strictly ordered behavior is available]. In likelihood, unless the ebuild has RESTRICT=mirror, I'd hope that that the primary request is made to Gentoo's mirrors before the upstreams: so that we are better open-source participants. Users who are also trying to use old ebuilds, where the distfile is no longer on the Gentoo mirrors should also consider thirdpartymirrors in their profiles, in which case inserting this entry locally would be appropriate. -- Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robb...@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
signature.asc
Description: PGP signature