Re: Changing CVS Notify from Mail to use ICQ?

2004-12-22 Thread Spiro Trikaliotis
Hello,

* On Wed, Dec 22, 2004 at 12:22:56PM -0500 Rich Snowdon-Smith wrote:
 
>Has anyone been able to change the cvs notify from using email to
>another method of message delivery? I'm looking for delivering those
>notifications via icq. Any hacks out there? Attempted to email to
>@pager.icq.com but got nothing. Any other suggestions or
>directions?

There are tools for ICQ which can be used from the command-line. One of
these tools is centericq. If you have a running instance of it, you can
use the --send option to send a message.

Another option would be to try to set a RSS/RDF feed. Again, centericq
can treat these like a contact from some other person.

Just some ideas,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://www.viceteam.org/


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Changing CVS Notify from Mail to use ICQ?

2004-12-22 Thread Rich Snowdon-Smith
Title: Message



Hi 
all:
 
Has anyone been able 
to change the cvs notify from using email to another method of message 
delivery? I'm looking for delivering those notifications via icq. Any hacks out 
there? Attempted to email to @pager.icq.com but got nothing. 
Any other suggestions or directions?
 
Thanks for your 
time,
Rich
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Force Log & Notify commits ?

2004-12-13 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick Guio <[EMAIL PROTECTED]> writes:

> I wonder whether there is a way to do the following

Yes.

> * Force non empty log when commit (or reject commit if log empty).

Sure. Provide a script for verifymsg to run that checks the log message
size.

> * Create a formatted entry with the log in a ChangeLog.

cvs2cl can do this for you. See http://www.red-bean.com/cvs2cl/ for details.

> * Notify commit automatically to a list of people (as with sourceforge
> projects).

This gets done from within the script pointed to by loginfo.
See contrib/commit_prep and contrib/log_accum for examples.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBvU4p3x41pRYZE/gRAh3mAJ4mOZrr5WD2Rv5dpxxcGLqOz02CQgCfZQs1
chd07CK6CW+RDQlsN2E+nNI=
=QcDn
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Force Log & Notify commits ?

2004-12-12 Thread Patrick Guio

Dear all,
I wonder whether there is a way to do the following
* Force non empty log when commit (or reject commit if log empty).
* Create a formatted entry with the log in a ChangeLog.
* Notify commit automatically to a list of people (as with sourceforge 
projects).

Sincerely,
Patrick
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Notify on Checkout

2004-08-30 Thread Arthur Barrett
Marie,

Yes - the documentation is here:
http://www.cvsnt.org/manual/Watches.html

CVSNT is an open source replacement for CVS. CVSNT is the default CVS client
for WinCVS and TortoseCVS and runs on Windows, Linux, Unix, Mac and more...
You can download CVSNT from here:
http://www.cvsnt.com

Regards,


Arthur Barrett

"Marie Ricketts" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Is there a way to send an email when an item is checked out?
>
> Thanks!
>
>


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Notify on Checkout

2004-08-30 Thread Marie Ricketts
Hi,

Is there a way to send an email when an item is checked out?

Thanks!


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


notify problems...

2003-08-20 Thread Mark Jaffe
I wonder if anyone else has problems with CVS notify on Solaris. I've got
notify enabled, switched the arguments ( ALL mail -s "CVS Notification" %s )
and it fails to deliver anything. We do get an error message about mail not
having a recipient (sounds like a string substitution error!)

Mark 

Mark Jaffe  | (408) 972-9638 (home)
Chief Wizard| (949) 275-8438 (cell)
Computer Wizards| (425) 795-6421 (FAX)
[EMAIL PROTECTED] |

> From: Mark Jaffe <[EMAIL PROTECTED]>
> Date: Tue, 19 Aug 2003 22:29:15 -0700
> To: <[EMAIL PROTECTED]>
> Subject: Re: confirm e037d86e6fc3c4becfd37057f9d1fbbcab9356b8
> 
> 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Notify, loginfo, etc.

2003-02-05 Thread erik . cumps
Hello,

  I use my own script with this entry in loginfo:

DEFAULT $CVSROOT/CVSROOT/logit4me \'%{sVv}\' $CVSROOT/CVSROOT/commitlog 
${USER} user@email

The script is attached.





You can trap the complete log output by calling a script at every commit 
on a particular module. I have the following line in my loginfo file. The 
script put the STDIN to the email by calling the "cat" command without 
parameter and in forward quote ``

-Original Message-
From: Yarbrough, Jay

I would like the notify script to send not only the name of the file which 
has been committed, but also the comment entered by the developer who 
committed the change.




logit4me
Description: Binary data
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Notify, loginfo, etc.

2003-02-05 Thread Riechers, Matthew W
"Yarbrough, Jay" wrote:
> 
> I would like the notify script to send not only the name of the file
> which has been committed, but also the comment entered by the
> developer who committed the change.

Use CVSROOT/loginfo to process logs from a commit.

-Matt


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Notify, loginfo, etc.

2003-02-05 Thread Marc Tessier
You can trap the complete log output by calling a script at every commit on a 
particular module. I have the following line in my loginfo file. The script put the 
STDIN to the email by calling the "cat" command without parameter and in forward quote 
``


My logingo file below:

 ^modulename /home/CVS/commitmail modulename "[EMAIL PROTECTED]"



and my /home/CVS/commitmail script look like this

   echo ""
   echo "An email has been sent to ${2} about this COMMIT."
   echo ""

   mail -s "${CVSROOT} - ${1}" "${2}" <mailto:[EMAIL PROTECTED]]On Behalf Of
Yarbrough, Jay
Sent: Wednesday, February 05, 2003 10:44 AM
To: [EMAIL PROTECTED]
Subject: Notify, loginfo, etc.


I would like the notify script to send not only the name of the file which has been 
committed, but also the comment entered by the developer who committed the change.

Can anyone provide a bit of assistance?

Thanks,

J

-
This email and any attachments are confidential and may be legally privileged.  No 
confidentiality or privilege is waived or lost by any transmission in error.  If you 
are not the intended recipient you are hereby notified that any use, printing, copying 
or disclosure is strictly prohibited.  Please delete this email and any attachments, 
without printing, copying, forwarding or saving them and notify the sender immediately 
by reply e-mail.  The company reserves the right to monitor all e-mail communications 
through its networks.  Unless otherwise stated, any financial results or price data 
contained in this email are indicative only and are subject to change without notice.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Notify, loginfo, etc.

