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

Given a UUID of file/folder/symbolic-link - how to find it in repository

 HI


Given a UUID of of file/folder/symboilclink - How to find it in repository or convert it to IVersionable

I need some way to connect a UUID to its item. For example to find a least one component that contains it, something to start with !

Currently what we can do, is for each component, start with root folder and search all items, till I found one matches this UUID, it works, but take years - we have hunderds of components.

In general our task - Given a item UUID, find all change-sets it appears in.

Boaz

0 votes



One answer

Permanent link
Please see https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ (search for UUID). That is the only method I am aware of at this time.

0 votes

Comments

Please also try to search for UUID in the SDK (using references in workspace on the UUID object). You should be able to find

package com.ibm.team.filesystem.cli.client.internal.* this is the SCM command line that consumes this kind of information.

 hx.

All these methods work fine but not in case of IVersionable - In this case the created IVersionableHandle is useless, for example methods such 'IScmService#getComponentsContainingVersionable'throw exception becuasde the IVersionableHandle contain no state 

Boaz 

Consider to get all states or something. I have not done this, so I can't hint more than I did.

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,952

Question asked: Dec 15 '15, 2:19 a.m.

Question was seen: 2,912 times

Last updated: Dec 15 '15, 2:56 a.m.

Confirmation Cancel Confirm