Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: SCM-ACTIVITY-1.4
-
Component/s: SCM Activity
-
Labels:None
-
Number of attachments :
Description
The side effect is that the revision number won't be stored anymore.
Issue Links
- is depended upon by
-
SONARPLUGINS-1094
Scm Activity no longer works for ClearCase
-
-
SONARPLUGINS-1157
SCM Activity plugin fails detecting the revision with mercurial
-
-
SONARPLUGINS-1283
CommandLineException: Missing/wrong number of arguments
-
-
SONARPLUGINS-1291
Unable to retrieve TFS changelog
-
-
SONARPLUGINS-1766
Can't integrate SCM Activity into Jenkins with a non-Maven java build
-
-
SONARPLUGINS-1870
Optimisation of initialisation for project with a lot of changesets
-
- is related to
-
SONARPLUGINS-1784
Incorrect user identified for Perforce check-in
-
-
SONARPLUGINS-1192
Revision number cannot be aggregated up to project level for some VCS
-
-
SONARPLUGINS-497
Support "-r" parameter for CVS
-
- relates to
-
SONAR-3525
Allow tracking of newly added or updated source files
-
In general not a good idea.
There are two numbers which have impact to scmactivity plugin performance.
1.) number of changesets
2.) number of files to blame
During the first running, scmactivity plugin has to collect all changesets and also blame all files. This could be optimised as I suggest in
SONARPLUGINS-1870.For the next run, there are two possibilities.
A.) using only blame phase, this means that plugin has to blame all files for every run of plugin.
Disadvantage : if project has a lot of files, it can be really time consuming operation.
B.) compute files to blame from changesets and blame only changed file. This is today solution.
Disadvantage of this solutions depends on complexicity of computing changelog. This is cheap for changeset based VCS like Mercurial/GIT, but really expensive for file based VCS like CVS.
I suggest give user possibility to choose the way how to compute list of files to blame.
Maybe You can expand of my idea from
SONARPLUGINS-1870.Name ot that option can be "use-changelog" with possible values :
If you look at my last patch
SONARPLUGINS-1561, there is not a lot todo with this idea.I could implement this improvement, if you want.