potiuk opened a new pull request, #769:
URL: https://github.com/apache/burr/pull/769
Surfaced during 0.42.0-incubating RC3 verification: the `.sha512` files
shipped on dist.apache.org contain only the bare hex digest, so the standard
`sha512sum -c file.sha512` recipe returns "no properly formatted checksum lines
found". Voters either work around it with `echo "$(cat ${F}.sha512) ${F}" |
sha512sum -c -` (as the README currently does, see lines 132–134) or compare
digests by hand.
## Change
- `scripts/apache_release.py::_checksum_artifact()` — emit the standard
`<digest> <filename>\n` layout that `sha512sum -c` and `shasum -c` both expect.
- `scripts/README.md` — drop the `echo "$(cat …)"` workaround in the
verification workflow and use plain `sha512sum -c <file>.sha512`.
## Compatibility
Both checksum readers in the repo already use `.read().strip().split()[0]`:
- `scripts/verify_apache_artifacts.py:113`
- `scripts/apache_release.py::_verify_artifact_checksum` (line 310)
So they accept both the old bare-digest format and the new standard format —
verification of existing RCs on dist.apache.org keeps working unchanged.
## Sanity test
```
$ python -c "from scripts.apache_release import _checksum_artifact;
_checksum_artifact('artifact.tar.gz')"
$ cat artifact.tar.gz.sha512
e29ce…726b artifact.tar.gz
$ sha512sum -c artifact.tar.gz.sha512
artifact.tar.gz: OK
```
## Vote thread
https://lists.apache.org/thread/bhcwnjpbx7vhnql48z7vc3njpgrx9qmj
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.7)
Generated-by: Claude Code (Opus 4.7) following the verification of
0.42.0-incubating RC3 on the IPMC vote thread.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]