Skip to content

Use stable tarball links in build process #48466

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

Open
10 tasks
inkydragon opened this issue Jan 31, 2023 · 0 comments
Open
10 tasks

Use stable tarball links in build process #48466

inkydragon opened this issue Jan 31, 2023 · 0 comments
Labels
building Build system, or building Julia or its dependencies

Comments

@inkydragon
Copy link
Member

inkydragon commented Jan 31, 2023

image

tldr:

  • Upload and publish a release tarball, then use the URL.
  • The automatically generated archives (.tar.gz, .zip) are unstable.

If you rely on stable archives for security (ensuring you don’t accidentally trigger a tarbomb, for example), we recommend you switch to release assets instead of using source downloads. On the Releases page, these are the assets which were uploaded to GitHub and appear with their file size.
Files can be added to a release manually in the web or with something like this (third-party) GitHub Action. You can later use the Release Assets REST API to retrieve them. If relying on release assets isn’t possible, we urge you to consider designs that can accommodate (infrequent) future hash changes.

—— https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/

xref:


todo:

  • deps\blastrampoline.mk
  • deps\libgit2.mk
  • deps\libssh2.mk
  • deps\libuv.mk
  • deps\libwhich.mk
  • deps\llvm.mk
  • deps\openblas.mk
  • deps\openlibm.mk
  • deps\utf8proc.mk
  • deps\zlib.mk
@inkydragon inkydragon added the building Build system, or building Julia or its dependencies label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

No branches or pull requests

1 participant