You want to contribute? You're awesome! When submitting a Pull Request, please have your commits follow these guidelines:
When cloning, ensure to clone recursively to get the submodules.
git clone --recurse-submodules email@example.com:rustless/valico.git
If you've already cloned normally, use this to get the submodules:
git submodule update --init --recursive
These guidelines have been copied from the AngularJS project.
We have very precise rules over how our git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. But also, we use the git commit messages to generate the change log.
Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject:
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier to read on github as well as in various git tools.
Must be one of the following:
The scope should refer to a module in rustless that is being touched. Examples:
The subject contains succinct description of the change:
###Body Just as in the subject, use the imperative, present tense: “change” not “changed” nor “changes” The body should include the motivation for the change and contrast this with previous behavior.
###Footer The footer should contain any information about Breaking Changes and is also the place to reference GitHub issues that this commit Closes.
The last line of commits introducing breaking changes should be in the form
A detailed explanation can be found in this document.