sonar-stash icon indicating copy to clipboard operation
sonar-stash copied to clipboard

Overview Comment is not being reset with '-Dsonar.stash.comments.reset=true'

Open tknerr opened this issue 9 years ago • 10 comments

I was surprised the -Dsonar.stash.comments.reset=true only resets the earlier comments in the diff, but not the overview comment.

Is this the desired behaviour, or is there something wrong on my side?

I find it surprising at least, and the the README also doesn't mention that it would relate to the diff comments only.

tknerr avatar Apr 03 '17 13:04 tknerr

@tknerr True, this should also affect the overview comment.

t-8ch avatar Apr 04 '17 14:04 t-8ch

Hi,

do you have an idea when this will be integrated ?

sebastian-r avatar Nov 01 '17 15:11 sebastian-r

I was working on it today. The problem is, that the overview comments has to be requested with a new API endpoint, which we currently don't use. I used this to also implement a generic accessor for paged API endpoints. A first prototype should be done tomorrow.

t-8ch avatar Nov 01 '17 16:11 t-8ch

Awesome, thank you!

sebastian-r avatar Nov 02 '17 08:11 sebastian-r

@sebastian-r Can you take a look at #162?

t-8ch avatar Nov 03 '17 12:11 t-8ch

Hi @t-8ch ,

sorry I am responding so late. Had holiday and trainings. I will have a look at it tomorrow. Thanks already for your engagement :)

sebastian-r avatar Nov 16 '17 12:11 sebastian-r

Hi @sebastian-r,

any updates?

t-8ch avatar Jan 30 '18 08:01 t-8ch

@tknerr , Could you also validate this?

t-8ch avatar Jan 30 '18 09:01 t-8ch

@t-8ch sorry don't have that sonar instance available anymore (different project, different toolchain.... :-/)

tknerr avatar Jan 30 '18 09:01 tknerr

You can look at the change in this PR and manually apply it and build your own jar with the change included: https://github.com/AmadeusITGroup/sonar-stash/pull/162 Unfortunately it was for an older codebase (I believe 1.3.0 and current release is 1.6.0) and as such you'll manually have to apply that fix against the latest codebase you'd like. I've used the fix provided and it works nicely against 1.51.

tonyfalabella avatar Jun 10 '19 01:06 tonyfalabella