-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Provide commit message format for Coverity defects #6771
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
Conversation
.github/CONTRIBUTING.md
Outdated
| ``` | ||
|
|
||
| #### Coverity Defect Fixes | ||
| If you are submitting a fix to a Coverity defect, the commit message must |
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.
We should link to the Coverity results, https://scan.coverity.com/projects/zfsonlinux-zfs
.github/CONTRIBUTING.md
Outdated
| * The first line must be in the format of `Fix coverity defects: CID dddd, dddd...` | ||
| where `dddd` represents each CID fixed by the commit. | ||
| * The body of the commit message must be a list of Coverity defects and how | ||
| each defect was corrected. Each defect must start in with a line in the 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.
How about.
- The body of the commit message should list each Coverity defect and how it was corrected.
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.
Do you want me to leave the description of the format? Or should we just let the example fill in that part?
f34870a to
a6121cf
Compare
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.
LGTM, thanks!
Provide details about the commit message format for Coverity defect fixes submitted. Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
a6121cf to
597606e
Compare
Codecov Report
@@ Coverage Diff @@
## master #6771 +/- ##
==========================================
+ Coverage 74.45% 74.52% +0.07%
==========================================
Files 297 297
Lines 94371 94371
==========================================
+ Hits 70266 70334 +68
+ Misses 24105 24037 -68
Continue to review full report at Codecov.
|
|
Small correction to the example commit message. Forgot the |
Provide details about the commit message format for Coverity defect fixes submitted. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#6771
Provide details about the commit message format for Coverity defect fixes submitted. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#6771
Provide details about the commit message format for Coverity defect fixes submitted. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#6771
Provide details about the commit message format for Coverity defect fixes submitted. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#6771
Provide details about the commit message format for Coverity defect fixes submitted. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes openzfs#6771
Description
Provide details about the commit message format for Coverity defect
fixes submitted. Will make changes to the commit message checker in the future.
Motivation and Context
Document Coverity defect fix commit message expectations.
Types of changes
Checklist:
Signed-off-by.