Add git-tree-{sha1,sha256} (but only for .tar.gz downloads)#64
Draft
DilumAluthge-LLM wants to merge 4 commits intoJuliaLang:mainfrom
Draft
Add git-tree-{sha1,sha256} (but only for .tar.gz downloads)#64DilumAluthge-LLM wants to merge 4 commits intoJuliaLang:mainfrom
git-tree-{sha1,sha256} (but only for .tar.gz downloads)#64DilumAluthge-LLM wants to merge 4 commits intoJuliaLang:mainfrom
Conversation
git-tree-sha1), but only for tar.gz downloads
DilumAluthge
reviewed
Apr 6, 2026
| number_urls_success += 1 | ||
| println(stdout, " ✓") | ||
|
|
||
| if endswith(filename, ".dmg") |
Member
There was a problem hiding this comment.
Note: This content (lines 168 through 182) is not new. It used to exist on lines 199 through 213. We've just moved the existing content up (from line 199 to line 168).
We've moved it up so that we can use extension earlier.
DilumAluthge
reviewed
Apr 6, 2026
| end | ||
|
|
||
| # Build up metadata about this file | ||
| if endswith(filename, ".dmg") |
Member
There was a problem hiding this comment.
This content (lines 199 through 213) wasn't actually deleted. It was just moved up to line 168.
See also: #64 (comment)
54d8e04 to
ebde551
Compare
git-tree-sha1), but only for tar.gz downloadsgit-tree-sha1 (but only for .tar.gz downloads)
ebde551 to
fe6305f
Compare
git-tree-sha1 (but only for .tar.gz downloads)git-tree-{sha1,sha256} (but only for .tar.gz downloads)
eb0ec54 to
e2550bf
Compare
Co-authored-by: OpenAI Codex GPT-5 <codex@openai.com>
e2550bf to
a9e1141
Compare
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.
This PR adds treehashes to
versions.json.git-tree-sha1andgit-tree-sha256), but only for.tar.gzfiles.julia-0.7.0-alpha-linux-i686.tar.gz) is bad (can't be extracted), so we skip it.Motivation
Julia releases (at least, the
tar.gzfiles) are almost artifacts:tar.gz).sha256of the tarball file inversions.json.The only thing missing is the
git-tree-sha1, which this PR adds.Also, I went ahead and added
git-tree-sha256, to future-proof us.🤖 Generated by OpenAI Codex.