Removed /usr/local from CDPATH
[clearscm.git] / etc / triggers.dat
1 # Triggers
2 ################################################################################
3 #
4 # File:         triggers.dat
5 # Description:  Describes the triggers to be implemented.
6 # Author:       Andrew@DeFaria.com
7 # Created:      Mon Mar 15 08:48:24 PST 2004
8 # Language:     None
9 #
10 # (c) Copyright 2004, Andrew@DeFaria.com, all rights reserved.
11 #
12 ################################################################################
13 #
14 # Only the following keywords are currently recognized:
15 #
16 #       Trigger:        Introduces the trigger and gives it its name
17 #       Description:    Used for the trigger type's comment
18 #       Type:           Type of trigger (so far they're all -element -all)
19 #       Opkinds:        Operation kinds that will cause the trigger to fire
20 #       ScriptEngine:   Currently only supporting ccperl (C:\Program 
21 #                       Files\Rational\ClearCase\bin\ccperl)
22 #       Script:         Script to run (triggers)
23 #       Vobs:           Can be either base, ucm, all or a list of vob tags. 
24 #                       If base is specified then the trigger is applied to all
25 #                       base Clearcase vobs. If ucm is specified then the trigger
26 #                       is applied to all ucm vobs. If all is specified (or if
27 #                       Vobs is not present) then the trigger is applied to all
28 #                       vobs (base and ucm). Otherwise the value is considered
29 #                       a space separated list of vob tags (without the leading
30 #                       "\") and the trigger is applied only to those vobs.
31 #       EndTrigger      Ends this trigger definition.
32 #
33 ################################################################################
34 WinTriggerPath:         \\vob8800sc\view\adefaria_tools\vob\adpscmtools\CCDB\triggers
35 LinuxTriggerPath:       /view/tools_view/vob/adpscmtools/CCDB/triggers
36
37 Trigger:        CCDB_STREAM
38   Description:  Updates CCDB when a stream is made, removed, delivered to or rebased
39   Type:         -ucm -all
40   Opkinds:      -postop mkstream,rmstream,deliver_complete,rebase_complete
41   ScriptEngine: Perl
42   Script:       Stream.pl
43   Vobs:         ucm
44 EndTrigger
45
46 Trigger:        CCDB_BASELINE
47   Description:  Updates CCDB when baselines are made, completed or removed
48   Type:         -ucm -all
49   Opkinds:      -postop mkbl,mkbl_complete,rmbl
50   ScriptEngine: Perl
51   Script:       Baseline.pl
52   Vobs:         ucm
53 EndTrigger
54
55 Trigger:        CCDB_ACTIVITY
56   Description:  Updates CCDB when activities are made or removed
57   Type:         -ucm -all
58   Opkinds:      -postop mkactivity,rmactivity,chactivity
59   ScriptEngine: Perl
60   Script:       Activity.pl
61   Vobs:         ucm
62 EndTrigger
63
64 Trigger:        CCDB_ELEMENT_PRE
65   Description:  Updates CCDB when an element's version is changed
66   Type:         -element -all
67   Opkinds:      -preop checkin,uncheckout,rmver
68   ScriptEngine: Perl
69   Script:       Element.pl
70   Vobs:         base
71 EndTrigger
72
73 Trigger:        CCDB_ELEMENT_POST
74   Description:  Updates CCDB when an element's version is changed
75   Type:         -element -all
76   Opkinds:      -postop checkin,checkout,lnname,rmelem
77   ScriptEngine: Perl
78   Script:       Element.pl
79   Vobs:         base
80 EndTrigger