2003-02-05 Thread Yarbrough, Jay
I would like the notify script to send not only the name of the file which has been 
committed, but also the comment entered by the developer who committed the change.

Can anyone provide a bit of assistance?

Thanks,

J

-
This email and any attachments are confidential and may be legally privileged.  No 
confidentiality or privilege is waived or lost by any transmission in error.  If you 
are not the intended recipient you are hereby notified that any use, printing, copying 
or disclosure is strictly prohibited.  Please delete this email and any attachments, 
without printing, copying, forwarding or saving them and notify the sender immediately 
by reply e-mail.  The company reserves the right to monitor all e-mail communications 
through its networks.  Unless otherwise stated, any financial results or price data 
contained in this email are indicative only and are subject to change without notice.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2003-02-01 Thread Larry Jones
Monica Li writes:
> 
> I couldn't change the file notify. Notify is under repository/CVSROOT
> directory. it also has .v. it means I need checkout before make any changes.
> right? But it's not under any module.

Yes it is, it's under CVSROOT.  You can check out CVSROOT or just
CVSROOT/notify.

-Larry Jones

I think we need to change the rules. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2003-01-31 Thread Jenn Vesperman
On Sat, 2003-02-01 at 11:04, Monica Li wrote:
> Hi,
> 
> I couldn't change the file notify. Notify is under repository/CVSROOT
> directory. it also has .v. it means I need checkout before make any changes.
> right? But it's not under any module. How can I checkout this file, change
> the file, get rid of the # and make it work?

cvs checkout CVSROOT/notify
edit notify
cvs commit

Because the notify file is one of the CVS special administrative files,
CVS will commit to the ,v form, and also create a plain-text form in
CVSROOT.

Do not edit the plain-text form in CVSROOT, you have CVS installed so
you may as well get revision control on the administrative files.

(Exception: don't checkout CVSROOT/passwd)

All of this is explained in the 'Administrative Files' node of info cvs.


Jenn V.
-- 
"Do you ever wonder if there's a whole section of geek culture 
you miss out on by being a geek?" - Dancer.
 My book 'Essential CVS' will be published by O'Reilly in 2003.
[EMAIL PROTECTED] http://anthill.echidna.id.au/~jenn/




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: notify

2003-01-31 Thread Teala Spitzbarth
You need to create a workspace where you check out CVSROOT,
there you can edit the administration file and check it back in. 

mkdir work; cd work
cvs co CVSROOT

When you check it in, cvs will rebuild it's administration database to 
activate you change on the server.

Teala

-Original Message-
From: Monica Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 4:05 PM
To: [EMAIL PROTECTED]
Subject: notify


Hi,

I couldn't change the file notify. Notify is under repository/CVSROOT
directory. it also has .v. it means I need checkout before make any changes.
right? But it's not under any module. How can I checkout this file, change
the file, get rid of the # and make it work?

Thanks!
Monica



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



notify

2003-01-31 Thread Monica Li
Hi,

I couldn't change the file notify. Notify is under repository/CVSROOT
directory. it also has .v. it means I need checkout before make any changes.
right? But it's not under any module. How can I checkout this file, change
the file, get rid of the # and make it work?

Thanks!
Monica



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



questions about watch/notify

2002-09-13 Thread Rob Clack


I want to have CVS notify me when someone else edits a file I'm editing,
but also to notify the other editor that I am already doing so.  I can't
find a way to do this, so the first question is, have I missed something?

Assuming I hadn't, I wrote a little perl script to do it for me, but now
I can't manage to implement it.

When I commit the notify file, CVS inserts extra text into my line, so

ALL myscript $RCSfile$ %s

becomes

ALL myscript $RCSfile: notify,v$ %s

and this generates an error as $RCSfile: doesn't exist.

So my second question is, is this the right way to be doing this, and if
so how do I prevent CVS from corrupting my command line?  It changes all
occurrences of $RCSfile$ in the file.

Thanks in advance
Rob

 
| Rob Clack Acedb Development,  Informatics Group,   |
|   Wellcome Trust Sanger Institute, |
|   Wellcome Trust Genome Campus,|
|   Hinxton, Cambridge, CB10 1SA UK  |
||
| email: [EMAIL PROTECTED]  Tel: +44-1223-494780  Fax: +44-1223-494919|
 





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



pserver: cvs edit with a notify file, and cvs status fail

2002-08-19 Thread Martin d'Anjou

I have more problems after switching to pserver from NFS.

The notify file now looks like:
ALL echo error : %s is editing the file.

If a user attempts to cvs edit a file being edited by another user, the
system seem goes into a weird state and even a cvs status fails:

% cvs edit file1.txt 
user1 is editing the file.
cvs edit: dying gasps from server1 unexpected
% cvs unedit file1.txt 
user1 is editing the file.
cvs unedit: dying gasps from server1 unexpected
% cvs status
user1 is editing the file.
cvs status: dying gasps from guinness unexpected


Any idea why cvs status isn't returning what it should??

I can run cvs status in other directories

Martin





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



[cvs] customizing notify

2002-06-27 Thread bciceron

hi,

how to handle stdin send to 'notify' generaly speaking.

is there anything else than %s for the watcher name that can be used like
filename , old version#, new version# ... ?

after you issue cvs watch add /path/to/file, the standard email could be
customize .
for example :
how to add the diff between old/new version to the email notification sent
?

thx,
Regards,
ben


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: watch notify and editors/watchers

2001-12-11 Thread Schwenk, Jeanie

I had already tried the "ALL mail %s" and it did not work either even though
I could  "echo test | mail jschwenk@catwoman" from the command line and that
worked.  Per the recommendation, I changed to "ALL mailx -s "CVS watch
notification" %s" and that worked!  Go figure. 

Thanks.  

Jeanie

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: watch notify and editors/watchers

2001-12-11 Thread Colm Aengus Murphy



Hi Larry,

The version of mail we have (SunOS 5.6, Last change: 21 Feb 1995) doesn't
support a -s option.

mailx does support -s but I am having problems getting it to work with CVS
notification.
It works from the command line but not when called from notify.
I'll keep you posted.

Colm A

Larry Jones wrote:
[EMAIL PROTECTED]">
  Colm Murphy writes:
  
This might not be what is causing your problems but when I was setting up watches on out site it turned out that the version of unix mail we have doesn't support -s "Subject".

Does it not support it or does it just insist that it come before theaddresses?  You might want to try changing your notify file from:	ALL mail %s -s "CVS notification"to:	ALL mail -s "CVS notification" %s(which is how it is in the current development version of CVS).-Larry JonesAll girls should be shipped to Pluto--that's what I say. -- Calvin


-- 
-
 PLEASE NOTE MY NEW CONTACT DETAILS:
- 
 Colm Aengus Murphy,Tel   : +353 1 2911000
 Senior Hardware Design Engineer,   Direct Tel: +353 1 2911373
 Silicon & Software Systems,Fax   : +353 1 2911001
 South County Business Park,
 Leopardstown,  E-mail: [EMAIL PROTECTED]
 Dublin 18. WWW   : www.s3group.com
 Ireland   
-





RE: watch notify and editors/watchers

2001-12-11 Thread Helliwell, Matthew

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Colm Murphy writes:
>> 
>> This might not be what is causing your problems but when I was setting 
>> up watches on out site it turned out that the version of unix mail we 
>> have doesn't support -s "Subject".

>Does it not support it or does it just insist that it come before the
>addresses?  You might want to try changing your notify file from:

Depends which mail appears in the path, eg on my Solaris box /usr/ucb/mail
supports -s but /usr/bin/mail doesn't.

Matt


--
If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.
--

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: watch notify and editors/watchers

2001-12-11 Thread Larry Jones

Colm Murphy writes:
> 
> This might not be what is causing your problems but when I was setting 
> up watches on out site it turned out that the version of unix mail we 
> have doesn't support -s "Subject".

Does it not support it or does it just insist that it come before the
addresses?  You might want to try changing your notify file from:

ALL mail %s -s "CVS notification"

to:

ALL mail -s "CVS notification" %s

(which is how it is in the current development version of CVS).

-Larry Jones

All girls should be shipped to Pluto--that's what I say. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: watch notify and editors/watchers

2001-12-11 Thread Colm Murphy

Hi Jeanie,

This might not be what is causing your problems but when I was setting 
up watches on out site it turned out that the version of unix mail we 
have doesn't support -s "Subject".

Try using "ALL mail %s" to see if it works.
If so then you might try to get your hands on another version of mail
(e.g. mailx supports -s "Subject").

Colm A

Schwenk, Jeanie wrote:

> I'm using cvs 1.11.  Sorry for the length but this requires the details.  I
> did RTFM and these issues persist.  Reference cvs manual 10.6.2 and Chapter
> 6 in Fogel's CVS book.
> 
> There are two issues:  
>   1) cvs watchers output looks wrong, and  
>   2) notify isn't happening - what else can I do to debug this?
> 
> -  I have watch turned on.  
> 
> -  the notify file has the line:  ALL mail %s -s "CVS notification"
>permissions on the file are 777.  It does not need to be wide open but I
> wanted to verify there was not a permissions problem.
> 
> -  the users file has been added and it contains one line:
> jschwenk:jschwenk@catwoman
>permissions on the file are 666
>NOTE:  we do not have DNS turned on and catwoman resolves 
>   correctly, I verified with an 
>   "echo hello | mail jschwenk@catwoman" 
>   and it worked.
> 
> In the cvs manual in section 10.6.2 and in Chapter 6 of Fogel's CVS book, it
> says this should be all I need to be notified when someone edits a file I am
> concerned about.
> 
> Here's the order I did things in as user jschwenk:  
> 
> 1. I added and committed the users file 
> 2. added the users file to checkoutlist
> 3. uncommented the ALL mail %s -s "CVS notification" in the notify file
> 4. set watch on -R systema
>set watch on -R rat
> 5. changed to user cvsadmin and checked out a file set and did a cvsedit on
> two files within the rat. At this point jschwenk should have been sent an
> email.  Nothing.  What else can I do to figure out why not?  Notification is
> critical, I'm developing in Oregon, USA and our counterpart is developing in
> Germany.  
>
> 6. checked the contents of fileattr for the rat files
> 
> Fsystema_watched=;_watchers=jschwenk>edit+unedit+commit
> FRatComm.java   _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
> GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit
> FRatGuiPilot.java   _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
> GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit
> 
> 7.  Did a cvs watchers and cvs editors.  The watchers command should show
> jschwenk as watching (see above fileattr contents)
> 
> /home/cvsadmin/RAT> cvs watchers
> RatComm.javacvsadmintedit   tunedit tcommit
> RatGuiPilot.javacvsadmintedit   tunedit tcommit
> 
> /home/cvsadmin/RAT> cvs editors
> RatComm.javacvsadminMon Dec 10 23:44:28 2001 GMT
> pilot   /home/cvsadmin/RAT
> RatGuiPilot.javacvsadminMon Dec 10 23:44:28 2001 GMT
> pilot   /home/cvsadmin/RAT
> 
> I was expecting to see the watcher be jschwenk NOT cvsadmin.  I know as
> cvsadmin that I have files checked out for edit, what I wanted was who was
> watching the files.  Is this a bug or did I misunderstand the goal of cvs
> watchers?
> 
> Jeanie
> 
> 

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



watch notify and editors/watchers

2001-12-10 Thread Schwenk, Jeanie

I'm using cvs 1.11.  Sorry for the length but this requires the details.  I
did RTFM and these issues persist.  Reference cvs manual 10.6.2 and Chapter
6 in Fogel's CVS book.

There are two issues:  
1) cvs watchers output looks wrong, and  
    2) notify isn't happening - what else can I do to debug this?

-  I have watch turned on.  

-  the notify file has the line:  ALL mail %s -s "CVS notification"
   permissions on the file are 777.  It does not need to be wide open but I
wanted to verify there was not a permissions problem.

-  the users file has been added and it contains one line:
jschwenk:jschwenk@catwoman
   permissions on the file are 666
   NOTE:  we do not have DNS turned on and catwoman resolves 
  correctly, I verified with an 
  "echo hello | mail jschwenk@catwoman" 
  and it worked.

In the cvs manual in section 10.6.2 and in Chapter 6 of Fogel's CVS book, it
says this should be all I need to be notified when someone edits a file I am
concerned about.

Here's the order I did things in as user jschwenk:  

1. I added and committed the users file 
2. added the users file to checkoutlist
3. uncommented the ALL mail %s -s "CVS notification" in the notify file
4. set watch on -R systema
   set watch on -R rat
5. changed to user cvsadmin and checked out a file set and did a cvsedit on
two files within the rat. At this point jschwenk should have been sent an
email.  Nothing.  What else can I do to figure out why not?  Notification is
critical, I'm developing in Oregon, USA and our counterpart is developing in
Germany.  
   
