Idea: keep every release's SHA256SUMS and signature after the release is deleted #42
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Tooling#42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
Keep every published release's
SHA256SUMSandSHA256SUMS.sigfor good, even after the release itself is deleted. For example,release.py publishcould commit them to a small repository (<product>/<tag>/SHA256SUMS{,.sig}), or attach them to a long-lived release.Why
CI deletes nightlies once five newer ones exist, and build artifacts expire after 7 days. When a player says "the nightly I installed last week infected my PC" (LongshotLauncher issue 379), we can only check the five nightlies still up. For anything older there is no record of which files we shipped, so we can neither clear them nor find out what was wrong.
The two files are under 1 KB per release, and they are signed, so a copy kept anywhere can be trusted. With a record:
release.py verify;Done when
Every Longshot and launcher release, nightly or stable, leaves its
SHA256SUMSand signature somewhere that is never pruned, and RELEASING.md says where and how to check an old file against it.Possibly related, for context:
Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.
Will add