How to deal with `The following profiles haven't been updated for more than X year`

Hello,
I have my own quality profiles for XML. SonarQube displays a warning that they haven’t been updated for more that 1 year:
warning

Unfortunately, XML plugin didn’t introduce any new rules for a long time, so I don’t have any reasonable option to update them. Sonar way profile is also marked as outdated:

Do you have any plans to allow user to ignore the warning for some additional time (examples: ignore until the plugin will be updated; remind me next year, etc.)? I see XML plugin 2.0 will be released soon (version 2.0 issues), but it won’t introduce any new rules.

I had to use a workaround:

disable a rule, and enable it again

It works:

but the changelog looks suspicious:

Someone might think that I changed the parameter values.

Environment:

  • SonarQube Community Edition 7.5.0
  • SonarXML 1.5.1 (build 1452)

Cheers

Hi Adam,

Thanks for pointing this out. In fact, there’s nothing you can do here other than either making an innocuous change (like you did) or ignoring the “warnings”.

Maybe the UX team will take this up…

 
Ann

Hi Ann,
Thank you for the answer.

Please let me know if they decided to handle it or not :wink:

Cheers

SONAR-11607 - Don’t mark profiles stagnant if no new rules have been made available

 
:slight_smile:
Ann

1 Like