-
Notifications
You must be signed in to change notification settings - Fork 25
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
Moving from aspect-build to f0rmiga broke builds #165
Comments
By the way, while I'm at it, and for my own curiosity --- when did this repo move to a new home, and why? |
I am the original author and maintainer. Aspect donated this project to me. |
This wouldn't break you if you used GitHub's archive, which has only the repo name included but not the org. |
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)
Thank you @alexeagle for that fantastically useful comment! I wasn't aware of that. I'm going to switch to use that format instead while we wait for the more robust solution of #166. |
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)
This move affected the stripped prefix of the automatically generated archive files, which therefore also changes the SHA. End users will need to migrate their builds by updating both the
sha256
andstrip_prefix
fields (and updatingurls
too couldn't hurt).Here's an example.
The text was updated successfully, but these errors were encountered: