What is the best way to change the repository name of a formula? #5031
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
All formulae in Homebrew/core are prebuilt binaries so everything will continue as normal unless someone tries to build from source. But even then GitHub will automatically redirect renamed repositories for a while. |
Beta Was this translation helpful? Give feedback.
-
Making a PR is the way to change this.
Users should not be affected even before the PR is merged, because GitHub's own redirect logic will take care of the rename as long as you don't create another repo with the same name as the old one. (For example, https://github.com/Homebrew/homebrew directs to https://github.com/Homebrew/legacy-homebrew and Git operations on both locations are still valid.) In most cases nothing will be fetched from the source repository anyway, because the bottles (pre-built binaries) will be used if Homebrew is running in a supported configuration. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response! |
Beta Was this translation helpful? Give feedback.
All formulae in Homebrew/core are prebuilt binaries so everything will continue as normal unless someone tries to build from source. But even then GitHub will automatically redirect renamed repositories for a while.