First time contributing to Homebrew-osgeo4mac? Read our Code of Conduct.
- Run
brew update(twice). - Run and read
brew doctor. - Read the Hombrew Troubleshooting Checklist.
- Read the how to report issues and the troubleshooting.
- Search for same issue or similar to yours in the repo.
- If there is no similar issue, open or closed, open an issue on the repo.
- Check if the same upgrade has been already submitted by searching the open pull requests for
foo. brew bump-formula-pr --strict foowith--url=...and--sha256=...or--tag=...and--revision=...arguments.
- Read the Formula Cookbook or:
brew create $URLand make edits brew install --build-from-source foobrew audit --new-formula foogit commitwith message formattedfoo 2.3.4 (new formula)- Open a pull request and fix any failing tests
If you are already well versed in the use of git, then you can find the local
copy of the homebrew-core repository in this directory
($(brew --repository homebrew/core)), modify the formula there
leaving the section bottle do ... end unchanged, and prepare a pull request
as you usually do. Before submitting your pull request, be sure to test it
with these commands:
$ brew uninstall --force foo
$ brew install --build-from-source foo
$ brew test foo
$ brew audit --strict fooAfter testing, if you think it is needed to force the corresponding bottles to be
rebuilt and redistributed, add a line of the form revision 1 to the formula,
or add 1 to the revision number already present.
If you are not already well versed in the use of git, then you may learn
a little bit about it from the Homebrew's documentation and then proceed as
follows:
- Run
brew edit fooand make edits. - Leave the section
bottle do ... endunchanged. - Test your changes using the commands listed above.
- Run
git commitwith message formattedfoo <insert new version number>orfoo: <insert details>. - Open a pull request as described in the introduction linked to above, wait for the automated test results, and fix any failing tests.
If you are interested in collaborating more close with us in the repo maintenance, formula development or just have an idea to take this tap further, please tell us. Any help, idea or suggestion is really welcomed because we want this top to be useful to people that are interested into use QGIS and the rest of the OSGeo toolset on macOS.
In addition to the normal communication over the issue tracker in this repo we also have a have a 
Thanks! 🙏
*Note*: this contributing page has been heavily based on the Homebrew core's contributing page.*