[Top][All Lists]

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

Re: RV: CVS Notifications

From: Satya Prasad D.V
Subject: Re: RV: CVS Notifications
Date: Tue, 13 Sep 2005 12:56:32 +0530

I think the module in this context means the directory path not a module defined though modules. I may be wrong though.
Satya Prasad
At 12:26 PM 9/13/2005, address@hidden wrote:
I found very useful the information on this page, but I don't know why I
had not be able to got working the example:
^module\(/\|$\) (echo; echo %p; echo %{sVv}; cat) >>$CVSROOT/CVSROOT/commitlog

in my loginfo file.

I understand that the ^module must be replaced by my module file. My moule
is defined like that:

crc                 usr/crc/
require             usr/crc/require/
    require/pair    usr/crc/require/pair/
    require/common  usr/crc/require/common/
    require/cas   usr/crc/require/cas/
So what I had tryed is to put
^crc\(/\|$\) (echo; echo %p; echo %{sVv}; cat) >>$CVSROOT/CVSROOT/commitlog
But nothing happens.

Actually I used the following format:
DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
And this work but when I commit 2 files this system only notify 1.

Could anybody help me with the sintax
^crc\(/\|$\) (echo; echo %p; echo %{sVv}; cat) >>$CVSROOT/CVSROOT/commitlog

Thanks in advance & best regards.
-----Mensaje original-----
De: address@hidden
[mailto:address@hidden nombre de Derek
Enviado el: martes, 30 de agosto de 2005 16:16
Para: S I
CC: address@hidden; address@hidden
Asunto: Re: CVS Notifications

If all you want is commit notifications and not advisory locking, I
suggest you use hang the and scripts (distributed
with CVS in the contrib directory) from the commitinfo and loginfo
triggers, respectively.  This allows you to change the subject of the
emails and even configure the emails to contain diffs of the changes.

Also, please read the manual on configuring different triggers per



S I wrote:

> Thank you.
> One last question: If in my CVS root I have 3 existing projects
> unrelated to each other; does that mean turning on notifications,
> developers from the 3 different proj/modules are going to get all the
> updates whether they want to or not?
> ----Original Message Follows----
> From: Paul Van Delst <address@hidden>
> To: S I <address@hidden>
> Subject: Re: CVS Notifications
> Date: Thu, 18 Aug 2005 16:38:13 -0400
> MIME-Version: 1.0
> Received: from ([]) by
> with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Aug
> 2005 13:38:19 -0700
> Received: from [] ([]) by
> (Netscape Messaging Server 4.15) with
> ESMTP id ILFQNU00.0JT for <address@hidden>; Thu, 18 Aug
> 2005          16:38:18 -0400
> X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
> Organization: address@hidden/NCEP/EMC
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10)
> Gecko/20050719 Red Hat/1.7.10-
> X-Accept-Language: en-us, en
> References: <address@hidden>
> Return-Path: address@hidden
> X-OriginalArrivalTime: 18 Aug 2005 20:38:19.0885 (UTC)
> FILETIME=[C4E9F9D0:01C5A434]
> S I wrote:
>> Thank you Paul for your response.
>> I executed "cvs watch on" at the root of the project and now I'm
>> receiving emails.  I'm the only one on the email list.  I have couple
>> of questions:
>> 1. Does cvs watch on, on my PC cause any problems for the users? In
>> other words, will it force them to do cvs edit or prevent them from
>> their regular activities?  I just don't want to interrupt anyone and
>> don't like any unforseen consequences.  I want to be the only one
>> receiving emails w/o messing up anyone else.
> My copy of the manual tells me that a "cvs watch add" does *not*
> require a "cvs watch on" for you to be notified, but that it is a good
> idea. I guess it depends on how curmudgeonly your developers are when
> they discover they need to do a "cvs edit" before editing a file. As
> the docs states, CVS does not enforce the required behaviour.
>> 2. Could I turn on notifications per trunk or branch SELECTIVELY?
>> Yesterday, I turned it on under my checked out branch (sticky tags)
>> but I think it does not work that way and I'm getting commit emails
>> on anything they committed regardless where in the module or
>> project.  I'm not finding any literature on this.
> I don't think so. There is no mention of trunk or branch specific
> switches to the watch command - it only operates on files. This might
> be a question better asked in the group, though, to let the experts
> mull it over.
>> 3. So you're saying if the developers choose to participate or
>> collaborate, they have to do their own cvs watch on or edit per user?
> That has been my experience. Even if *you* do a "cvs watch add" for
> the entire repository tree, this only affects you as the user that did
> it. With a group of developers, this can be a good thing and a bad
> thing. If different groups/people were working on totally independent
> parts of a code repository, they probably couldn't care less that Joe
> Bloggs checked out code from a repository module with which they have
> nothing to do - in fact the notification emails may become annoying to
> the point where they disable *all* watches. On the other hand,
> *within* one of these development groups, it would be prudent for them
> to add themselves to the appropriate watch lists to save them the
> heartache of resolving conflicts later on when several of them were
> editing the same file at the same time without knowing it.
> In the end, the users will do whatever they want so maybe the best you
> can do is let them know about the feature and why it behooves them to
> use it.
> cheers,
> paulv
> --
> Paul van Delst
> _______________________________________________
> Info-cvs mailing list
> address@hidden

Derek R. Price
CVS Solutions Architect
Ximbiot <>
v: +1 717.579.6168
f: +1 717.234.3125

Info-cvs mailing list

Info-cvs mailing list

reply via email to

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