From 8479bc0ee3fc22507864ce1fd339e7cb6e82c767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans-J=C3=BCrgen=20Sch=C3=B6nig?= Date: Mon, 22 Jun 2026 20:34:37 +0200 Subject: [PATCH] packaging: remove obsolete homebrew-formula.json manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scripts/homebrew-formula.json was a leftover hand-maintained tap manifest from an earlier formula approach that nothing consumes — the Homebrew artefact is generated and pushed to the tap by goreleaser on release. Delete it and update scripts/README.md to point at the homebrew_casks stanza in .goreleaser.yaml instead. --- CHANGELOG.md | 7 +++++++ scripts/README.md | 10 ++++++---- scripts/homebrew-formula.json | 11 ----------- 3 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 scripts/homebrew-formula.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d77271f..92a74fc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,13 @@ keeps reading that version for at least 24 months after a successor lands. ## [Unreleased] +### Packaging: remove the obsolete homebrew-formula.json manifest + +Dropped `scripts/homebrew-formula.json`, a leftover hand-maintained tap +manifest that nothing consumes: the Homebrew artefact is generated and +pushed to the tap by goreleaser on release. Updated `scripts/README.md` +accordingly. + ### Packaging: publish a Homebrew formula on release goreleaser now generates and pushes a Homebrew formula to the org-wide diff --git a/scripts/README.md b/scripts/README.md index dd43c27b..ffce257d 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -8,13 +8,17 @@ the build or test runners. If a script is invoked by `make`, it belongs in Standalone executables a contributor or operator runs by hand: the canonical install script the website serves, the maintainer's local dev-cluster spinner, -the homebrew tap manifest, and the demo quickstart used in onboarding videos. +and the demo quickstart used in onboarding videos. Keep each script self-documenting (`--help`) and POSIX-portable unless the comment block declares otherwise. +Homebrew packaging is not here: the cask is generated and pushed to the tap +(cybertec-postgresql/homebrew-tap) by goreleaser on release — see the +`homebrew_casks` stanza in `../.goreleaser.yaml`. + ## Key files / subdirs -- `install.sh` — the curlable installer served at https://get.pghardstorage.org; +- `install.sh` — the curlable installer served at resolves the latest release (or `--version `), downloads the matching goreleaser tarball, verifies its SHA-256 against `checksums.txt` (and the cosign signature when cosign is installed), then drops the binary into @@ -23,8 +27,6 @@ comment block declares otherwise. - `demo-quickstart.sh` — five-minute end-to-end demo (local repo, backup, restore) used by `../docs/tutorials/getting-started.md` - `devcluster.sh` — local Patroni + pg_hardstorage dev cluster for maintainers -- `homebrew-formula.json` — machine-generated tap manifest consumed by the - Homebrew formula repo on release ## Read next diff --git a/scripts/homebrew-formula.json b/scripts/homebrew-formula.json deleted file mode 100644 index 7f9c1e58..00000000 --- a/scripts/homebrew-formula.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "bugs": "https://github.com/cybertec-postgresql/pg_hardstorage/issues", - "description": "PostgreSQL backup, done right. Continuous WAL streaming is the data plane.", - "homepage": "https://github.com/cybertec-postgresql/pg_hardstorage", - "license": "Apache-2.0", - "section": "databases", - "stable": true, - "dependencies": [ - "postgresql@18" - ] -} \ No newline at end of file