Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch gcc toolchain from archive/ URL #287

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

chiphogg
Copy link
Contributor

Previously, we were using the tarball/ URL, which includes both the
organization and the repo name as part of the prefix. GitHub also has
an archive/ URL format which, according to this comment, only
includes the repo name, not the organization!

This PR switches to the new format, making us less vulnerable to build
breakage if the repo changes homes again. (Notice how f0rmiga never
appears except in the URL --- in particular, it is now absent from
strip_prefix.) The even better solution would be to download stable
tarballs from the release page, but the project has not yet begun to
provide those.

Previously, we were using the `tarball/` URL, which includes both the
organization and the repo name as part of the prefix.  GitHub also has
an `archive/` URL format which, according to this [comment], only
includes the repo name, not the organization!

This PR switches to the new format, making us less vulnerable to build
breakage if the repo changes homes again.  (Notice how `f0rmiga` never
appears except in the URL --- in particular, it is now absent from
`strip_prefix`.)  The even better solution would be to download stable
tarballs from the release page, but the project has not yet begun to
provide those.

[comment]: f0rmiga/gcc-toolchain#165 (comment)
@chiphogg chiphogg added the release notes: ⚙️ repo PR affecting the way the repository works label Aug 15, 2024
@chiphogg chiphogg merged commit d360717 into main Aug 15, 2024
11 checks passed
@chiphogg chiphogg deleted the chiphogg/gcc-by-archive branch August 15, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: ⚙️ repo PR affecting the way the repository works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants