The process for contributing to Chef sugar is rather straight-forward. It is unlikely that you'll need to modify the actual Chef recipe, so it's assumed that you want to work on the Gem itself.
-
Fork the repository on GitHub.
-
Clone your fork.
-
Create a new, semantically-named branch:
$ git checkout -b my_feature_branch
-
Make any changes, ensuring you write adequate test coverage.
-
Document your changes (YARD).
-
Run the tests (make sure they pass).
-
Submit a Pull Request on GitHub.
-
(optional) Ping me on Twitter (@sethvargo)
Additionally, please DO NOT:
- Modify the version of the cookbook or gem.
- Update the CHANGELOG
- Make unnecessary changes to the gemspec