From a3505b29c66a43f54554d03e8d63adb0c002ba88 Mon Sep 17 00:00:00 2001 From: Vlad Shablinsky Date: Sun, 6 Sep 2015 15:50:49 +0300 Subject: [PATCH] update rename documentation Update commit format for formula renames Closes Homebrew/homebrew#43644. Signed-off-by: Mike McQuaid --- share/doc/homebrew/Rename-A-Formula.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/doc/homebrew/Rename-A-Formula.md b/share/doc/homebrew/Rename-A-Formula.md index 5236017ba0..17a8b43a7a 100644 --- a/share/doc/homebrew/Rename-A-Formula.md +++ b/share/doc/homebrew/Rename-A-Formula.md @@ -5,7 +5,7 @@ you need: 1. Rename formula file and its class to new formula. New name must meet all the rules of naming. Fix any test failures that may occur due to the stricter requirements for new formula than existing formula (e.g. brew audit --strict must pass for that formula). -2. Create a pull request to the main repository deleting the formula file, adding new formula file and also add it to `Library/Homebrew/formula_renames.rb` with a commit message like `rename: ack -> newack` +2. Create a pull request to the main repository deleting the formula file, adding new formula file and also add it to `Library/Homebrew/formula_renames.rb` with a commit message like `newack: renamed from ack` To rename tap formula you need to follow the same steps, but add formula to `formula_renames.json` in the root of your tap. You don't need to change `Library/Homebrew/formula_renames.rb`, because that file is for core formulae only. Use canonical name (e.g. `ack` instead of `user/repo/ack`).