ClearCase Repositories¶
New in version 4.0.
Power Pack adds support for HCL DevOps Code ClearCase (formerly HCL VersionVault) and enhanced support for IBM DevOps Code ClearCase repositories. This is an improvement over Review Board’s built-in ClearCase support, which is a legacy community-provided project and is limited both in functionality and support.
Below, the term “ClearCase” refers to both “HCL ClearCase” as well as “IBM ClearCase”.
Multiple ClearCase VOBs can be included in a single Review Board repository.
Installing ClearCase Support¶
Before you add the repository, you will need to make sure the cleartool command from the ClearCase client is present in your system path (or in a place accessible by your web server’s process). Using the new ClearCase tool also requires Review Board 4.0.5 or newer.
Adding a Repository¶
To configure a ClearCase repository, you’ll need to first create a view on the Review Board server with access to all of your desired VOBs. This must be either a snapshot or dynamic view.
To create the repository entry in Review Board, select (None - Custom Repository) for the Hosting Service, and ClearCase for the Repository Type. Note that you must use the ClearCase repository type. The ClearCase (legacy) repository type refers to the legacy community-provided edition of ClearCase support.
Under the Path field, enter the absolute path to your view. On Windows, this must include the drive letter.
For example:
/view/rbview
M:\vobs\rbview
Next, for ClearCase VOBs, you’ll need to enter the OID for each VOB you want included. To find the VOB OID, use this command (replacing <vobtag> with the tag of the VOB):
$ cleartool lsvob -l <vobtag> | grep "family uuid"
Copy the OIDs, and enter them in the field, one per line. For example:
58a55679.ca1311eb.9c5d.52:54:00:7f:63:a5
b25e48aa.d60511eb.838b.52:54:00:7f:63:a5
2b2048ef.d60611eb.83af.52:54:00:7f:63:a5
RBTools Support¶
The RBTools command-line tools include support for posting changes for ClearCase with support for a variety of workflows. The cleartool command must be available on each system that you use RBTools on.
See the rbt post documentation for more details on how to post changes for review using ClearCase.