Name a mirror for everything GNU hosts - #182
Merged
Merged
Conversation
ftp.gnu.org refused connections for over two minutes at a time through 26 and 27 August, and each time it took a whole build with it: six components come from there and gdb is downloaded by every host, so one outage is a red pipeline rather than a slow one. Three softfp builds died this way without saying anything about softfp. Each of the six now names ftpmirror.gnu.org first -- GNU's own redirector to a nearby mirror -- and keeps ftp.gnu.org behind it. ExternalProject tries them in order, and URL_HASH decides whether what came back is the right bytes, so a mirror serving something else fails the way a corrupt download does. Checked against the redirector: gdb-15.2.tar.xz comes back with the sha256 already pinned here. The test refuses a component that names one host, or that does not try the mirror first, or that has no hash to check a mirror against.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ftp.gnu.orgrefused connections for over two minutes at a time through 26 and 27 August:Six components come from there and gdb is downloaded by every host, so one outage is a red pipeline rather than a slow one. Three softfp builds died this way today without saying anything about softfp.
Each of the six now names
ftpmirror.gnu.orgfirst — GNU's own redirector to a nearby mirror — and keepsftp.gnu.orgbehind it.ExternalProjecttries them in order, andURL_HASHdecides whether what came back is the right bytes, so a mirror serving something else fails the way a corrupt download does.Checked against the redirector:
The test refuses a component that names one host, that does not try the mirror first, or that has no hash to check a mirror against.
🤖 Generated with Claude Code