Hi stranger, thanks for your love.
If you're looking to improve g, be sure to first:
- Search through Pull-Requests and Issues; someone might have had the same problem already.
- Check the releases and CHANGELOG to make sure you have the latest version (
g --version). - Check what changes are pending for release, if any.
- Read the LICENSE.
- Read the Code of Conduct.
IMPORTANT: If you want to add a feature, please open an issue to discuss it first; g aims to be simple.
Once you're ready to start coding:
- Fork the repo.
- Clone your fork.
- Checkout the
nextbranch. - Apply your changes.
- Document your changes (README, --help content, etc) where necessary.
- Update the CHANGELOG describing your contributions.
- Run
make lintto check the code withshellcheck,make testto run the smoke tests, andmake formatafterwards to style it withshfmt.
Once you are done with your changes and cleared by make lint, make test, and make format:
- Commit with a meaningful message. See: How to Write a Git Commit Message.
- If your contribution is related to an existing issue, remember to reference the issue number.
- Push your changes to your fork.
- Open a pull request against the
nextbranch. - Wait for the CI to finish. We use Github Actions to lint and test on pull-requests.
- Ask for review.
- Be patient.
Love. ♥