you need to make a loginfo file in your cvs server CVSROOT
The "loginfo" file controls where "cvs commit" log information is sent. The
first entry on a line is a regular expression which must match the directory
that the change is being made to, relative to the $CVSROOT. If a match is
found, then the remainder of the line is a filter program that should expect
log information on its standard input.
If the repository name does not match any of the regular expressions in this
file, the "DEFAULT" line is used, if it is specified.
If the name ALL appears as a regular expression it is always used in
addition to the first matching regex or DEFAULT.
You may specify a format string as part of the filter. The string is
composed of a `%' followed by a single format character, or followed by a
set of format characters surrounded by `{' and `}' as separators. The
format characters are:
s = file name
V = old version number (pre-checkin)
v = new version number (post-checkin)
For example:
DEFAULT (echo ""; id; echo %s; date) >> $CVSROOT/CVSROOT/commitlog
or
DEFAULT (echo ""; id; echo %{sVv}; date) >> $CVSROOT/CVSROOT/commitlog
or
ALL mail -s %{sVv} [EMAIL PROTECTED], [EMAIL PROTECTED], ...
or
module_name (echo ""; echo %s) >> $CVSROOT/CVSROOT/commitlog; (echo "";
echo %s) | mail [EMAIL PROTECTED]
or
other comands
Atentamente,
Carlos Arturo Quiroga Quiroga
Estudiante de Ingenieria Electrica y de Sistemas
eFax number: (208) 330-8684
ICQ # 39948710
Universidad de los Andes (www.uniandes.edu.co)
-----Mensaje original-----
De: Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
Fecha: Jueves, 06 de Julio de 2000 02:31 p.m.
Asunto: Making loginfo work
I have been trying to make "loginfo" work, but there's no way. I just copied
to CVSROOT the "log" script that comes with the rpm file, included this line
mydir /home/cvs/mydir/CVSROOT/log %s -f /home/cvs/mydir/CVSROOT/commitlog -m
my@email
all files all in its place, but commitlog is not created and the email is
not sent. If I run log from the command line, it just hangs. Could it be
that the log that comes with the cvs 1.10.6 rmp does not work?