#!/usr/bin/env python #============================================================================== # Copyright and license info is available in the LICENSE file included with # the Server Deployment Package (SDP), and also available online: # https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/LICENSE #------------------------------------------------------------------------------ # # Trigger table entry: # block_p4exp command pre-user-fstat "/p4/common/bin/triggers/block_p4exp.py %clientprog%" import sys import re prog=sys.argv[1] if re.search("P4EXP", prog): print("P4EXP is not allowed. Please upgrade to the current version of P4V.") sys.exit(1) else: sys.exit(0) ~
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 16781 | Robert Cowham | Move some triggers to deprecated folder. | ||
#2 | 15856 | C. Thomas Tyler |
Replaced the big license comment block with a shortened form referencing the LICENSE file included with the SDP package, and also by the URL for the license file in The Workshop. |
||
#1 | 12103 | Russell C. Jackson (Rusty) | Command trigger to block P4EXP. |