It's all about the answers!

Ask a question

Using CC importer with composite baselines


Marco Delato (512114) | asked Feb 24 '12, 9:58 a.m.
Hi,
I should import lot of sources from clearcase into RTC. These sources are partitioned into several UCM components and are tagged by composite baselines.
I should import only a subset of baselines.
I tried the mechanism based on clearcase attribType and attributes applied to the baseline described in https://jazz.net/library/article/50/; it works fine, but I can't find a simple way to use it in my scenario: I have one composite baseline (e.g. named bsl_1.3.8) and several derived baseline linked to it (e.g. named bsl_1.3.8.17, bsl_1.3.8.317, bsl_1.3.8.2145) one on each component.

The question is: Is there any way to apply an attribute to a composite baseline and automatically to every baseline derived from it (I can't find any cleartool mkattr option to do tihs)?
Otherwise what is the cleartool command to obtain the list of all the baselines linked to a composite baseline?

Even thought the question is about clearcase, I need this info to use the RTC's CC-Importer.

Thanks in advance,
Marco

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 25 '12, 12:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'm not aware of a single cleartool command that will recursively apply an attribute to all baselines that are members of a composite baseline, so you probably will need to write a script for this. The cleartool command for listing all of the direct dependency (member) baselines of a composite baseline is
lsbl -long
.

I believe it would be reasonable to expect the CC Synchronizer to handle this automatically, by treating a baseline as being selected if there is the specified attribute on any composite baseline that contains the baseline as a member. I've submitted work item 198544 for this enhancement.

Cheers,
Geoff



Hi,
I should import lot of sources from clearcase into RTC. These sources are partitioned into several UCM components and are tagged by composite baselines.
I should import only a subset of baselines.
I tried the mechanism based on clearcase attribType and attributes applied to the baseline described in https://jazz.net/library/article/50/; it works fine, but I can't find a simple way to use it in my scenario: I have one composite baseline (e.g. named bsl_1.3.8) and several derived baseline linked to it (e.g. named bsl_1.3.8.17, bsl_1.3.8.317, bsl_1.3.8.2145) one on each component.

The question is: Is there any way to apply an attribute to a composite baseline and automatically to every baseline derived from it (I can't find any cleartool mkattr option to do tihs)?
Otherwise what is the cleartool command to obtain the list of all the baselines linked to a composite baseline?

Even thought the question is about clearcase, I need this info to use the RTC's CC-Importer.

Thanks in advance,
Marco

Your answer


Register or 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.