About This Project |
Back to Table of Contents |
Content | The "Perforce Triggers Scripts" is a collection of usable scripts that can be used as triggers in a Perforce server. about using (The server needs to be at level '99.1' or later.) |
Curator | Jeff Bowles is the curator of this project. Please contact him if you have any submitted contributions you'd like integrated into the public project branch. |
Triggers Scripts |
Back to Table of Contents |
Script Name | Status* | |
Jobs.pl | Example trigger to enforce a rule "submissions must be associated with a job.". | |
CheckC.pl |
A script to notice when you're creating new files (or integrating to a new
branch) and the directory name you're writing the [new] file to isn't the
same case as an existing directory name.
(For example, if "//depot/x/y/z.c" exists, this won't allow you to create a file named "//depot/X/Y/one.c".) | |
Pairs.pl | Example trigger to enforce a rule "files of suffix .x/.y need to be checked in as pairs". | |
Binary.pl | Example trigger to enforce a rule "submissions of .gif must binary files and .sh files should be text and...." | |
simple.cmd | Classroom example of writing a trigger using the Windows/NT command shell, a.k.a. "a .cmd script". (It checks that "Bug:" is included in the change description.) Doesn't do a lot, but gets the idea across. |
*How to interpret the "Status" field:
Copyright © 1998, 1999 Perforce Software |
You're browsing a file stored as$Id: //guest/jeff_bowles/perforce-triggers/index.html#2 $ in the Perforce Public Depot. |
Back to Table of Contents |