-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sqale support for 'other' rules #467
Comments
The default is used to revert the rule to the original value, since those On Thu, Apr 16, 2015, 10:15 Günter Wirth [email protected] wrote:
|
Don't understand this, calling e.g. I get:
Calling I get
In second case there are
So my idea was to add this also for 'other'.
|
Sure if platform supports its fine, I usually use this On Thu, Apr 16, 2015, 12:38 Günter Wirth [email protected] wrote:
|
I think your tool is very good to modify the settings but for an initial setup I would prefer to have all in one file and inside of the SQ configuration. |
Sure I can see the point. Perhaps augment the current format with the sqale On Thu, Apr 16, 2015, 16:40 Günter Wirth [email protected] wrote:
|
Do you know if there is a helper class to read the sqale xml ( |
not aware of anything... perhaps the sonar core contains something On Thu, 16 Apr 2015 at 18:49 Günter Wirth [email protected] wrote:
|
See #469 for first demo to set a 'default' sqale value. |
This could be a solution: http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.sonar.sslr-squid-bridge/sslr-squid-bridge/2.5/org/sonar/squidbridge/rules/SqaleXmlLoader.java. Load in the same way as rule file. |
Yep that will work. Good that they introduce this method. I suggest the On Fri, May 29, 2015, 22:25 Günter Wirth [email protected] wrote:
|
Still not sure what is the better choice here:
|
Perhaps the existing XML could be augmented to include the chars. Still On Sat, May 30, 2015, 13:04 Günter Wirth [email protected] wrote:
|
With new API it is no problem to set default values for Sqale/Technical Debt:
http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.sonar/sonar-plugin-api/4.5.2/org/sonar/api/server/rule/RulesDefinition.java#RulesDefinition.NewRule
Question is only what is 'default'?
The current used RulesDefinitionXmlLoader does not support Technical Debt values:
http://javadocs.sonarsource.org/4.4/apidocs/org/sonar/api/server/rule/RulesDefinitionXmlLoader.html
Idea could be to extend this file with Sqale values for the rules, so everything is together in one file?
The text was updated successfully, but these errors were encountered: