ClearCase-Wrapper-MGi

 view release on metacpan or  search on metacpan

extra/Configuration.pod  view on Meta::CPAN

and on I<Windows Vista / Strawberry perl 5.12 / GMP-4.1.2>:

  Digest-SHA1-2.1
  Digest-HMAC-1.01
  Class-ErrorHandler-0.01
  Convert-ASN1-0.22
  Crypt-CBC-2.30
  Crypt-DES-2.05
  Crypt-Blowfish-2.10
  Crypt-DES_EDE3-0.01
  Convert-PEM-0.07
  Data-Buffer-0.04
  Class-Loader-2.03
  Convert-ASCII-Armour-1.4
  Digest-MD2-2.03
  Sort-Versions-1.5
  Tie-EncryptedHash-1.24
  Digest-BubbleBabble-0.01
  String-CRC32-1.4
  Math::GMP-2.05
  Math::BigInt::GMP-1.24
  Math::BigInt-1.89
  Net::SSH::Perl-1.34

On cygwin, I had in addition to install:

  Crypt-DH-0.06
  Crypt-DSA-0.14
  Crypt-IDEA-1.08
  Math-Pari-2.01080604
  Crypt-Random-1.25
  Crypt-Primes-0.50
  Crypt-RSA-1.98

Note that these are just the versions I use, and which work for me.
I cannot claim that this list is a minimal requirement.

=head2 .clearcase_profile.pl

This file is meant to be found in the user home directory.
It is common to all possible wrappers derived from ClearCase::Wrapper.
It may be symlinked from a shared version, for sitewise configuration.

An example of I<.clearcase_profile.pl> sets the ipc mode for all
commands apart for setview (unavailable then, assuming the wrapper
itself is used from a vob).

An other setting for this file is:

  $ClearCase::Wrapper::MGi::global = 1;

This setting drives I<mklbtype> and I<mkbrtype> to create I<global>
types (including the metadata types) in vobs having an admin vob.

This used to be the default with I<ClearCase::Wrapper::DSB>.

Next possible setting:

  $ClearCase::Wrapper::MGi::lockbl = 1;

If this is set, the baseline type is locked in the end of a rollout.
Conversely, a next rollout is aborted if the baselin is found unlocked on
entry, in order to prevent possible collisions of independent rollouts.
This would be the default if locking/unlocking by group members was
supported natively by ClearCase, instead of depending on user configuration.

Note that one might e.g. add there code such as:

  umask(002);

This ensures that under cleartool (from the wrapper), group members
are granted write access e.g. to directory elements being created.

The example provided also sets an environment variable (see below).

=head2 environment variables

Four variables to consider (see earlier for the two first):

  FORCELOCK
  FSCBROKER
  CLEARCASE_TAB_SIZE: affects the annotate format (default: 2)
  CCMGI_ANNF: annotate format
  CCMGI_ANNL: length of the prefix in the annotate format
    (before the actual file contents)

The default annotate format is:

  %Sd %25.-25Vn %-9.9u,|,%Sd %25.-25Vn %-9.9u

This means: a short date, a 25 chars right aligned, possibly truncated
field for the version specification, a 9 chars left aligned field for
the author. The same format is used for elisions as for additions.

Its corresponding prefix length is: 49 (10 for the date, 25 for the
version, 9 for the id, 2 for space separators, and 3 for the deletion
marker--including spaces).

This prefix is used to compute the beginning of the text upon which to
apply regexps in case of using the C<-grep> option of C<annotate>.



( run in 3.195 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )