Rules management in Sonarqube 7.4

sonarqube

(Etienne Jouvin) #1

Hello.

On Sonarqube 7.4, when new rules are available and imported in profile. If I have a custom profile that inherits from Sonar way, when I go to Quality Profiles administration and select this profile, I can see there is rules active in the parent profile but not in mine.

Then when I click on the link right to “Sonar way rules not included”, I jump to rules administration with two filter on Quality Profile.
Diff%20view

BUT, going directly to Quality Profiles administration, I am not able to select two Quality Profile, even by hitting key, as it is possible in section “Language”.

Is it an expected behavior or kind of bug ? It could be nice to be able to select at least two profiles.

Regards

Etienne Jouvin


(G Ann Campbell) #3

Hi Etienne,

You can’t select two profiles on purpose. We just don’t see a lot of utility for the feature other than what we’ve provided from inheritance. Outside of that use case, the ROI on limiting you to sane, non-confusing pairs is just too low. (For instance, it makes no sense to compare profiles of two different languages.)

 
Ann


(Etienne Jouvin) #4

Hi Ann.

Ok got it.
I was just surprised that we have the link from the inherence, but impossible to do it manually. Also because I was sure to see it in previous version, but must be a mistake :wink:
One use case could be to compare my profile to another profile (in same language of course) otherthan the parent one.

But, if you consider the ROI is too low, this is fine to me. Because, I still can compare profiles with the specific tool, even if I am not a lot confortable with it.
And you are also right, we do not change rules in profile everyday.

Thanks

Etienne