NAME Baseline.pm

Object oriented interface to UCM Streams

VERSION

Author

Andrew DeFaria <Andrew@DeFaria.com>

Revision

$Revision: 1.4 $

Created

Fri May 14 18:16:16 PDT 2010

Modified

$Date: 2011/11/15 01:59:07 $

SYNOPSIS

Provides access to information about Clearcase Elements.

my $stream= new Clearcase::UCM::Stream ($name, $pvob);

DESCRIPTION

This module implements a UCM Stream object

ROUTINES

The following routines are exported:

new

Construct a new Clearcase Stream object.

Parameters:

stream name

Name of stream

Returns:

Clearcase Stream object

name

Returns the name of the stream

Parameters:

none

Returns:

stream's name

pvob

Returns the pvob of the stream

Parameters:

none

Returns:

stream's pvob

create

Creates a new UCM Baseline Object

Parameters:

opts

Options: Additional options to use

Returns:

$status

Status from cleartool

@output

Ouput from cleartool

remove

Removes UCM Baseline

Parameters:

none
%opts

Options: Additional options to use (e.g. -c, -force, etc.)

Returns:

nothing

Remember to check status method for error, and/or output method for output.

attributes

Returns a hash of the attributes associated with a baseline

Parameters:

none

Returns:

%attributes

Hash of attributes for this baseline

diff

Returns a hash of information regarding the difference between two baselines or a baseline and the stream (AKA "top of stream").

Parameters:

[activities|versions|baselines]

Must specify one of [activities|versions|baselines]. Information will be returned based on this parameter.

$baseline or $stream

Specify the baseline or stream to compare to. If not specified a -predeccsor diffbl will be done. If a stream use "stream:<stream>" otherwise use "baseline:<baseline>" or simply "<baseline>".

%opts

Additional options.

Returns:

%info

Depending on whether activites, versions or baselines were specified, the returned hash will be constructed with the key being the activity, version string or baseline name as the key with additional information specified as the value.

DEPENDENCIES

Modules

Clearcase

INCOMPATABILITIES

None

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Andrew DeFaria <Andrew@DeFaria.com>.

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Andrew@DeFaria.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.38.0 or, at your option, any later version of Perl 5 you may have available.