[p4] Forcing users to select a job fix?

Richard Brooksby rb at ravenbrook.com
Tue Oct 16 09:02:48 PDT 2001


At 2001-10-16 11:14 -0400, Alain Jacquot wrote:

>Is there a way to force users to select a job fix before submitting a
>changelist?

Yes.

The P4DTI comes with an example trigger that checks that there's a 
fix and that it meets certain conditions.  You should be able to 
adapt it to your needs.

See 
<http://www.ravenbrook.com/project/p4dti/master/code/replicator/example_trigger.py> 
for the trigger code, and 
<http://www.perforce.com/perforce/doc.011/manuals/p4sag/06_scripting.html#1045367> 
for Perforce's documentation on triggers.
-- 
Richard Brooksby <rb at ravenbrook.com>     Senior Consultant
Ravenbrook Limited,  PO Box 205,  Cambridge,  CB2 1AN,  UK
Tel +44 1223 519215 Fax +44 870 1641432 www.ravenbrook.com



More information about the perforce-user mailing list