ClearCase script - I need a list of all the component of a certain stream that still needs delivery to default

风格不统一 提交于 2019-12-08 07:35:20

问题


I need a list of all the component of a certain stream that still needs delivery to default


回答1:


There doesn't seem to be one simple command to use.

You would have to initiate a preview of a deliver, to see which ones would actually need said deliver.

    cleartool deliver -preview

Since the default for a deliver is to deliver all activities in the stream that have changed since the last deliver operation from the stream, that would allow for detecting any activity candidate for delivery, component after components.

You might also need to:

You would need to:

  • list all components in a stream, using fmt_ccase:

    cleartool descr -fmt "%[mod_comps]CXp" stream:<stream>@<apvobtag>
    

(that would list the modifiable components for a given stream)

  • cross-reference the activities elements with the root folder of the components in order to find which component is involved by an activity listed as to be delivered.


来源:https://stackoverflow.com/questions/28591732/clearcase-script-i-need-a-list-of-all-the-component-of-a-certain-stream-that-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!