sonar-gerrit-plugin icon indicating copy to clipboard operation
sonar-gerrit-plugin copied to clipboard

Sonar violations are commented with 'unresolved' status

Open spyken7 opened this issue 3 years ago • 3 comments

What feature do you want to see added?

Hello,

We recently upgrade Sonar Gerrit plugin from 2.4.6 to 376.v67dc39df1298.

We noticed that sonar was making "Resolved" comments in grey in the previous version, but it is making "Unresolved" comments in yellow background.

Could you make an option to select the status of the comment?

Thanks!,

Upstream changes

No response

spyken7 avatar Oct 28 '22 19:10 spyken7

Hello,

If I understand correctly, you want the comments to be created resolved ? The behaviour did change. Creating comment resolved was a bug that appeared with latest Gerrit versions.

So you want an option to enable the old bug :)

Feel free to open a pull request

reda-alaoui avatar Oct 28 '22 19:10 reda-alaoui

Hello,

Is it possible to mark INFO level message from Sonar as resolved, but keep messages above INFO level as unresolved comments?

Thanks!

baocvcv avatar Nov 13 '23 11:11 baocvcv

@baocvcv , I think you can imagine that there is no possible consensus on the rule you suggest.

reda-alaoui avatar Nov 13 '23 11:11 reda-alaoui