gabrie-allaigre / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
713 stars 207 forks source link

Old issue are not included in codeclimate.json and this mark them as resolved in Gitlab #182

Open dzamlo opened 5 years ago

dzamlo commented 5 years ago

The generated codeclimate.json only include new issues. The issue with that, is that the old issue that are not resolved are marked as resolved in the Merge request even if they are not fixed. The codeclimate.json file should include all issues.

jnovick commented 5 years ago

I agree. sonar.gitlab.all_issues can be set to true to solve this, but that also makes the global comment show everything which is NOT ideal. codeclimate.json should always report all and the global comment should depend on that config value.

Stan0304 commented 5 years ago

I agree too. CodeClimate does not implement such thing as analysis on new code and GitLab expects a codeclimate.json file that includes all the issues all the time. But it seems already to be the case with the last versions available and this issue should be closed.