# genreview.conf # Example configuration file for the generic review daemon # $Id: //guest/thomas_quinot/perforce/utils/genreview/genreview.conf#3 $ ########## General configuration options Mailhost: localhost Administrator: perforce-admin@example.net Environment: P4PORT=perforce.example.net:1666 P4USER=someuser PATH=/usr/local/packages/perforce/bin:/usr/local/bin:/usr/bin:/bin ########## Fileset definitions # This fileset emulates the behaviour of the traditional # review daemon. Fileset Depot: //... Action: p4 describe -s %changelist% Mailto: reviewers # This fileset sends a more detailed change description for # project elm to the elm-checkin mailing list. Fileset Detailed-Checkins //depot/elm/... //depot/otherproject/... Action: echo "Subject: PERFORCE change %change% by %user% for review." echo "" echo "The following changes were made to the Elm main codeline:" echo "" p4 describe -du %changelist% Mailto: elm-checkin@example.net # This fileset syslogs every change. Fileset Depot-Log: //depot/... Action: p4c describe -s %changelist% | sed -e '/^$/d' -e 's/^ /--> /' -e '/^Affected files/,$d' | logger -p local0.notice -t "p4-%user%" # This fileset uses VCP to mirror the revision history onto an (otherwise # read-only) CVS repository. This is useful if you would like to offer # CVSWeb or CVS pserver anonymous access for a project. Fileset ELM-VCP; //depot/elm/... Action: vcp p4://depot/elm/...@%changelist%,%changelist% cvs:/cvsroot:elm Mailto: elm-vcp@example.net