Perforce 在提交时是否会邮寄任意电子邮件地址?
使用 perforce,用户可以通过在用户记录的 Reviews
字段中指定特定文件或目录的更改来获取电子邮件通知(更多详细信息,请参见 Perforce 文档)。
但是,我希望将电子邮件通知发送到团队邮件列表,这当然不是 perforce 用户。实现此目的的一种笨拙方法是让团队成员将邮件列表放入其电子邮件地址,而另一种方法是为邮件列表创建一个用户帐户(这是否需要另一个许可证?)。当然,必须有更好的方法。
With perforce, a user can get email notifications of changes to a particular file or directory by specifying it in the Reviews
field of the user record (more details in the Perforce documentation).
However, I would like to have email notifications sent to a team mailing list, which is of course not a perforce user. One kludgy way of accomplishing this would be to have a team member put the mailing list in for his email address, while another would be to create a user account for the mailing list (would this require another license?). Surely there has to be better way, though.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您想使用用户评论字段,您有权获得可能适合您需求的免费“后台用户”许可证(这样,您的“真实”用户就不需要更改其电子邮件地址):
或者,您可以考虑使用某种 来做您需要的事情p4 触发器。
If you would like to use a user review field, you are entitled to a free "background user" license that might fit your needs (this way, none of your "real" users would need to change their email address):
Or, you could look into doing what you need with some sort of p4 trigger.
perforce Review 守护进程只是此处可用的 python 脚本在服务器(或与此相关的任何机器)上运行并定期轮询签入,然后根据用户在 clientspec 的评论字段中设置的内容向用户发送邮件。
您没有理由不能修改它并扩展它来执行您想要的任何操作,包括如果您愿意的话可以邮寄团队邮件列表。
我总是推出自己的审阅守护进程(使用普通守护进程作为起点)
The perforce Review daemon is just a python script available here that runs on the server ( or any machine for that matter ) and polls check-ins on a regular interval and then mails users based on what they have set in the review field of their clientspec.
There's no reason why you can't modify it and extend it to do whatever you want including mailing a team mailing list if you want instead.
I've always rolled my own review daemon ( using the vanilla daemon as a starting point )
老问题,新答案(2014 年)。
现在有不止一种方法可以做到这一点:
Old question, new answers (in 2014).
There are now more than one way to do it: