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

Code Migration from ClearCase to RTC using Baseline Importer - Partial labels need imported

We are migrating source code from Base ClearCase to RTC (V6.0.2).  We have been using the baseline importer to import the release labels we want to bring forward.  We have come across a project group that applies release labels over the entire VOB but only applies 'patch' labels to the files that changed.  The patch labels are not even to the root folder (vob).


I believe the baseline importer requires the labels be applied to the root folder.  If this is the case, there are hundreds of 'patched' labels that would require rework.  Is there any options that will allow us to migrate the release & patch labels?

Regards,
Jim

0 votes



One answer

Permanent link

There is no way for the synchronizer to know what version of the non-labeled directories/files should be selected, without additional information (such as a base label, a branch type, etc).

One approach is to write a script, that for each logical stream in ClearCase, and then for each patch label on that stream, moves a "working label" to all the appropriate directories/files, perform an import of that working label, and then repeat for each additional patch label.

0 votes

Comments

Thanks for your quick answer!  I thought was going to be the answer.  I would suspect there is a base label for each patch label (identified by the previous release).  I assume the baseline importer cannot take that into account and use it?  Just trying to understand the capabilities of the baseline importer.


Is there any other alternatives?  I suspect the version importer would be overkill for what we need but is that an option?


That is correct that the baseline importer has no mechanism to leverage the base label.  The version importer isn't likely to be of use in this scenario.   Is there any reason not to use the scripted approach (other than avoiding the effort of writing the script)?   It shouldn't be a very hard script to write.

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
× 12,109

Question asked: Jan 27 '17, 1:33 p.m.

Question was seen: 3,584 times

Last updated: Jan 27 '17, 2:55 p.m.

Confirmation Cancel Confirm