A Better Solution, Inc. - ClearCase Triggers

"clearcase triggers, clearcase scripts, clearcase tools, clearcase knowledge base, triggers, scripts, tools, knowledge base, clearcase, Clearcase, Rational, clearCase consulting, Jazz tools consultant, ABS, training, GSA, Rational, IBM, GSA, BM Rational Tools consultant, Clearquest, ClearCase training, CM, scm, ClearCase help, consulting, trainer, training, ClearCase guru, configuration management" "RTC, Rational Team Concert, clearcase, CLEARCASE resume, trainer, consultant, clearcase, BM Rational Tools consultant, ClearCase training, GSA contract holder, Rational, IBM, CM, scm, ClearQuest Consulting, ClearCase help, consulting, trainer, training, ClearCase guru, configuration management" "ClearCase training, RTC, Requisite Pro, JAZZ, ABS, GSA Schedule holder, Rational, IBM, ClearCase training, CM, scm, ClearCase help, consulting, ClearQuest, BM Rational Tools consultant, trainer, training, ClearCase guru, configuration management"
Helpful ClearCase triggers applied primarily by ClearCase Administrators to help create and enforce policy for their users. ABS provides triggers that define and enforce those policies. Here are a few triggers with their associated source code (written in Perl or Shell). Use as needed. Our gift to you. "clearcase triggers, clearcase scripts, clearcase tools, clearcase knowledge base, triggers, scripts, tools, knowledge base, clearcase, Clearcase, Rational, clearCase consulting, Jazz tools consultant, ABS, training, GSA, Rational, IBM, GSA, BM Rational Tools consultant, Clearquest, ClearCase training, CM, scm, ClearCase help, consulting, trainer, training, ClearCase guru, configuration management" "RTC, Rational Team Concert, clearcase, CLEARCASE resume, trainer, consultant, clearcase, BM Rational Tools consultant, ClearCase training, GSA contract holder, Rational, IBM, CM, scm, ClearQuest Consulting, ClearCase help, consulting, trainer, training, ClearCase guru, configuration management" "ClearCase training, RTC, Requisite Pro, JAZZ, ABS, GSA Schedule holder, Rational, IBM, ClearCase training, CM, scm, ClearCase help, consulting, ClearQuest, BM Rational Tools consultant, trainer, training, ClearCase guru, configuration management"

#############################################################
# STANDARDS.pl  (Perl)
#
# New label type must be fully UPPER CASE (i.e. REL1.0).
# New branch type must be fully lower case (i.e. rel1.0).
#
# Author: Charles W. Clarke III (A Better Solution, Inc.)
# email:  charles@abs-consulting.com
# URL:    http://www.abs-consulting.com
# Date:   Apr. 08,  2001
#############################################################
# History: 04/08/01 : Created for A Better Solution,  Inc.
#############################################################


This trigger script is expected to be called from a preop trigger. 


The administrator should create an type trigger that includes all branch types
and label types like so (or similar):

    cleartool mktrtype -type -pre mktype \
          -brtype -all -lbtype -all \
          -c "Unsure that branches are fully lower case and labels are fully UPPER case." \
          -exec {path}/STANDARDS.pl STANDARDS



Shortcut using...

If using ClearTrigger, you don't need to write ANY trigger code... Just turn on this functionality bit (bit 4) in the configuration file.

Read more on Policy without Triggers using ClearTrigger.


View Trigger Code.  (Perl)