...
This plugin collects SCM information on each source file to display in the source code viewer the last committer on lines.

...
Installation
- Install from the SCM Activity plugin through the Update Center or or download the JAR it into the directory SONAR_HOME/extensions/plugins /directory
- Restart the Sonar .server
Usage
Configuring the SCM Activity Plugin
Set the SCM URL of your project (see SCM URL Format): sonar.scm.url properties. For Git, SVN and Mercurial, the SCM provider is automatically discovered, so what's defined in this property is not taken into account.
- At project level, go to Configuration > Settings > SCM Activity and specify User (
sonar.scm.user.secured) and Password (sonar.scm.password.secured) if needed; if specified then developerConnection will be used, otherwise connection. - Launch a new quality analysis and the metrics will be fed.
| Info |
|---|
|
The first analysis of a project with version 1.4 will last longer than the subsequent analyses. |
In some cases, it is necessary to retrieve blame information on files that have not been changed (for example when a user has been renamed). To force this retrieval, here are the steps to follow:
- Deactivate the SCM Activity plugin:
sonar.scm.enabled = false - Run a Sonar analysis on your project
- Reactivate the SCM Activity plugin:
sonar.scm.enabled = true - Run a Sonar analysis on your project
| Info |
|---|
Note that a property should be added in one of the upcoming versions to explicitly force this retrieval or not. See SONARPLUGINS-2359. |
Known Issues and Limitations
...
See http://git-scm.com/docs/git-blame#_mapping_authors
...
Change Log
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.5 |
|---|
| height | 70 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18567&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.4 |
|---|
| height | 70 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17309&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.3 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17276&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.2 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16455&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.1 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16286&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.0 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16222&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 0.2 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16192&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|
...
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 0.1 |
|---|
| height | 250 |
|---|
| renderMode | static |
|---|
| width | 800 |
|---|
| columns | type;key;summary;priority;status;resolution |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16142&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000 |
|---|
|