sputnik icon indicating copy to clipboard operation
sputnik copied to clipboard

[Feature Request] Differentiate majors (-2) from minor (-1) violations

Open julien-sobczak opened this issue 9 years ago • 1 comments

Hi,

I use Gerrit with the Sonar Integration. I would like Sputnik vote -2 for blocker violations, -1 for critical, major and +1 otherwise.

The current score strategy lets me configure only two values with the score.passingValue and score.failingValue. The other problem I encounter is the enum Severity that is too coarse-grained (Blocker, Critical, Major are all mapped to the same value ERROR).

Do you think Sputnik could evolve to support this feature? I could contribute.

Regards,

julien-sobczak avatar Aug 24 '15 13:08 julien-sobczak

Sure. This seems like a good configuration option.

Care to produce a pull request?

zygm0nt avatar Aug 25 '15 13:08 zygm0nt