-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Verification
- This issue's title and/or description do not reference a single formula e.g.
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
Provide a detailed description of the proposed feature
The current tap_migrations.json
file allows people to define migrations in or outside a tap. But a scenario where the maintainer starts to distribute prebuild binaries rather than building in a formula is not covered. Therefore it would be useful if tap_migrations.json
would also check if the migration is from a formula to a cask and act accordingly.
What is the motivation for the feature?
GoReleaser is now distributing precompiled binaries for brew as casks rather than formulae. But this leaves a lot of users with a formula and a cask with the same name in the same tap, and no way to automatically switch the users.
See: https://github.com/orgs/goreleaser/discussions/5563#discussioncomment-14180870
How will the feature be relevant to at least 90% of Homebrew users?
A lot of smaller Go projects use Goreleaser and distribute their software to brew that way. Making the migration to casks (that better fit the Homebrew model) easier should be better for all Homebrew users.
What alternatives to the feature have been considered?
Just hoping users notice the disabling of the formulae and manually switch to casks.