banger/internal/updater
Thales Maciel fae28e3d8b
update: docs + publish script for the self-update feature
README gets a top-level Updating section; docs/privileges.md gains
a step-by-step trust-model writeup of `banger update`. The new
scripts/publish-banger-release.sh drives the manual release cut:
build, tar, sha256sum, cosign sign-blob, verify against the embedded
public key, jq-merge into manifest.json, rclone upload to the R2
bucket. Refuses outright if the embedded key is still the placeholder
so we can't accidentally publish an unverifiable release. Also folds
in gofmt drift accumulated across the updater package and a few
sibling files.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 12:43:46 -03:00
..
download.go updater: download/stage/swap/rollback flow steps 2026-04-29 12:30:22 -03:00
flow_test.go updater: download/stage/swap/rollback flow steps 2026-04-29 12:30:22 -03:00
manifest.go update: docs + publish script for the self-update feature 2026-04-29 12:43:46 -03:00
manifest_test.go updater: manifest + SHA256SUMS parsing scaffolding 2026-04-29 12:24:36 -03:00
sha256sums.go updater: manifest + SHA256SUMS parsing scaffolding 2026-04-29 12:24:36 -03:00
sha256sums_test.go updater: manifest + SHA256SUMS parsing scaffolding 2026-04-29 12:24:36 -03:00
stage.go update: docs + publish script for the self-update feature 2026-04-29 12:43:46 -03:00
swap.go update: docs + publish script for the self-update feature 2026-04-29 12:43:46 -03:00
verify_signature.go update: docs + publish script for the self-update feature 2026-04-29 12:43:46 -03:00
verify_signature_test.go updater: cosign-blob signature verification on SHA256SUMS 2026-04-29 12:37:53 -03:00