Add a new check-commits CI job using gitlint#1263
Add a new check-commits CI job using gitlint#1263phlogistonjohn wants to merge 2 commits intoceph:masterfrom
Conversation
5c66ac2 to
5c061fc
Compare
| [title-must-not-contain-word] | ||
| # Comma-separated list of words that should not occur in the title. Matching is case | ||
| # insensitive. It's fine if the keyword occurs as part of a larger word (so "WIPING" | ||
| # will not cause a violation, but "WIP: my title" will. |
There was a problem hiding this comment.
missing a closing parenthesis?
There was a problem hiding this comment.
I don't think so, but re-reading the comment I see that wip,WIP is probably redundant because the doc says this is case insensitive.
There was a problem hiding this comment.
I was indicating the only opening parenthesis ( seen here in the comment.
|
Feel free to ignore but pasting the warning I saw from corresponding CI runs: |
5c061fc to
3f697a6
Compare
Added the option to suppress the warnings. |
|
@Mergifyio rebase |
This will be later used to check commit messages. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This uses the gitlint tool to check for basic formatting of commit messages. In particular we want to require the Signed-off-by on all commits. We were kinda-sorta requiring it but not always enforcing it. ceph/ceph has been requiring it for a long time. I also think it's even more important now that people declare they have the right to contribute change now that more and more tools are being used to generate code. Signed-off-by: John Mulligan <jmulligan@redhat.com>
|
Deprecation notice: This pull request comes from a fork and was rebased using |
✅ Branch has been successfully rebased |
3f697a6 to
7803e3a
Compare
Add a new check-commits CI job that uses gitlint to enforce some basic parameters of git commit messages in contributions to go-ceph. In particular we want to require the Signed-off-by on all commits. We were kinda-sorta requiring it but not always enforcing it. ceph/ceph has been requiring it for a long time.
I also think it's even more important now that people declare they have
the right to contribute change now that more and more tools are being
used to generate code.
I've used gitlint in other projects with success so I chose that rather than agonize other available tools.