-
Notifications
You must be signed in to change notification settings - Fork 61
fix: add support for sha512-only archives #306
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
lczyk
wants to merge
31
commits into
canonical:main
Choose a base branch
from
lczyk:fix/issue-305-accept-sha512
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+442
−44
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a948b10
feat: add sha256
lczyk e1b7e40
docs: comment
lczyk daf5864
tests: test SHA512 cache entries
upils 46d5658
fix: refine comments
upils 1511187
tests: use stonking for SHA512 tests
upils bbdf2fe
fix: rely on ok to check digest
upils 7501ca0
Merge remote-tracking branch 'canonical/main' into fix/issue-305-acce…
lczyk c973b90
test: cover by-hash over sha512
lczyk 9fa6d53
test: propagate digest kind to packages in test helper
lczyk 46fefb3
test: cover release publishing both digests
lczyk 1e1a0d1
refactor: rename digestField to digestSection
lczyk 58c0e97
test: inline makeSha256
lczyk 82dd7e7
test: make digest kinds an archive-wide property
lczyk f8eb118
test: drop implicit SHA256 default for digest kinds
lczyk bc4b7f6
fix: check Walk return in inheritDigestKinds
lczyk c179489
fix: build by-hash URLs from strongest digest
lczyk 744fae9
refactor: name digest fields, not sections
lczyk 8c5cbc1
fix: panic on unknown digest kind in test archive
lczyk 7a308a3
refactor: drop redundant inheritDigestKinds call
lczyk 2ec8ab9
refactor: propagate Walk errors in test archive
lczyk c5ce9e3
docs: describe digestKinds field, not its writer
lczyk 1397709
refactor: packages read digest kinds through the release
lczyk 7cf965b
refactor: adopt packages through Walk
lczyk abfc91f
refactor: rename adoptPackages to wirePackages
lczyk 0ebadf2
docs: keep findDigest comment above the table format
lczyk 606e7a1
test: cover by-hash dirs beyond the strongest digest
lczyk 86024cd
docs: by-hash dirs beyond the strongest are legal
lczyk b70e1b4
Update internal/archive/testarchive/testarchive.go
lczyk 311052e
refactor: single strongest-first digest preference
lczyk 0c9e9e3
test: pass DigestKinds instead of release pointer
upils b9da3c9
refactor: strongest kind at the release level
upils File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.