Skip to content

hookdeck: migrate to homebrew/core#5

Merged
leggetter merged 1 commit into
masterfrom
chore/migrate-to-homebrew-core
Jun 4, 2026
Merged

hookdeck: migrate to homebrew/core#5
leggetter merged 1 commit into
masterfrom
chore/migrate-to-homebrew-core

Conversation

@leggetter
Copy link
Copy Markdown
Contributor

Summary

The hookdeck formula has been accepted into homebrew-core (Homebrew/homebrew-core#286152, merged 2026-06-04). Following the canonical Homebrew migration pattern: delete the formula from this tap and add tap_migrations.json so existing users get auto-redirected to homebrew-core on their next `brew update`.

Changes

Removed:

  • hookdeck.rb (root — stale duplicate from the tap's earlier flat layout)
  • Formula/hookdeck.rb (canonical location, last shipped v2.2.0)

Added:

  • tap_migrations.json at repo root with {"hookdeck": "homebrew/core"}

Untouched:

  • Formula/hookdeck-beta.rb — homebrew-core does not accept pre-releases, so the beta channel continues to live in this tap.

What happens for existing users

Scenario Result
Has hookdeck installed from this tap On next brew update && brew upgrade hookdeck, brew sees the migration and pulls v2.2.0+ from homebrew-core. Cellar entry is seamlessly replaced.
Brewfile pins hookdeck/hookdeck/hookdeck The migration metadata redirects resolution to homebrew-core. No Brewfile edits needed.
Fresh brew install hookdeck/hookdeck/hookdeck after migration Redirected to homebrew-core. User gets the core formula.
Has hookdeck-beta installed from this tap Unchanged. Beta continues to be published here on pre-release tags.

⚠️ Merge order

This PR must merge after hookdeck/hookdeck-cli#299, which updates the GoReleaser config to stop publishing the stable hookdeck.rb to this tap. Otherwise a future stable release of hookdeck-cli would recreate the deleted files via GoReleaser and undo the migration. PR is held as draft until then.

Test plan

  • chore: promote homebrew-core as primary macOS install path hookdeck-cli#299 has merged before this PR is marked ready
  • After merge, verify on a clean machine: brew tap hookdeck/hookdeck && brew install hookdeck resolves to homebrew/core (via the migration), not the deleted formula
  • brew install hookdeck/hookdeck/hookdeck-beta continues to work (beta path unchanged)
  • brew upgrade hookdeck on a machine with the old tap-installed version cleanly transitions to homebrew-core

References

🤖 Generated with Claude Code

The `hookdeck` formula has been accepted into homebrew-core
(Homebrew/homebrew-core#286152, merged 2026-06-04).
Following the canonical Homebrew migration pattern: delete the formula
from this tap and add `tap_migrations.json` so existing users get
auto-redirected to homebrew-core on their next `brew update`.

Removes:
- `hookdeck.rb` (root — stale duplicate from the tap's earlier flat layout)
- `Formula/hookdeck.rb` (canonical, last shipped v2.2.0)

Adds:
- `tap_migrations.json` mapping `hookdeck` → `homebrew/core`

`Formula/hookdeck-beta.rb` is untouched — homebrew-core does not accept
pre-releases, so the beta channel continues to live in this tap.

The corresponding GoReleaser change in hookdeck-cli stops publishing
the stable formula to this tap on stable tags
(hookdeck/hookdeck-cli#299), so future stable releases won't recreate
these files.

Refs hookdeck/hookdeck-cli#297, hookdeck/hookdeck-cli#299

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@leggetter leggetter marked this pull request as ready for review June 4, 2026 15:49
@leggetter leggetter merged commit abf37e2 into master Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant