Conversation
Add a zap stanza to the homebrew_cask so `brew uninstall --zap things` moves ~/Library/Caches/things-cli to Trash, leaving no orphan state. Plain `brew uninstall things` still leaves the cache alone — zap only fires with --zap or `brew zap things`, so users who reinstall don't unexpectedly lose their last-list indices.
3 tasks
ryanlewis
added a commit
that referenced
this pull request
May 10, 2026
## Summary Release-notes header for the v0.3.1 patch release. GoReleaser reads this file at tag time via `readFile ".github/releases/<tag>.md"`, so it must exist at the tagged commit. Patch release covers a single change: cask `zap` stanza added in #86 so `brew uninstall --zap things` cleans up `~/Library/Caches/things-cli`. ## Test plan - [ ] Merge this PR - [ ] Tag `v0.3.1` and push, triggering the Release workflow - [ ] Confirm cask republishes to `ryanlewis/homebrew-tap` with the new version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
zap:stanza to the Homebrew cask so a full uninstall (brew uninstall --zap things) cleans up~/Library/Caches/things-cli— the last-list cache that backsthings complete 1-style indices.Standard Homebrew behaviour: zap is opt-in via
--zap(orbrew zap thingsseparately), so plainbrew uninstall thingsstill leaves the cache alone. That's deliberate — uninstall + reinstall (or switching between brew and a local dev build that reads the same cache path) shouldn't blow away state.Generated cask diff
Test plan
goreleaser checkpassesgoreleaser release --snapshot --clean --skip=publishgenerates a cask with thezap trash: [...]blockbrew install ryanlewis/tap/things, thenbrew uninstall --zap things, confirm~/Library/Caches/things-cliis moved to Trash