create homebrew casks for linux and macos automagically #1222
No reviewers
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck!1222
Loading…
Reference in a new issue
No description provided.
Delete branch "reinoud/Ocideck:homebrew_support"
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?
Summary
Changes
Checklist
git commit -s) per theDCO, with my real name and a reachable email.
make checkpasses (format-check, analyze, full test suite).the test is on the reported behaviour and was red once against the
unfixed code — or I explained in the summary why a test cannot prove
anything here and what gate covers it instead.
context.l10n.d('…')and are translated inevery supported language. Use
make add-l10n SPEC=…; the authoritativeset is
AppLocalizations.languageNames, not a list written down here.Not the maintainer? Supply Dutch and English, leave the other 30
blank, and say so below — the maintainer fills them in before merge.
docs/FILE_FORMAT.md.traffic, or a promise made in the UI or the docs — I described the
trade-off in the summary: which principle I gave precedence, why, and
what would change my mind.
changed interface, the authentication/trust model, newly handled sensitive
data, a major dependency or supplier swap, the update/distribution path, or
a large architectural change — I re-read
docs/SECURITY_DESIGN.md(§Threat model) andassurance/risicoafweging.mdand eitherconfirmed they still hold or updated them. (No gate enforces this: whether
the model was genuinely revisited cannot be checked mechanically.)
Notes for reviewers
Thanks Reinoud — and apologies, my first reply here missed that you had actually implemented this, not just requested it. You did the real work: a cask template, an update script, and release wiring on both workflows, nicely guarded behind a secret. That is a solid starting point, and we would like to build on it and land it with your authorship credited.
A few things we will adjust along the way:
brewon Linux only handles CLI formulae), and the Linux release is a Flutter bundle directory rather than a singleocideckbinary, so theon_linux ... binaryblock cannot work. We will make the cask macOS-only. Linux does deserve a proper install path, and we are treating that as its own track — see #1227 (likely AppImage as the portable baseline, plus Flatpak).auto_updates true. In a cask that means "the app updates itself" and tells Homebrew not to offer upgrades — OciDeck does not self-update, so this would suppressbrew upgrade.SHA256SUMS. Instead of re-downloading and re-hashing, we will read the authoritative hash from theSHA256SUMSwe already publish with each release.brew install --cask librekat/ocideck/ocideckshorthand still works.We have opened #1227 to track the whole packaging effort (macOS cask + Linux). We will base the work on your commit, refine on top, and land it with your authorship credited. Thanks again for kicking this off.
Landed in main via #1229 (merge
ab0b0774) — thank you, Reinoud. Your commit is the base of that branch, so your authorship is preserved in the history, and there is a word of thanks in the CHANGELOG.Summary of what changed on top of your version before merge: the cask is now macOS-only (Homebrew Cask has no Linux equivalent),
auto_updates truewas dropped, the SHA-256 is read from the publishedSHA256SUMS, and the tap is forge-canonical with a GitHub mirror. Linux packaging continues on its own track in #1227 (AppImage / .deb / Flatpak). Closing this in favour of the merged branch.Pull request closed