Skip to content

Recommendations for deprecating private formula #139

Discussion options

You must be logged in to vote

You can use the deprecate! and disable! methods that we use in Homebrew/core (just do a quick search for those methods and plenty of examples will pop up).

If the formula was migrated to another tap, you can also use a tap_migrations.json file to indicate that the formula moved to another tap. If you do this, trying to install the formula will give the following message:

$ brew install <formula>
Error: No available formula or cask with the name "<formula>".
It was migrated from <user>/<tap> to <new-user>/<new-tap>.
You can access it again by running:
  brew tap <new-user>/<new-tap>
And then you can install it by running:
  brew install <formula>

You can see an example of a tap_migrations.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dandavison
Comment options

Answer selected by dandavison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants