info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to configure the mail notification on commit


From: Yaron Yogev
Subject: Re: How to configure the mail notification on commit
Date: Mon, 23 Feb 2009 00:39:52 -0800 (PST)
User-agent: G2/1.0

Hi,

We do exactly what you describe. In CVS 1.12.13, we use the loginfo
file to perform post-commit operations, one of which is notifying
related users (we also have an interesting mechanism for marking who's
to be notified, but that's another issue).

If you look at the loginfo file structure, you'll see that one of the
fomrat string it provides is %{sVv}, which gives you name of file, old
version and new version.

We prepare a text output, including the rdiff output, and redirect it
into "sendmail -t".
You can also consider graphical diff'ing, using HTML, and code
highlighting.

HTH
Yaron Yogev

On Feb 23, 8:25 am, kandula kiranmayi <address@hidden> wrote:
> Hi,
>
> I want to send a mail to my team whenever there is a commit to the cvs code.
> It was done. But i wish to include the following details in the body of the
> mail.
>
> 1. version numbers of the modified files,
> 2. difference between the modified files  How can i do that.
>
> difference == lines of code that have added/changed.
>
> ( one thing is ...  if i print rdiff command output to the body of the mail,
> will it help me.. how can i print that)
>
> Seeking an immediate help.
>
>                                                   Thanks in Advance,
>
>  --
> K.R.Kiranmayi,
> Oracle India Pvt. Ltd,
> Hyderabad.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]