6. checked the contents of fileattr for the rat files

Fsystema_watched=;_watchers=jschwenk>edit+unedit+commit
FRatComm.java   _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit
FRatGuiPilot.java   _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit

7.  Did a cvs watchers and cvs editors.  The watchers command should show
jschwenk as watching (see above fileattr contents)

/home/cvsadmin/RAT> cvs watchers
RatComm.javacvsadmintedit   tunedit tcommit
RatGuiPilot.javacvsadmintedit   tunedit tcommit

/home/cvsadmin/RAT> cvs editors
RatComm.javacvsadminMon Dec 10 23:44:28 2001 GMT
pilot   /home/cvsadmin/RAT
RatGuiPilot.javacvsadminMon Dec 10 23:44:28 2001 GMT
pilot   /home/cvsadmin/RAT

I was expecting to see the watcher be jschwenk NOT cvsadmin.  I know as
cvsadmin that I have files checked out for edit, what I wanted was who was
watching the files.  Is this a bug or did I misunderstand the goal of cvs
watchers?

Jeanie

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs notify help

2001-11-15 Thread Rita Mintz

I've got problems using notify during watch in cvs.
I know watch implemented correctly because "cvs watchers" give me right
answer.
I can not make "cvs notify" work.
My mail works fine on the command line, but $CVSROOT/CVSROOT/notify was
never executed.
I did some debugging to verify it.
We are using CVS version 1.10.7 on Linux.
Do you know if "cvs notify" was broken in earlier version of CVS ?

Thanks in advance for any help,

Rita


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



FW: Question : Problem to implementing Notify for CVS watch

2001-11-14 Thread Rita Mintz



-Original Message-
From: Rita Mintz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 11:14 AM
To: [EMAIL PROTECTED]
Cc: Rita Mintz
Subject: Question : Problem to implementing Notify for CVS watch


Hello,
we are using CVS version 1.10.7 (client/server).
I setup CVS watch for several files using

cvs watch add -a commit MGT.conf
cvs watchers
MGT.confrmintz  commit

I can not make notify to work.
All my tests show, that when I do commit, "notify' file does not get
executed.
"notify" file located in the CVSROOT subdirectory and all changes to that
file I always commit before testing commit of my file MGT.conf.
Do you know any problem with implementing notify?
Or may be I have to know something beside what I can get from the book or
from online documentation. As far as I can see both are the same.

Thank you very much

Rita Mintz

Egenera, Inc.
165 Forest Street
Marlboro, MA. 01752

Phone: 508-858-3002
Fax:   508-481-8168


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Question : Problem to implementing Notify for CVS watch

2001-11-14 Thread Rita Mintz

Hello,
we are using CVS version 1.10.7 (client/server).
I setup CVS watch for several files using

cvs watch add -a commit MGT.conf
cvs watchers
MGT.confrmintz  commit

I can not make notify to work.
All my tests show, that when I do commit, "notify' file does not get
executed.
"notify" file located in the CVSROOT subdirectory and all changes to that
file I always commit before testing commit of my file MGT.conf.
Do you know any problem with implementing notify?
Or may be I have to know something beside what I can get from the book or
from online documentation. As far as I can see both are the same.

Thank you very much

Rita Mintz

Egenera, Inc.
165 Forest Street
Marlboro, MA. 01752

Phone: 508-858-3002
Fax:   508-481-8168


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Question : Problem to implementing Notify for CVS watch

2001-11-14 Thread Rita Mintz

I'm not on info-cvs mailing list.
Please reply directly to me [EMAIL PROTECTED]

Thanks,
Rita

-Original Message-
From: Rita Mintz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 11:14 AM
To: [EMAIL PROTECTED]
Cc: Rita Mintz
Subject: Question : Problem to implementing Notify for CVS watch


Hello,
we are using CVS version 1.10.7 (client/server).
I setup CVS watch for several files using

cvs watch add -a commit MGT.conf
cvs watchers
MGT.confrmintz  commit

I can not make notify to work.
All my tests show, that when I do commit, "notify' file does not get
executed.
"notify" file located in the CVSROOT subdirectory and all changes to that
file I always commit before testing commit of my file MGT.conf.
Do you know any problem with implementing notify?
Or may be I have to know something beside what I can get from the book or
from online documentation. As far as I can see both are the same.

Thank you very much

Rita Mintz

Egenera, Inc.
165 Forest Street
Marlboro, MA. 01752

Phone: 508-858-3002
Fax:   508-481-8168


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



case changing [was: list of editors in notify]

2001-10-18 Thread Michael Santos

On Thu, Oct 18, 2001 at 10:06:44AM -0400, Michael Santos wrote:

> Is the list of editors available to the script as a CVS variable (like
> $USER)? Otherwise, it appears the only way would be to parse
> .../CVS/fileattr from the script run from notify, grabbing the file path
> from the notify message.

To answer my own question, the above works.

My next question: has the issue with changes in capitalization of
filenames between Windows and Unix client/servers been resolved (e.g.,
under Windows, rename file.txt => File.txt, commit File.txt)? What is
the suggested work around for it?

I can prevent capitalization changes by using a pre-commit check but I'm
wondering if anyone has a better way.

-- 
Michael Santos
[EMAIL PROTECTED]

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



list of editors in notify

2001-10-18 Thread Michael Santos


I have CVS setup to map CVS users to a single system user. I'd like to
be able to use the "notify" feature to send the editors of files updates
on their change of status (via email or Winpopups).

Using "%s" and $CVSROOT/CVSROOT/users won't work, because the CVS users
map to the system user.

Is the list of editors available to the script as a CVS variable (like
$USER)? Otherwise, it appears the only way would be to parse
.../CVS/fileattr from the script run from notify, grabbing the file path
from the notify message.

Any suggestions?

Thanks,
-- 
Michael Santos
[EMAIL PROTECTED]

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2001-10-12 Thread ar2kcm

echo "" = new line
id = prints out user
echo %{sVv} = special cvs variable to print out version info

ar2kcm



- Original Message -
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 12:10 PM
Subject: RE: notify


I can't remember what the %s or %{sVv} string is for.
Please explain.

