Discussion:
Quality Profiles - Copying From One Instance to Another
What_Just_Happened
2014-08-20 14:48:43 UTC
Permalink
Hi SQ Users,

I am trying to move from one installation of /SonarQube/ to another. One of
the *Quality Profiles* for the Java language has a hundreds of rules
configured in-house. Is there a way I can copy this unique *Quality Profile*
to the new instance? I have a feeling it is going much more complex than
Ctrl-C, Ctrl-V. Is there a way to load this into the new database from the
previous database.

Please let me know if this does not make sense to you. Basically, I want to
copy all of the rules for the checker from one instance of /SonarQube/ to a
different one. I did not read anything about this on the official
documentation here: http://docs.codehaus.org/display/SONAR/Quality+Profiles


Regards,




--
View this message in context: http://sonarqube.15.x6.nabble.com/Quality-Profiles-Copying-From-One-Instance-to-Another-tp5027574.html
Sent from the SonarQube Users mailing list archive at Nabble.com.
G. Ann Campbell
2014-08-20 18:07:18 UTC
Permalink
On the page listing the existing profiles, use the "Back up" link to
generate the rules out to a file. (Note that things like inheritance aren't
included in this file, it's just the rules and their severities &
parameters.) Then you'll be able to use the "Restore Profile" option to
import the profile on the target server.


:-)
Ann



---
G. Ann CAMPBELL | SonarSource
Product Owner
http://sonarsource.com
Post by What_Just_Happened
Hi SQ Users,
I am trying to move from one installation of /SonarQube/ to another. One of
the *Quality Profiles* for the Java language has a hundreds of rules
configured in-house. Is there a way I can copy this unique *Quality Profile*
to the new instance? I have a feeling it is going much more complex than
Ctrl-C, Ctrl-V. Is there a way to load this into the new database from the
previous database.
Please let me know if this does not make sense to you. Basically, I want to
copy all of the rules for the checker from one instance of /SonarQube/ to a
different one. I did not read anything about this on the official
http://docs.codehaus.org/display/SONAR/Quality+Profiles
Regards,
--
http://sonarqube.15.x6.nabble.com/Quality-Profiles-Copying-From-One-Instance-to-Another-tp5027574.html
Sent from the SonarQube Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
What_Just_Happened
2014-08-28 22:55:14 UTC
Permalink
Ann,

Thank-you for the reply. This is helpful information. I was able to transfer
the rules without issue. Although, I noticed that a few rules did not make
the jump but I am assuming that this is because they are obsolete or
something and are not going to be found on the latest version of SonarQube
as of this writing.

Respectfully,





--
View this message in context: http://sonarqube.15.x6.nabble.com/Quality-Profiles-Copying-From-One-Instance-to-Another-tp5027574p5027812.html
Sent from the SonarQube Users mailing list archive at Nabble.com.
G. Ann Campbell
2014-09-02 20:09:07 UTC
Permalink
I'm curious which rules didn't make the jump. If you've still got the data
available, could you let me know which ones it was (or rather, wasn't :-)?


Thx,
Ann



---
*G. Ann CAMPBELL* | SonarSource
Product Owner
http://sonarsource.com
Post by What_Just_Happened
Ann,
Thank-you for the reply. This is helpful information. I was able to transfer
the rules without issue. Although, I noticed that a few rules did not make
the jump but I am assuming that this is because they are obsolete or
something and are not going to be found on the latest version of SonarQube
as of this writing.
Respectfully,
--
http://sonarqube.15.x6.nabble.com/Quality-Profiles-Copying-From-One-Instance-to-Another-tp5027574p5027812.html
Sent from the SonarQube Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
Continue reading on narkive:
Loading...