[cvsnt] CVSMailer with diff?

Bo Berglund Bo.Berglund at system3r.se
Thu Nov 25 08:58:13 GMT 2004


I have to make CVSMailer work in all cases and your's is a special one
where people commit only small changes to a few files....

There is also another reson, CVSMailer does not get hold of the files
themselves, only the names and revisions of the files are supplied by
CVS. To make diffs requires CVSMailer to first go looking for two files
for each committed file (the original revision and the new one) and then
execute an external program to create the diff to include in the email.
This process is in my opinion well outside teh scope of a messaging agent
like CVSMailer. And it would slow down processing a lot...

Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Andreas Richter
Sent: den 25 november 2004 09:33
To: cvsnt at cvsnt.org
Subject: AW: [cvsnt] CVSMailer with diff?


> If you mean including the diffs into the message then the 
> answer is no.

Hm. odd.

> the reason is that it would soon become totally unwieldy, just imagine
> what will happen if the commit contains 200 edited files and some have
> massive changes...

Thats right. But we have mass of smaller commits with few changes. And this
is ideally for a inline diff in mails.

> But what is already implemented is a ViewCvs link interface where the
> modified files will have HTML links to the file itself and the diff
> against the previous revision. To use this you "only" have to install
> the ViewCvs server and then configure the CVSMailer ini file to handle
> this for you.

Thanks for that reason, will try this out.


-- 
Andreas Richter                           Web: http://www.selectline.de
SelectLine Software GmbH                          Fon: +49 391 5555 080
Nachtweide 82c                                    Fax: +49 391 5555 089
39124 Magdeburg                                   GPG-KeyID: 0xE24D5758 

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list