-Original Message-
From: ar2kcm [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 12, 2001 12:07 PM
To: Postek, Jeffery
Cc: [EMAIL PROTECTED]
Subject: Re: notify


The entire loginfo file should look like the following:

# 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; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "Src Modifications"
[EMAIL PROTECTED]

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
~

Hope this helps,
ar2kcm

--------
--
- Original Message -
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 11:20 AM
Subject: RE: notify


I'm still having problems making this work. Here are the errors I'm
recieving;


sh: syntax error at line 1: `echo' unexpected
cvs commit: syntax error at line 21 file loginfo; ignored
sh: syntax error at line 1: `echo' unexpected



Check out the loginfo file from your $CVSROOT
Add the following information at the end of the file:

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "subject in email"
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

Regards,
ar2kcm
--
Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in
the event of changing and commiting source files.

Jeff


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2001-10-12 Thread ar2kcm

The entire loginfo file should look like the following:

# 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; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "Src Modifications"
[EMAIL PROTECTED]

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
~

Hope this helps,
ar2kcm


--
- Original Message -
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 11:20 AM
Subject: RE: notify


I'm still having problems making this work. Here are the errors I'm
recieving;


sh: syntax error at line 1: `echo' unexpected
cvs commit: syntax error at line 21 file loginfo; ignored
sh: syntax error at line 1: `echo' unexpected



Check out the loginfo file from your $CVSROOT
Add the following information at the end of the file:

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "subject in email"
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

Regards,
ar2kcm
--
Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in
the event of changing and commiting source files.

Jeff


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2001-10-11 Thread Matt McClure

On Thu Oct 11 2001, 10:31, "Postek, Jeffery"
<[EMAIL PROTECTED]> wrote:

> Please tell me how I configure the notify CVS admin file along with any
> other files to send e-mail to myself or other development personnel in 
> the event of changing and commiting source files.

http://www.cvshome.org/docs/manual/cvs_18.html#SEC170

-- 
Matt
http://www.faradic.net/~mmcclure/

"I don't believe in rivalries.  I don't believe in curses.  Wake
 up the damn Bambino, maybe I'll drill him in the (behind)."
-Pedro Martinez
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify

2001-10-11 Thread ar2kcm

Check out the loginfo file from your $CVSROOT
Add the following information at the end of the file: 

ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "subject in email" 
[EMAIL PROTECTED]  
[EMAIL PROTECTED]  
[EMAIL PROTECTED]  

DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

Regards,
ar2kcm
--
Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in
the event of changing and commiting source files.

Jeff


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



notify

2001-10-11 Thread Postek, Jeffery

Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in 
the event of changing and commiting source files.

Jeff


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: problem with notify and use of "users" file

2001-09-17 Thread Larry Jones

alan mattingly writes:
> 
> Mail is now being sent to the IBM but it is not being sent to the value
> specified in the "users" file.
> 
> This file did not originally exist in the CVSROOT directory and was added
> using WinCVS.  Does the sever need to be
> "restarted" so that it knows the file exists now?  If so, how do you do
> that?

If the file was added using CVS, then you *don't* have a CVSROOT/users
file; you have a CVSROOT/users,v file.  You need to add it to
CVSROOT/checkoutlist to have it automatically checked out on update like
the other administrative files.

-Larry Jones

I don't see why some people even HAVE cars. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



problem with notify and use of "users" file

2001-09-17 Thread alan mattingly

We are using an IBM F40 with OS AIX 4.3.2 for the CVS server.  The "notify"
file has been modified to

ALL mail -s "CVS notification" %s

Mail is now being sent to the IBM but it is not being sent to the value
specified in the "users" file.

This file did not originally exist in the CVSROOT directory and was added
using WinCVS.  Does the sever need to be
"restarted" so that it knows the file exists now?  If so, how do you do
that?

I don' see anything about "starting" CVS in the manuals or whether a daemon
runs in the background.  Can someone explain
about the server side of CVS or suggest a good link?

Thanks,

Alan Mattingly
[EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Help with Notify without CVS_watch_on

2001-04-23 Thread Chuck . Irvine

Using a cvs commitinfo script, you would be able to notify people when 
a file gets commited. See 
http://cvshome.org/docs/manual/cvs_18.html#SEC154. 

Without using "cvs edit", I don't know of a way to initiate email when 
people edit a file locally in their own workspace. 

-Original Message-
From: jason [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 4:49 PM
To: info-cvs
Cc: jason
Subject: Help with Notify without CVS_watch_on



Forgive me, I'm new!

Does anyone have a detailed description of how to be notified via 
email WITHOUT using CVS Watch On?  Here's what I want to accomplish.  
I want people to be notified when ANY of a whole group of files 
is "edit"ed "unedit"ed "commit"ed etc.  But we don't want the 
developers to have to use the "cvs edit" command to edit the files.  
Are any of these things possible?  Also, I'd need pretty specific 
instructions since I'm still wet behind the ears!  Thanks!

Jay.

PS. What I've done so far.  Added ALL mail %s -s "CVS notification" 
to the notify file

Created "users" file with "name:emailaddress" for all users.




Help with Notify without CVS_watch_on

2001-04-23 Thread Jason C Toole




Forgive me, I'm new!Does anyone have a 
detailed description of how to be notified via email WITHOUT using CVS Watch 
On?  Here's what I want to accomplish.  I want people to be 
notified when ANY of a whole group of files is "edit"ed "unedit"ed 
"commit"ed etc.  But we don't want the developers to have to use the 
"cvs edit" command to edit the files.  Are any of these things 
possible?  Also, I'd need pretty specific instructions since I'm still 
wet behind the ears!  Thanks!Jay.PS. What I've done so 
far.  Added ALL mail %s -s "CVS notification" to the notify 
fileCreated "users" file with "name:emailaddress" for all 
users.


RE: Help with Notify without CVS_watch_on

2001-04-03 Thread Ross Smith



Jason,
 
Try:
 
$ cvs 
co CVSROOT
$ cd 
CVSROOT
 
Add 
the following to loginfo:
 
ALL $CVSROOT/CVSROOT/loginfo.pl 
cvs@yourdomain.com $USER %{sVv}
 
Add the attached loginfo.pl script to 
CVSROOT:
 
$ cvs add loginfo.pl
 
Add the line 'loginfo.pl' to 
checkoutlist
 
Commit 
your changes
 

$ cvs 
ci -m ''
 BTW, loginfo.pl 
came for PHP's CVSROOT.

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Jason C 
  TooleSent: Tuesday, April 03, 2001 3:00 PMTo: 
  [EMAIL PROTECTED]Subject: Help with Notify without 
  CVS_watch_on
  Forgive me, I'm new!Does anyone have a 
  detailed description of how to be notified via email WITHOUT using CVS 
  Watch On?  Here's what I want to accomplish.  I want people to 
  be notified when ANY of a whole group of files is "edit"ed "unedit"ed 
  "commit"ed etc.  But we don't want the developers to have to use the 
  "cvs edit" command to edit the files.  Are any of these things 
  possible?  Also, I'd need pretty specific instructions since I'm 
  still wet behind the ears!  Thanks!Jay.PS. What I've done 
  so far.  Added ALL mail %s -s "CVS notification" to the notify 
  fileCreated "users" file with "name:emailaddress" for all 
  users.
 loginfo.pl


Help with Notify without CVS_watch_on

2001-04-03 Thread Jason C Toole



Forgive me, I'm new!Does anyone have a 
detailed description of how to be notified via email WITHOUT using CVS Watch 
On?  Here's what I want to accomplish.  I want people to be 
notified when ANY of a whole group of files is "edit"ed "unedit"ed 
"commit"ed etc.  But we don't want the developers to have to use the 
"cvs edit" command to edit the files.  Are any of these things 
possible?  Also, I'd need pretty specific instructions since I'm still 
wet behind the ears!  Thanks!Jay.PS. What I've done so 
far.  Added ALL mail %s -s "CVS notification" to the notify 
fileCreated "users" file with "name:emailaddress" for all 
users.


Re: "notify" file

2000-12-08 Thread Todd Denniston

Tomás Velek wrote:
> 
> I thank everyone who have send me the answers, but I still don't know, how
> to get to know, what I want to know.
> Is there a simple way, how to inform the other users about my commit. I'd
> like the other users to get email, that contain names of the commit files
> and who who were they commited.
> To achieve this this I'd prefer 'notify' file, that will run extern mailing
> program (in my case 'postie.exe', that I found on internet). I'd like use
> the 'notify' file for every user to choose whether to receive email
> notification or not (with help Watch add command).
> If it is possible, please give me advice. Minutely, if you can.
> I'd be very obliged to you.
> 
> P.S. I supposed, that I only write one line to 'notify' file to right
> working on NT server. For examle:
> 
> ALL postie -to:%s -msg:"Parameters, which I ask you"
> 
> Is possible it?
> 
> Tomas
If you have a cm account (or even a dummy account that can be controlled by cm if
cm does checkins) have that account do a 
cvs watch add -a commit
at the head of your tree and then change your 'notify' file to
ALL postie -to:ALL_MY_PROJECT -msg:"Parameters, which I ask you"

where ALL_MY_PROJECT is an alias on your mail host to everyone in your group, this
will force it out to everyone.  My preference though has always been to leave the
-to: as -to:%s and request that everyone on the project run cvs watch add -a
commit in the directories they may be changing, that way if it is a big project
they are not getting hundreds of emails a day for directories that may/do not
affect them.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: "notify" file

2000-12-08 Thread Tomás Velek

I thank everyone who have send me the answers, but I still don't know, how
to get to know, what I want to know.
Is there a simple way, how to inform the other users about my commit. I'd
like the other users to get email, that contain names of the commit files
and who who were they commited.
To achieve this this I'd prefer 'notify' file, that will run extern mailing
program (in my case 'postie.exe', that I found on internet). I'd like use
the 'notify' file for every user to choose whether to receive email
notification or not (with help Watch add command).
If it is possible, please give me advice. Minutely, if you can.
I'd be very obliged to you.

P.S. I supposed, that I only write one line to 'notify' file to right
working on NT server. For examle:

ALL postie -to:%s -msg:"Parameters, which I ask you"

Is possible it?

Tomas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: "notify" file

2000-12-07 Thread Derek R. Price

"Derek R. Price" wrote:

> Laird Nelson wrote:
>
> > How about take a chapter out of the CGI/web book and shove all
> > parameters in url-encoded form on STDIN?  Then people can use existing
>
> CGI data comes in on STDIN?  Huh.  I programmed them for a year or so using the Perl 
>libraries and never
> realized that.  Let's hear it for high-level languages.  :)

BTW, for those with backwards compatibility concrens, there's an easy upgrade path - 
to use the new data
transfer methods new hook files would be set up.  Say, *info2 rather than *info.  Then 
if the *info2 had a
match for the directory, CVS could ignore the *info file.

In five years or so the *info code could probably even be disabled.  :)

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com )
--
I predict future happiness for Americans if they can prevent the government
from wasting the labors of the people under the pretense of taking care of
them.
- Thomas Jefferson




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: "notify" file

2000-12-07 Thread Derek R. Price

Laird Nelson wrote:

> How about take a chapter out of the CGI/web book and shove all
> parameters in url-encoded form on STDIN?  Then people can use existing
> code libraries/snippets to parse this string into name/value pairs.
> Just like an HTTP POST form submission.  Then you don't have to remember
> which 2037 arguments to add to the script invocation in the *info file,
> and the script's environment isn't filled up unless the script wants it
> to be.

CGI data comes in on STDIN?  Huh.  I programmed them for a year or so using the Perl 
libraries and never
realized that.  Let's hear it for high-level languages.  :)


> So here's an example (the following would show up on stdin of the
> commitinfo program, let's say):
>
> 
>dir=foo&filespec=a%7c1.2%7c1.3%7cOLD_TAG&filespec=b%7c1.1%7c1.2%7cOLD_TAG&cvsroot=wherever
>
> Running this through a standard URL unescaper (perl -MCGI -e 'print
> 
>unescape("dir=foo&filespec=a%7c1.2%7c1.3%7cOLD_TAG&filespec=b%7c1.1%7c1.2%7cOLD_TAG&cvsroot=wherever");')
> yields:

Hmm.  Two things:

1)  I think XML might still be preferable to CGI.  It would provide a more expandable 
way to encapsulate the
data.  For example, even though the script was set up to handle a single directory at 
a time, a change in
the CVS source (and perhaps a switch in a config file) could start passing data on 
multiple directories
without changing the DTD and maybe not changing the hung script.

2)  CGI or XML, it's also going to drastically increase the cost of entry of creating 
a new script to hang
as I'm not familiar with any CGI or XML libraries written in/for Bourne shells.  I 
_do_think there is a
simple solution to this, which is to write a simple sourcable one ourselves and 
install it into
$CVSROOT/CVSROOT.  Then a minimal Bourne shell script that wanted to use any data 
passed by CVS would look
something like (I'm using callbacks since I think it's more expandable):

