gnu.cvs.help
[Top] [All Lists]

Re: Needs CVS email notification help !

Subject: Re: Needs CVS email notification help !
From: Jim Hyslop
Date: Tue, 04 Apr 2006 13:43:53 -0400
Newsgroups: gnu.cvs.help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:
> Jim,
> 
> That what I did before I send my email to the list.
> I don't know what i did wrong. I never get a email trigger
> send back to me. I tail -f the maillog on cvs server and looking for email
> notify send out, but no luck.

OK, we need to narrow down the problem - is the script executing and
failing to send the mail, or is the script not executing at all?

Check to see if your $tempfile gets created (by the way, you will have
problems if two people trigger the script simultaneously - make sure the
script generates a unique file name each time it runs). If it isn't
created, then the script isn't running. One possibility for that might
be a previous line in loginfo which matches the regex - remember that
CVS will stop at the first match that it finds. For example, if you have:

projects some_script
projects/drivers some_other_script

then the second script will never get executed.

If the script is firing, but not sending the email, I'll have to let
someone else take over, since I'm not an expert at UNIX shell programming.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEMrBZLdDyDwyJw+MRAoPaAKCRcOAkHMP5/lHQ+IC84P1ZYfGfYACdGs5J
v59exTQ2VHnr/A10kdGuVZI=
=sVXL
-----END PGP SIGNATURE-----




<Prev in Thread] Current Thread [Next in Thread>