[p4] p4review daemon questions

Marc Wensauer maillist.perforce.com at work.wnsr.net
Mon Jun 11 13:50:01 PDT 2007


So I've just implemented the p4review daemon and generally like its
functionality.  However, I have a couple questions:

* I currently have it scheduled to run in cron every minute, but I
wonder if it would be more efficient if it just ran as part of a
submit-complete trigger.  How do you have it configured to run?

* The configuration is embedded within the p4review.py script -- how can
I separate this out so that it sources a configuration file I can
specify as an option?  (I'm totally new to Python)

* What's the best way if I wanted to include individual file diffs?

* Is there an easy way to generate HTML colorized diffs, like SVN-Notify
(http://search.cpan.org/~dwheeler/SVN-Notify/)?

Thanks for your advice,
-Marc


More information about the perforce-user mailing list