Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



2 answers

Permanent link
for 1)

ah i bumped into a forum post that suggests the following,

public List getHistoryFor(IVersionableHandle versionableHandle, int limit,

boolean examineEras, IProgressMonitor monitor) throws TeamRepositoryException;


for 2)
still wondering if there's some tiny steps that could help

0 votes


Permanent link
f9s4 wrote:
for 1)

ah i bumped into a forum post that suggests the following,

public List getHistoryFor(IVersionableHandle
versionableHandle, int limit,
boolean examineEras, IProgressMonitor monitor) throws
TeamRepositoryException;

for 2)
still wondering if there's some tiny steps that could help


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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Dec 29 '08, 5:26 a.m.

Question was seen: 6,944 times

Last updated: Dec 29 '08, 5:26 a.m.

Confirmation Cancel Confirm