views:

1843

answers:

3

Is there a way to get Perforce to send you an email on every check to a particular depository?

+13  A: 

Yes. Type "p4 user" to see your user configuration and then under "Reviews:" put the filespec of the area in depot where you'd like to get notified on a check-in, as in:

Reviews:
    //depot/myproject/...

See this section of the user guide for more info.

Jeff Moser
What if you want to mail an email list, rather than a particular user?
Nick
I suppose you could create a user that represented the list. I'm not sure of a more efficient way
Jeff Moser
+1  A: 

As an admin you can use

p4 triggers

to setup scripts that are executed when various actions are performed (ie: on check in of a changelist). I've used it to send an email to a distribution list that all of the developers were part of so that they were aware of who was checking in what and when.

Brian Dilley
+3  A: 

Hi,

You want to install the Perforce Review Daemon script on your server. What it does is periodically poll the server for new changelists and sends an e-mail ONLY to the people interested in them. The script is maintained by Perforce and you can get help from the tech support to setup it.

You can download it from the Perforce website from the support site (towards the bottom of the page).

Perforce Support Site: http://www.perforce.com/perforce/loadsupp.html
Direct Link to Script: http://public.perforce.com/public/perforce/utils/reviewd/p4review.py

Once you have it installed you register your that your interested in changinglists by adding the filespec to your user account.

Dennis Roche