#!/bin/sh
# an example commitinfo script
. some_access_functions
do_file()
{
if user_has_access checkin $repository $directory $file; then
:
else
exit 1
fi
}
. $CVSROOT/CVSROOT/get_data_and_run

I suppose get_data_and_run wouldn't have to use callback hooks, but I like that model 
better.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com )
--
One woman has hurt you and you'll take it out on the rest of the world?  You're
a coward and a weakling!

- Ingrid Bergman as Elsa, _Casablanca_




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: "notify" file

2000-12-06 Thread Laird Nelson

"Derek R. Price" wrote:
> There have been a few discussions lately about this kind of thing as
> well, including one that suggested always providing all available
> information for a hook in environment variables, similar to CGI, but I'm
> not sure now that this patch isn't a better solution since it should be
> harder to accidentally fill up a child's environment memory since an
> administrator could pare the args going to a script when they _didn't_
> want all the data.  Of course, maybe some sort of pipe to squirt all the
> data through as XML would be even better than that but I'm not sure I
> understand all the issues here.

How about take a chapter out of the CGI/web book and shove all
parameters in url-encoded form on STDIN?  Then people can use existing
code libraries/snippets to parse this string into name/value pairs. 
Just like an HTTP POST form submission.  Then you don't have to remember
which 2037 arguments to add to the script invocation in the *info file,
and the script's environment isn't filled up unless the script wants it
to be.

So here's an example (the following would show up on stdin of the
commitinfo program, let's say):

dir=foo&filespec=a%7c1.2%7c1.3%7cOLD_TAG&filespec=b%7c1.1%7c1.2%7cOLD_TAG&cvsroot=wherever

Running this through a standard URL unescaper (perl -MCGI -e 'print
unescape("dir=foo&filespec=a%7c1.2%7c1.3%7cOLD_TAG&filespec=b%7c1.1%7c1.2%7cOLD_TAG&cvsroot=wherever");')
yields:

dir=foo&filespec=a|1.2|1.3|OLD_TAG&filespec=b|1.1|1.2|OLD_TAG&cvsroot=wherever

...and running this through a standard webbish/libwww slicer and dicer
program you'd get (the following is my own syntax):

dir=foo
filespec=a|1.2|1.3|OLD_TAG, b|1.1|1.2|OLD_TAG
cvsroot=wherever

Or you could make the filespec syntax resemble the Entries file, if you
wanted.  I've chosen |||
arbitrarily.

Cheers,
Laird

--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: "notify" file

2000-12-06 Thread Derek R. Price

Tomas Velek wrote:

> Hello,
>   I want to inform other about commit. To do it I use the "notify"
> file and the external file, which send the informative mail to people
> in "users" file. After commit all people receive the mail, it is
> right. But this mail must contains the names of commited files and I
> can not reach it.
>   In "loginfo" file is possible to use %{sVv} parameter, but it does
> not work in "notify" file.
>   I need to solve it very necessarily, please help
>
> I'm using WinNT server, clients Win9x with WinCVS 1.1b16

I've seen a few requests lately for this kind of thing so I thought
I would send out a reminder that there's a patch against 1.11 (NOT the
NT version) which provides some hooks to pass new information through
the *info files at
http://alumni.engin.umich.edu/~oberon/ccvs.newfmtstrings.1-11.diff .

Theres the same code plus a new *info hook for filtering an rcsinfo
template _before_ the user sees it in an editor at
http://alumni.engin.umich.edu/~oberon/ccvs.tmpltfilterinfo.final.diff ,
but it's incomplete.  The filter is currently running on the client and
should be running on the server.

There have been a few discussions lately about this kind of thing as
well, including one that suggested always providing all available
information for a hook in environment variables, similar to CGI, but I'm
not sure now that this patch isn't a better solution since it should be
harder to accidentally fill up a child's environment memory since an
administrator could pare the args going to a script when they _didn't_
want all the data.  Of course, maybe some sort of pipe to squirt all the
data through as XML would be even better than that but I'm not sure I
understand all the issues here.

Derek

--
Derek Price  CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com )
--
I will not say "Springfield" just to get applause.
I will not say "Springfield" just to get applause.
I will not say "Springfield" just to get applause...

  - Bart Simpson on chalkboard, _The Simpsons_




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



"notify" file

2000-12-05 Thread Tomas Velek

Hello,
  I want to inform other about commit. To do it I use the "notify" 
file and the external file, which send the informative mail to people 
in "users" file. After commit all people receive the mail, it is 
right. But this mail must contains the names of commited files and I 
can not reach it.
  In "loginfo" file is possible to use %{sVv} parameter, but it does 
not work in "notify" file.
  I need to solve it very necessarily, please help

I'm using WinNT server, clients Win9x with WinCVS 1.1b16

Thanks

Tomas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Parameters in notify file

2000-11-29 Thread Tomas Velek

Hello,
  I use "notify" file to notify others about commit. In this file is 
the line: 
ALL postie -host:10.10.10.99 -to:%s -from:[EMAIL PROTECTED] -s:
\"CVS $USER\" -msg:\"CVS notification\"

This command send the message to all users in "users" file, whenever 
commit was made. But I don't know a parameter, which contains 
information about names of commited files or modules (like parameter 
$USER for user name).

I'm using WinCVS 1.1b16, server WinNT, clients Win9x

Thanks for every help

Tomas Velek


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Getting the version number in a "notify" message

2000-10-27 Thread Larry Jones

Aldo Longhi writes:
> 
> It would appear that CVS is doing some sort of "grep" on the
> history file and listing all files in this directory that
> START with the filename I gave.

It's even worse than that -- history lists any files that *contain* the
given filename.  For example, if you give a filename of "1", you'll get
every file anywhere in the repository with a "1" somewhere in its name.

The history interface has aways seemed to me to be incredibly
complicated yet useless.  If anyone would like to propose a redesign,
I'm open to suggestions.

-Larry Jones

These things just seem to happen. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Getting the version number in a "notify" message

2000-10-25 Thread Aldo Longhi

So who knows how can I find the version number that
was MOST RECENTLY checked in (regardless of branch)
for a particular file by a particular user?  Here's
the "cvs history" command that I have so far:

"cvs history -c -a -l -f "

The problem I encountered when testing this is that
I got more than one line of output from the above
command!!

$ cvs history -c -a -l -f tools/cvsweb/cvsweb
M 08/25 14:24 + alonghi 1.20 cvsweb tools/cvsweb == 
M 01/19 22:20 + alonghi 1.3  cvsweb2html.pl tools/cvsweb == 

