[p4] trigger on p4 fix

Liu, Ye YLiu at bgcpartners.com
Wed Nov 12 06:04:55 PST 2008

Hi, Steve

Thanks for your reply. Can you show me more details on in the trigger,
how to get the job status. A little example will be of great help.



-----Original Message-----
From: Stephen Vance [mailto:steve at vance.com] 
Sent: Tuesday, November 11, 2008 10:50 PM
To: Liu, Ye
Cc: perforce-user at perforce.com
Subject: Re: [p4] trigger on p4 fix

The user can choose the status with the -s flags to either fix or 
submit. However, Perforce triggers are not interactive. They can accept 
or reject the operation and send messages back to the user.


Liu, Ye wrote:
> Dear Perforce Users,
> I am pretty new of perforce triggers and I want to achieve this by p4
> fix trigger: when user uses p4 fix to associate changelists with a
> he can choose the job status. I want to enforce a constraint that the
> job status is only changed to "pending" (for review). I am thinking to
> use trigger to achieve that. Please give me your suggestions.
> Thanks,
> http://www.bgcpartners.com
> CONFIDENTIAL: This e-mail has been sent to you by one of the BGC
entities (collectively BGC)
> listed at the following link
> The link contains company and FSA registration numbers. This e-mail,
including its contents and
> attachments, if any, are confidential. If you are not the named
recipient please notify the sender and
> immediately delete it. You may not disseminate, distribute, or forward
this e-mail message or disclose
> its contents to anybody else. Copyright and any other intellectual
property rights in its contents are the
> sole property of BGC and its affiliates. E-mail transmission cannot be
guaranteed to be secure or error-free.
> The sender therefore does not accept liability for any errors or
omissions in the contents of this
> message which arise as a result of e-mail transmission.  If
verification is required please request a
> hard-copy version. Although we routinely screen for viruses,
addressees should check this e-mail and any
> attachments for viruses. We make no representation or warranty as to
the absence of viruses in this
> e-mail or any attachments. Please note that to ensure regulatory
compliance and for the protection of our
> customers and business, we may monitor and read e-mails sent to and
from our server(s). 
> The registered offices of the BGC entities are at 1 Churchill Place,
London, E14 5RD.  
> For any issues arising from this email please reply to the sender. 
> The FSA register appears at http://www.fsa.gov.uk/register/.  
> The FSA regulates the financial services industry in the United
Kingdom and is located at 
> 25 The North Colonnade, Canary Wharf, London, E14 5HS.
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user

Stephen Vance

More information about the perforce-user mailing list