8000
Skip to content

Merge repeated archive URL hashes by version ID#18841

Open
charliermarsh wants to merge 1 commit intocharlie/merge-hashes-ifrom
charlie/merge-hashes-ii
Open

Merge repeated archive URL hashes by version ID#18841
charliermarsh wants to merge 1 commit intocharlie/merge-hashes-ifrom
charlie/merge-hashes-ii

Conversation

@charliermarsh
Copy link
Copy Markdown
Member
@charliermarsh charliermarsh commented Apr 3, 2026

Summary

If we encounter multiple hashes for the same direct URL, we now (1) reject if they use the same algorithm but different values, and (2) collect if they use different algorithms. This includes cases in which a user provides both a hash in the fragment and via --hash.

For now, if any hash is correct, the URL will be accepted; we'll change this in the future. (On main, we only consider the last-seen hash anyway.)

@charliermarsh charliermarsh added the bug Something isn't working label Apr 3, 2026
@charliermarsh charliermarsh force-pushed the charlie/merge-hashes-ii branch 2 times, most recently from ac75c97 to 23d233d Compare April 3, 2026 16:42
@charliermarsh charliermarsh force-pushed the charlie/merge-hashes-ii branch from 23d233d to 06df5b2 Compare April 3, 2026 16:43
@charliermarsh charliermarsh added enhancement New feature or improvement to existing functionality and removed bug Something isn't working labels Apr 3, 2026
@charliermarsh charliermarsh marked this pull request as ready for review April 3, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0