Search code examples
clearcasecleartoolclearcase-ucm

How to do find posted delivery and deliver it to integration stream?


we are using UCM in multisite environment. Whenever people delivering to mastersite , Some one from mastersite has to do find posted deliveries and then deliver it to integration stream again.

Now we want to preview what are all the files being delivered to integration stream.

Cleartool delivery -stream "Stream" -to "Integration-view" -preview did not work as it is trying to deliver activities to stream.

I found the article "Find UCM Posted deliveries

In this article , there is a way to find posted deliveries and complete it. but i need to preview before complete it. Is there any way to achieve this?


Solution

  • The OP Samselvaprabu insists on the multisite aspect of that deliver, pointing to an IBM article on those "posted delivers".

    Since a multisite deliver doesn't handle well any preview option, I would then recommend to:

    • have a local integration Stream in sync with the distant site (to which youwant to eventually deliver those activities)
    • initiate a local deliver to that local Integration Stream (that will support the -preview option too)
    • examine those "deliver activities" locally, before, if their content is satisfactory, initiate the actual (multisite) deliver.

    Original answer

    You can add the activities you want to deliver

     cleartool deliver -act
    

    (See cleartool deliver man page)

    Knowing that those activities are beginning by deliver, you can list them, sorted by date, pick the new ones and list them in the act parameter.

    -act/ivities activity-selector, ...
    

    Specifies a list of activities to deliver. The list must be self-consistent: the activities specified must not depend on the inclusion of any unspecified activities.
    For example, activity A2 is dependent on activity A1 if both contain versions of the same element and A2 contains a later version than does A1.

    In addition, any activities that have been included in baselines but not delivered must also be delivered if changes for that component are in the specified activities. If the list of activities you specify is incomplete, the operation fails and lists the additional required activities.

    activity-selector is of the form [activity:]activity-name[@vob-selector] where vob-selector specifies the activity's project VOB.