okorach / sonar-tools

Additional command line based tools to help in SonarQube administration tasks
GNU Lesser General Public License v3.0
47 stars 18 forks source link

`ratingsAsNumbers` not implemented? #1502

Closed renefritze closed 1 day ago

renefritze commented 3 days ago

I'm using sonar-tools 3.6 trying to export some measures. --ratingsAsNumbers seems to have no effect for me. Neither with csv nor json output.

AFAICT the option's intention is stored, but never read from again: https://github.com/search?q=repo%3Aokorach%2Fsonar-tools+CONVERT_OPTIONS&type=code If that's true, then --percentsAsString and --datesWithoutTime would also not work.

okorach commented 3 days ago

Hello @renefritze,

Thanks for reporting this. It's supposed to be implemented but, indeed I confirm, it does not work. I'll fix that in next release and add a test to ensure no regression in the future