26825c7b2d
Suggest `brew install --build-from-source` instead of `brew install` for testing formulas. Closes #6420. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2.5 KiB
2.5 KiB
Contributing to Homebrew
First time contributing to Homebrew? Read our Code of Conduct.
Report a bug
- run
brew update
(twice) - run and read
brew doctor
- read the Troubleshooting Checklist
- open an issue on the formula's repository
Submit a 1.2.3
version upgrade for the foo
formula
- check if the same upgrade has been already submitted by searching the open pull requests for
foo
. brew edit foo
- edit
url
andsha256
/tag
, leave thebottle
as-is brew install --build-from-source foo
- run
brew audit --strict foo
and fix any issues git commit
with commit subjectfoo 1.2.3
- open a pull request and fix any failing tests
Add a new formula for foo
version 2.3.4
from $URL
- read the Formula Cookbook or:
brew create $URL
and make edits brew install --build-from-source foo
brew audit --new-formula foo
git commit
with message formattedfoo 2.3.4 (new formula)
- open a pull request and fix any failing tests
Contribute a fix to the foo
formula
brew edit foo
and make edits- leave the
bottle
as-is brew uninstall --force foo
,brew install --build-from-source foo
,brew test foo
, andbrew audit --strict foo
git commit
with message formattedfoo: fix <insert details>
- open a pull request and fix any failing tests
Thanks!