cortexlib
v0.2.0
|
Thank you for taking the time to contribute. Any and all contributions are always very much appreciated. However, to make sure the process of accepting patches goes for everyone (especially for the maintainer), you should try to follow these few simple guidelines when you contribute:
dev
branch (git checkout -b your_branch dev
). If your contribution is a bug fix, you should name your branch bugfix/xxx
; for a feature, it should be feature/xxx
. Otherwise, just use your good judgment. Consistent naming of branches is appreciated since it makes the output of git branch
easier to understand with a single glance.The code should compile successfully and an all tests should say they passed in the terminal.
git log
. Also, starting your commit message with a tag describing the nature of the commit is nice, since it makes the commit history easier to skim through. For commits that do not change any functionality (e.g. refactoring or fixing typos), the [NFC]
tag (No Functionality Change) can be used. Here's an example of an acceptable commit message:When applicable, please squash adjacent wip commits into a single logical commit. If your contribution has several logical commits, it's fine.
git push origin your_branch
).develop
branch (not against master
).I will do my best to respond in a timely manner. I might discuss your patch and suggest some modifications, or I might amend your patch myself and ask you for feedback. You will always be given proper credit.
I'm not going to write an exhaustive style guide, but here are a couple of points you should watch out for:
#include
s go first, then a blank line and system/standard library headers. #include
s within each block should be sorted in alphabetical order.These Contributing guidelines are derived and based on the CONTRIBUTING.md file from the Boost Hana repository.