Project

General

Profile

Task #3248

Create solution for checking spelling in commit messages and code comments before merging

Added by Beluga Beluga 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Gerrit
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:
URL:

Description

Background:
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.

History

#1

Updated by Guilhem Moulin 7 months ago

  • Assignee deleted (Guilhem Moulin)
#2

Updated by Beluga Beluga 7 months 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:

https://gerrit.googlesource.com/gerrit-linter/

that supposed to work in combination with gerrit checks plugin:

https://gerrit.googlesource.com/plugins/checks/

Also available in: Atom PDF