Linuxbrew is a fork of Homebrew. Homebrew is merged into Linuxbrew roughly once per week. To contribute a new formula or a new version of an existing formula, please submit your pull request to Homebrew rather than to Linuxbrew. Patches to fix issues that you have reproduced on both Linuxbrew and Homebrew should be sent to Homebrew. Please send your pull request to Linuxbrew if you are in doubt.
Patches to fix issues particular to Linux should not affect the behaviour of the formula on Mac. Use if OS.mac?
and if OS.linux?
as necessary to preserve the existing behaviour on Mac.
First time contributing to Homebrew? Read our Code of Conduct.
- run
brew update
(twice) - run and read
brew doctor
- read the Troubleshooting Checklist
- open an issue on the formula's repository
- 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 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
- read the Formula Cookbook or:
brew create $URL
and make edits brew install 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
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!