[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: How send log message to specific program from loginfo, commiti nfo or
From: |
Federica Militello |
Subject: |
R: How send log message to specific program from loginfo, commiti nfo or else admin files. |
Date: |
Fri, 21 Feb 2003 12:40:14 +0100 |
I simply used a perl script:
write a perlscript (e.s. script.pl)
then add a line in the loginfo file(in cvsroot);
ALL $CVSROOT/CVSROOT/script.pl %{sVv} $USER $CVSROOT (this is as much you
can obtain as information from loginfo input)
then
You will manage the info from loginfo including a
$loginfo_input="$ARGV[0]"
line in the perlscript,
then use a Perl module to send mail to developers:
use Mail::Sendmail (a module that you can find it on-line)
and add something like that:
#===================================================
%mail = ( To => 'recipier',
From => 'sender',
Subject => "Message managed in your perlscript ",
Message => "Mail content , about users, modules, files involved
in changes, version numbers.... "
);
sendmail(%mail) or die $Mail::Sendmail::error;
#=======================================================
in script.pl
ciao
-----Messaggio originale-----
Da: ZiĆ³lkowski Marcin [mailto:address@hidden
Inviato: venerdi 21 febbraio 2003 12.17
A: 'address@hidden'
Oggetto: How send log message to specific program from loginfo, commitinfo
or else admin files.
Hi,
I know that is possible to run extarnal program from loginfo file durring
commit operation and pass parameters such as %v %V %s.
In our development team we want to find out solution to pass information
from log
message as parametr to external program wich run from cvsroot/loginfo file.
We want to use special program or plug-in to insert information from log
message to database wich storege information about bugs and changes.
Any resolutions ?
Regards,
Martin.
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- R: How send log message to specific program from loginfo, commiti nfo or else admin files.,
Federica Militello <=