[p4] p4 triggers and tracking changes

Jay Glanville Jay.Glanville at naturalconvergence.com
Mon Feb 19 11:40:02 PST 2007


On the subject of a library of available triggers, no.  Not that I'm
aware of.  Many people have placed their perforce-specific stuff in the
perforce public depot (http://public.perforce.com/public/index.html).
However, browsing through there, well, it's easier to simply ask here.

On the subject of making a log based on checkins, it would probably be
more flexible for you if you wrote a script that would generate a
"what's changed between X and Y" log based on change lists and their
contents instead of trying to write a trigger to accomplish the same
thing.

JDG


---
Jay Dickon Glanville


> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Cody Holbrook
> Sent: February 19, 2007 1:30 PM
> To: perforce-user at perforce.com
> Subject: [p4] p4 triggers and tracking changes
> 
> 
> Hello All,
> 
>  
> 
> As I understand triggers in p4, I can have a list of scripts that are
> run when certain conditions are met.  What I'm unsure about 
> is whether a
> depot of common triggers exists.  For example, I have a request to
> generate a log of changes as changelists are submitted.  The 
> idea would
> be that someone could go to //depot/<module>/p4change.log and see the
> changes with comments by which user including a list of the files
> changed.  I figure the trigger would run a p4 changes and a 
> p4 filelog,
> but I'm unsure about how to organize the output in a friendly format.
> Basically, I'm just trying to find out if this type of trigger and
> others like it are publicly available.
> 
>  
> 
> Thanks,
> 
>  
> 
> Cody Holbrook
> 
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> 



More information about the perforce-user mailing list