6.1.4.2. ClearCase

Integration with IBM Rational ClearCase

Support for Base ClearCase and ClearCase UCM.

VCSIntegration ClearCase supports line-by-line blame information.

Options

The following places define options that affect this rule: VCSIntegration, Project-GlobalOptions

binary

binary : str = 'cleartool'

Name of the VCS command-line binary.
 

blame_mode

blame_mode : BlameMode = 'all_authors'

If set to last_author_only, issues for code regions are only attributed to the author of the latest changes in that region. Otherwise, all authors of that code region are considered responsible.
 

componentselector

componentselector : str | None = None

Component selector in the form component:name@PVOB. This must be the root component which contains the composite baselines to analyze. Leave empty when using Base ClearCase.
 

encoding

encoding : str = 'utf-8'

Encoding of files in the repository.
 

rootpath

rootpath : bauhaus.analysis.config.ProjectRelativePath = '.'

Repository root for this VCS instance. If more than one VCS rule is activated, all their rootpath options have to be set differently. The value of rootpath must not be outside of /Project/directory for source code to be visible in the dashboard and for local_mode to work correctly.
 

skip_blame

skip_blame : bool = False

Does not run blame operations with this VCS if this option is set to true.
 

sourceserver_viewdir

sourceserver_viewdir : str = 'None (value must be set)'

Mount point where a suitable (dynamic) view is accessible in the file system of the dashboard sourcecode server (can be the same view as the analysis view). E.g. /view/viewtag on UNIX, or M:/viewtag or X:/ on Windows).
 

store_oids

store_oids : bool = True

If set to true (default), stores the internal OIDs of the versioned objects in the database (new behavior), otherwise stores fully version extended filenames (old behaviour).
 

streamselector

streamselector : str | None = None

Stream selector in the form stream:name@PVOB. This stream must contain the baselines to analyze, it is not the stream the view is based on, but the view has to be based on a child stream of this stream. Leave empty when using Base ClearCase.
 

viewtag

viewtag : str | None = None

View tag name of the already existing view for the analysis. This view must be based on a child stream of the above selected stream (because we do rebases on the view/stream). If you are using Base ClearCase instead of ClearCase UCM, just set streamselector, componentselector, and viewtag to empty and ensure that the config spec of the view is set to always build the desired state (most likely LATEST).
 

Option Types

These types are used by options listed above:

BlameMode

Enumeration of possible blame approaches for code regions.
 

all_authors

All authors of a code region are considered responsible.

last_author_only

Attribute issues only to the author of the latest change in the code region.