From 875deec51ececcfedf5e75659a0ed0d535dccbcb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 11 Apr 2015 16:46:38 +0100 Subject: Migrating A Formula To A Tap: add documentation. Closes #38570. Signed-off-by: Mike McQuaid --- share/doc/homebrew/Migrating-A-Formula-To-A-Tap.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 share/doc/homebrew/Migrating-A-Formula-To-A-Tap.md diff --git a/share/doc/homebrew/Migrating-A-Formula-To-A-Tap.md b/share/doc/homebrew/Migrating-A-Formula-To-A-Tap.md new file mode 100644 index 000000000..c476d5f60 --- /dev/null +++ b/share/doc/homebrew/Migrating-A-Formula-To-A-Tap.md @@ -0,0 +1,8 @@ +# Migrating A Formula To A Tap +There are times when we may wish to migrate a formula from Homebrew's core (the main repository) into a tap (another repository). To do this: + +1. Create a pull request to the new tap adding the formula file as-is from the main Homebrew repository. Fix any test failures that may occur due to the stricter requirements for new formulae 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 and add it to `Library/Homebrew/tap_migrations.rb`. +3. Put a link for each pull request in the other pull request so the maintainers can merge them both at once. + +Congratulations, you've moved a formula to a tap! -- cgit v1.2.3