Create solution for checking spelling in commit messages and code comments before merging
Currently there is a contributor, who regularly runs Codespell against the codebase and then commits typo fixes. It would be optimal to rather run it before anything is actually merged.
Possibly the gerrit webhooks plugin could be leveraged in this case. The data for the commit message and changed/added code would need to be somehow fetched.
Updated by Beluga Beluga over 1 year ago
- Subject changed from Create gerrit plugin for checking spelling in commit messages and code comments to Create solution for checking spelling in commit messages and code comments before merging
I asked David for ideas and he said:
this should rather actually be solved outside gerrit.
See for example very similar gerrit-linter project for different
kind of style verification:
that supposed to work in combination with gerrit checks plugin: