Recommendations for deprecating private formula #139
-
I have a project which was distributed via a private Homebrew formula for a while, before being accepted into the public Homebrew distribution. I'd like to deprecate the private formula; is there any recommended way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the If the formula was migrated to another tap, you can also use a $ 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 |
Beta Was this translation helpful? Give feedback.
You can use the
deprecate!
anddisable!
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:You can see an example of a
tap_migrations.…