Hi Claus,
On Wed, Jul 1, 2015 at 2:35 PM, Claus Hunsen <hunsen@xxxxxxxxxxxxxxxxx> wrote:
Hi everybody,
I have two questions regarding the re-analysis of a project in Codeface.
Consider the circumstance that I have done a complete run of a project
already (e.g., the tagging is configured as "proximity"), all commits of
the given release-ranges are filled into the database, and afterwards
the developer-network analysis has been performed and written to the
results folder.
(1) How can I re-run the network-analysis part of Codeface, based on the
already filled database from the commit analysis? Is there any
possibility to do this?
To rephrase the question: Can I run the different parts of Codeface
(blame/commit analysis and network analysis) independently?
The rationale is simple: I could have fixed a bug in the
network-analysis part of Codeface and want to do the analysis again, but
do not want to re-fill the database ('commit' and 'commit_dependency'
tables) again. This would evidently save much time.
(2) Regarding the blame/commit analysis of Codeface (in particular, the
'commit' and 'commit_dependency' tables in the database): Is it possible
to run several kinds of tagging configurations at once or adding another
with a second run of Codeface?
At the moment, I write "tagging: proximity" in the configuration file,
thus, I have several projects in the Codeface database (e.g.,
"project_feature" and "project_file") for each repository that I analyze
(each with an independent set of the same commits in the 'commit' table!).
I can think of two scenarios that apply to the current situation:
- adding another commit analysis to the existing one inside the
database, so that both share their 'commit'-table entries (NO
independent sets anymore!).
- running several commit/blame analyses at once, e.g., by supplying
"tagging: [proximity, feature, file]" inside the configuration file.
Can we achieve this somehow, and, if yes, how?
I hope, you understand my thoughts and you are able to give a hint to
deal with the problems that arise from having several distinct project
in the database.
Best regards,
Claus