CM.CHECKOUT.SH(1)
NAME
cm.checkout.sh - allow/disallow source code checkout to a CM
system
SYNOPSIS
cm.checkout.sh bugid bugid ...
DESCRIPTION
The cm.checkout.sh utility is a shell script that is meant
to be called from a CM system such as ClearCase to validate
that code/file checkout is allowed. The script is meant to
be customized to implement checkout policy.
Some policy decisions that might be made by the script are
to only allow checkout by the Assigned Engineer or to only
allow checkout if the defect is in the Assigned or Open
state. User's can impose their own checkout policy via this
script.
The script MUST be customized by the user. As shipped the
script does an immediate exit. This must be removed and the
subsequent code customized. The script is heavily commented
and example code to implement a policy of only allowing the
Assigned Engineer to checkout code and only if the defect is
in an Assigned state is provided. This code should be left
as is or commented out.
The bugid list specifies the bugids to be used for
implementing your checkout policy. Each bug may be checked
for policy issues.
SEE ALSO
cm.checkin.sh(1), cm.release.sh(1), cm.relnotes.sh(1)