Getting file(collaboration?) info from repository
![]()
Hi,
Is there a way to get information like, 1)number of times a developer has modified a file? 2)number of times file a and file b have been modified together? I am new to using jazz myself and now that I am trying to create a plug-in for it, I am kind of frustrated at where to look for info, I know jazz Lab is a start but it doesn't really get me to where I want. I am thinking maybe I need to either go through the changeSet, or Task, or WorkItem history and start doing some calculation on my own there. I am guessing more likely, changeSet is the right thing for my situation, can someone please give me some pointers hopefully a wiki page? or some package/source code location to look at? Thanks a a lot. |
2 answers
![]()
f9s4 wrote:
for 1) You could run IWorkspaceManager#findChangeSets() to find change sets which affect a particular versioned item. Unfortunately, you cannot ask about multiple versioned items in the query, so you would need to run 2 separate queries and take the union of the result. HTH, JohnC SCM Server |
![]()
for 1)
ah i bumped into a forum post that suggests the following, public List getHistoryFor(IVersionableHandle versionableHandle, int limit, for 2) still wondering if there's some tiny steps that could help |