It would appear that CVS is doing some sort of "grep" on the
history file and listing all files in this directory that
START with the filename I gave.  I could try to filter through
the (potentially) multiple files that this command gives
me, but I'd rather do it "the right way" (if there is one!).

(I'm using CVS 1.10 on an HP-UX 10.20 server with pserver
access from various client platforms.)

Thanks.


Laird Nelson wrote:
>Actually, the new revision number is only passed to loginfo.  Everything
>else (commitinfo, verifymsg) suffers from the same problem you're
>having.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Getting the version number in a "notify" message

2000-10-25 Thread Laird Nelson

Aldo Longhi wrote:
> As far as I can see in
> the CVS documentation (Cederqvist), this information
> is NOT passed to the "notify" script by CVS (as it is
> for other "trigger" operations).

Actually, the new revision number is only passed to loginfo.  Everything
else (commitinfo, verifymsg) suffers from the same problem you're
having.

Cheers,
Laird

--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Getting the version number in a "notify" message

2000-10-25 Thread Aldo Longhi

CVS gurus:

I have written a script (Perl) that is called via
the "notify" administrative file and it works great,
but I would like to include the new *version number*
of the file that was just committed in the notification
message that gets sent out.  As far as I can see in
the CVS documentation (Cederqvist), this information
is NOT passed to the "notify" script by CVS (as it is
for other "trigger" operations).  Can someone suggest
a way to find the version number that was most recently
committed?  The information available is:
Repository location (absolute path)
Path within the repository
File name
Username that did the "commit"

I could probably resort to an RCS command ("rlog"?)
to access the "*,v" file directly, but I would rather
not.  I thought maybe I could use the "cvs history"
command, but I do not have any experience with this
command and it seems to take about a dozen option
flags and arguments.

Any ideas?

Thanks in advance.  =:-]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: notify file in sandbox's CVS directory...

2000-05-08 Thread Noel L Yap

CVS/notify is created by "cvs commit" (when unediting), "cvs edit", "cvs
release" (when unediting), and "cvs unedit".  It's part of the client/server
protocol.

When using it in conjunction with "cvs add", it works fine under the normal
rsh-connect client/server setup.  I don't know how it behaves under pserver.

Also, I don't know what'll happen in the following:
cvs add file
cvs edit file
cvs rm file
cvs ci # assuming other stuff has changed

Although I do know that:
cvs add file
cvs edit file
cvs rm file
cvs unedit file

will give you something like, "nothing known about..."

I hope this provides enough to track down the problem.

Noel

PS
One of my TODO's is to allow the editing and unediting of unknown files.  Such a
patch should fix the above problem(s).




[EMAIL PROTECTED] on 2000.05.08 12:32:37

To:   [EMAIL PROTECTED]
cc:   (bcc: Noel L Yap)
Subject:  notify file in sandbox's CVS directory...





I have recently run into a rather odd instance of a notify file
causing problems in the CVS directory of a users sandbox... What I
would like to know is what might cause the creation of a notify file
in a users sandbox and what it's purpose is...

The problem started when a user was attempting to add files to the
repository, the pserver was reporting a 'nothing known about...' error
response.

Pertinent version info:
Client - jCVS 5.1.1, JRE1.2, win2K 2195, intel
Server - Redhat Linux 6.1 (sort of =), cvs 1.10.8, pserver, intel

The Notify file in CVSROOT is just comments, but watches are on for
the project...

The contents of the file are as follows:
--- begin paste ---
ESection_One.htmThu Apr 13 14:07:23 2000 GMT remote.via.jCVS
./FuncSpec/SectionOne/
---  end paste  ---

Is this a jCVS client issue, or does the c/s protocol require the
creation of such files?  Any help would be appreciated as in the
future I would like to avoid whatever caused it... =)

Scott

--
Scott Sutherland  National Computer Systems
(319) 354-9200Measurement Services Division
[EMAIL PROTECTED]Iowa City, Ia
import my.standard.disclaimer.*;GO HAWKS!!!






This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.




notify file in sandbox's CVS directory...

2000-05-08 Thread Scott Sutherland


I have recently run into a rather odd instance of a notify file
causing problems in the CVS directory of a users sandbox... What I
would like to know is what might cause the creation of a notify file
in a users sandbox and what it's purpose is...

The problem started when a user was attempting to add files to the
repository, the pserver was reporting a 'nothing known about...' error
response.

Pertinent version info:
Client - jCVS 5.1.1, JRE1.2, win2K 2195, intel
Server - Redhat Linux 6.1 (sort of =), cvs 1.10.8, pserver, intel

The Notify file in CVSROOT is just comments, but watches are on for
the project...

The contents of the file are as follows:
--- begin paste ---
ESection_One.htmThu Apr 13 14:07:23 2000 GMT remote.via.jCVS 
./FuncSpec/SectionOne/  
---  end paste  ---

Is this a jCVS client issue, or does the c/s protocol require the
creation of such files?  Any help would be appreciated as in the
future I would like to avoid whatever caused it... =)

Scott

-- 
Scott Sutherland  National Computer Systems
(319) 354-9200Measurement Services Division
[EMAIL PROTECTED]Iowa City, Ia
import my.standard.disclaimer.*;GO HAWKS!!!




CVSROOT/users and CVSROOT/notify

2000-03-08 Thread David Blevins

I'm looking on more detailed information regarding the CVSROOT/users and
CVSROOT/notify files.  Specifically, what can I do beyond that basics and
what entries are legal(I'll give examples of what I mean).  I was just at
this site http://www.loria.fr/~molli/cvs/doc/cvs_10.html#SEC85 and it did a
good job of explaining how to use the example entry but it wasn't very
detailed about the options that are available.

For Example in the CVSROOT/notify file.

ALL mail %s -s \"CVS notification\"

This causes users to be notified by electronic mail. Can I specify other
things besides 'mail'?  When I specify 'mail' what gets executed, can I
change the format of the email sent?


The CVSROOT/users file.

The format for an entry in this file is documented as 'user:value'.  So a
legal entry would be as such:
jsmith:[EMAIL PROTECTED]

But what are the more advanced possibilities for the format of 'value' in
the 'user:value' pair?  Can I specify two email addresses like this?
jsmith:[EMAIL PROTECTED],[EMAIL PROTECTED]

Is there anywhere that I can find this detailed information?  Or does anyone
happen to already know?

Regards,
David Blevins