| 1 |
# Pull Requests Guidelines |
| 2 |
|
| 3 |
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more details about when to create |
| 4 |
a GitHub [Pull Request][1] and when other kinds of contributions or |
| 5 |
consultation might be more desirable. |
| 6 |
|
| 7 |
When creating a new pull request, please fork the repo and work within a |
| 8 |
development branch. |
| 9 |
|
| 10 |
## Commit Messages |
| 11 |
|
| 12 |
* Most changes should be accompanied by tests. |
| 13 |
* Commit messages should explain _why_ the changes were made. |
| 14 |
``` |
| 15 |
Summary of change in 50 characters or less |
| 16 |
|
| 17 |
Background on why the change is being made with additional detail on |
| 18 |
consequences of the changes elsewhere in the code or to the general |
| 19 |
functionality of the library. Multiple paragraphs may be used, but |
| 20 |
please keep lines to 72 characters or less. |
| 21 |
``` |
| 22 |
|
| 23 |
## Reviews |
| 24 |
|
| 25 |
* Perform a self-review. |
| 26 |
* Make sure the Travis CI build passes. |
| 27 |
* Assign a reviewer once both the above have been completed. |
| 28 |
|
| 29 |
## Merging |
| 30 |
|
| 31 |
* If a CEL maintaner approves the change, it may be merged by the author if |
| 32 |
they have write access. Otherwise, the change will be merged by a maintainer. |
| 33 |
* Multiple commits should be squashed before merging. |
| 34 |
* Please append the line `closes #<issue-num>: description` in the merge message, |
| 35 |
if applicable. |
| 36 |
|
| 37 |
[1]: https://help.github.com/articles/about-pull-requests |