-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add commits convention description in CONTRIBUTING.rst #83
Conversation
CONTRIBUTING.rst
Outdated
The commit message should be structured as follows:: | ||
|
||
<type>[optional scope]: <description> | ||
|
||
[optional body] | ||
|
||
[optional footer(s)] | ||
|
||
The commit contains the following structural elements: | ||
|
||
- **fix**: a commit of the type `fix` patches a bug in the codebase. | ||
- **feat**: a commit of the type `feat` introduces a new feature to the codebase. | ||
- **BREAKING CHANGE**: a commit that has a footer `BREAKING CHANGE:`, or | ||
appends a `!` after the type/scope, introduces a breaking API change. A | ||
BREAKING CHANGE can be part of commits of any type. | ||
- types other than fix: and feat: are allowed, for example recommends `build:`, | ||
`chore:`, `ci:`, `docs:`, `style:`, `refactor:`, `perf:`, `test:`, `docs:` | ||
and others. | ||
- footers other than BREAKING CHANGE: <description> may be provided and follow | ||
a convention similar to `git trailer format`_. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not include standard description, as this will cause us to manually synchronize it's text if standard will be changed. Just title, short remark and links to the original standard text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
CONTRIBUTING.rst
Outdated
@@ -151,6 +151,37 @@ Exceptions to PEP8: | |||
"Function-Under-Test"), which is PEP8-incompliant, but more readable. | |||
Some also use a local variable, ``MUT`` (short for "Module-Under-Test"). | |||
|
|||
***************** | |||
Commit Convention |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit Message Convention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, let's wait for comments from googlers on the original issue, and then we'll push it into Google APIs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't see anything wrong.
IPR 9897
This PR adds commit convention description in CONTRIBUTING.rst.
PR checklist: