Written by Robert Cowham (Perforce Consulting Partner and Certified Trainer).
Example triggers with a modified trigger framework.
More documentation to follow.
You also browse this directory in P4Web.
ad-auth-check.ps1 | Active Directory auth-check trigger written in PowerShell. Seems to work nicely with ActiveDirectory - see comments for requirements. Needs a lot less accuracy with LDAP parameters than the various alternatives in Perl etc. |
P4Triggers.rb | Basic framework - enhanced version of Tony Smith's original |
P4Triggers.py | Basic framework - (from Sven Erik Knops's original) |
check_case_consistency.rb | Enhancement of Tony Smith's version to ensure case consistency on submit (e.g. avoid Windows case insensitive problems) |
CheckCaseTrigger.py | Enhancement of Sven Eirk's version to ensure case consistency on submit (e.g. avoid Windows case insensitive problems) |
default_client.rb | Enhancement of Tony Smith's version to create a default client from a template |
check_format_bug_branch.rb | Check naming convention for a bug branch. Edit to change naming convention. |
check_format_rel_name.rb | Check naming convention for a release branch. |
Last updated: $Date: 2005/11/29 $