Skip to content
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

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

Open
julien-sobczak opened this issue Aug 24, 2015 · 1 comment

Comments

@julien-sobczak
Copy link

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,

@zygm0nt
Copy link
Collaborator

zygm0nt commented Aug 25, 2015

Sure. This seems like a good configuration option.

Care to produce a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants