List the contributing activities in the change set of a baseline or an integration activity

BASELINES

Baselines are used to mark a set of versions as a stable configuration or a bench mark, and can span multiple components in a project.

For more information on Baselines and their uses, see IBM Rational ClearCase Managing Software Projects.

You can view the contributing activities in a baseline from GUI or CLI as follows:

GUI - ClearCase Component Tree Browser

  1. From Project Explorer, right-click a component and select Browse Baselines:



  2. Right-click the baseline and select Properties > Activites tab:





CLI - cleartool describe

Command syntax:

cleartool describe baseline:@\PVOB

Example:
C:\>cleartool des baseline:proj1_new_baseline@\pvob1
baseline "proj1_new_baseline"
created 2006-07-17T21:38:48-04 by admin.ccusers@IBM-D15F3483123
owner: IBM-D15F3483123\admin
group: IBM-D15F3483123\ccusers
stream: project1_int@\pvob1
component: comp1@\pvob1
label status: Fully Labeled
change sets:
deliver.admin_proj1_dev2.20060717.213815@\pvob1
promotion level: INITIAL
depends on:
Attributes:
PromotionLevel = "INITIAL"
Hyperlinks:
BaselineLbtype -> lbtype:proj1_7_17_2006@\multivob
UseBaseline <- stream:admin_proj1@\pvob1
UseBaseline <- stream:admin_project1@\pvob1


INTEGRATION ACTIVITY

Integration activities track work completed as a result of a deliver or rebase operation, and they are named accordingly with a prefix of either deliver or rebase to help distinguish them from user created activities.

For more information About activities, see IBM Rational ClearCase Developing Software.

You can view the contributing activities in an integration activity from GUI or CLI as follows:

GUI - ClearCase Project Explorer

Note: The screen capture is from Microsoft® Windows®, but this feature is available on UNIX® and Linux® also.

  1. Start Project Explorer, select a stream in the left-hand pane, and the integration activities will appear in the right-hand pane:

    Note: Integration activities only exist in a stream as the result of a deliver or rebase operation.



  2. Right-click the activity and select Show Contributing Activities:




CLI - cleartool lsactivity -contrib

Command Syntax:

cleartool lsactivity -contrib @\pvob

Note: You can list the intergration activities in a stream using cleartool describe stream:@\PVOB.

Example:

>cleartool lsactivity -contrib deliver.admin_proj1_dev2.20060717.213815@\pvob1
new_file


Note:
The following command provides information that closely matches the GUI results above:

cleartool lsact -fmt "%[contrib_acts]p" deliver.admin_proj1_dev2.20060717.213815@\pvob1

No comments:

Post a Comment