Perforce - getting email on every checkin

五迷三道 提交于 2019-12-21 06:58:01

问题


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


回答1:


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 P4 command reference for more info.




回答2:


In p4v (visual client)

  1. Connection -> Edit Current User

  2. Enter the path to your repository under Reviews

This is correct for OSX & Windows.




回答3:


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.




回答4:


In the perforce visual client (P4V), go to Connection and Edit current User Under the user dialog box, go to the reviews tab. Select and deselect the different trees of the "depot"




回答5:


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.



来源:https://stackoverflow.com/questions/588264/perforce-getting-email-on-every-checkin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!