Discussion:
Help with commit emails
Greg Akins
2009-10-23 16:57:40 UTC
Permalink
I've had CVS setup to send emails on commits using the loginfo file
(Copied below).

The messages go out for everyone except me. All our developers are
using the CVS client in Eclipse; I sometimes use command line from Mac
OS X 10.5.

Anyone have a clue why this might be happening?

# For example:
#ALL (echo ""; id; echo %s; date; cat) >> /home/gakins/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
DEFAULT /bin/mail -s %s ***@towercare.com


cvs is running on CentOS 5.2 (Red Hat Enterprise Linux WS release 3
(Taroon Update 8))
--
Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net
Risman, Mark
2009-10-26 14:58:25 UTC
Permalink
Greg,

Is your CVS login using the same system user as the developers' CVS
logins (via pserver, for example)?

-----Original Message-----
From: info-cvs-bounces+mark.risman=***@nongnu.org
[mailto:info-cvs-bounces+mark.risman=***@nongnu.org] On Behalf Of
Greg Akins
Sent: Friday, October 23, 2009 12:58 PM
To: info-***@nongnu.org
Subject: Help with commit emails

I've had CVS setup to send emails on commits using the loginfo file
(Copied below).

The messages go out for everyone except me. All our developers are
using the CVS client in Eclipse; I sometimes use command line from Mac
OS X 10.5.

Anyone have a clue why this might be happening?

# For example:
#ALL (echo ""; id; echo %s; date; cat) >> /home/gakins/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >>
$CVSROOT/CVSROOT/commitlog
DEFAULT /bin/mail -s %s ***@towercare.com


cvs is running on CentOS 5.2 (Red Hat Enterprise Linux WS release 3
(Taroon Update 8))
--
Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net







**********************************************************

MLB.com: Where Baseball is Always On
Greg Akins
2009-10-26 15:19:35 UTC
Permalink
Thanks for your response.

Yes, we're all using :extssh: from within Eclipse. I also try to
commit using cvs comandline using :ext: and the messages still aren't
sent
Post by Risman, Mark
Greg,
Is your CVS login using the same system user as the developers' CVS
logins (via pserver, for example)?
-----Original Message-----
Greg Akins
Sent: Friday, October 23, 2009 12:58 PM
Subject: Help with commit emails
I've had CVS setup to send emails on commits using the loginfo file
(Copied below).
The messages go out for everyone except me.  All our developers are
using the CVS client in Eclipse; I sometimes use command line from Mac
OS X 10.5.
Anyone have a clue why this might be happening?
#ALL (echo ""; id; echo %s; date; cat) >> /home/gakins/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >>
$CVSROOT/CVSROOT/commitlog
cvs is running on CentOS 5.2 (Red Hat Enterprise Linux WS release 3
(Taroon Update 8))
--
Greg Akins
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
**********************************************************
MLB.com: Where Baseball is Always On
--
Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net
Risman, Mark
2009-10-26 17:26:18 UTC
Permalink
Greg -- if you're using :ext: and :extssh:, then you'd be logging into the Linux box as specific users to run CVS. Are you all using the same Linux user ID? I ask because if the issue arises with only one, or some, Linux usernames but not others, the issue could be with differences between those accounts or have to do with sending mail from one account vs. another.

-----Original Message-----
From: Greg Akins [mailto:***@gmail.com]
Sent: Monday, October 26, 2009 11:20 AM
To: Risman, Mark
Cc: info-***@nongnu.org
Subject: Re: Help with commit emails

Thanks for your response.

Yes, we're all using :extssh: from within Eclipse. I also try to
commit using cvs comandline using :ext: and the messages still aren't
sent
Post by Risman, Mark
Greg,
Is your CVS login using the same system user as the developers' CVS
logins (via pserver, for example)?
-----Original Message-----
Greg Akins
Sent: Friday, October 23, 2009 12:58 PM
Subject: Help with commit emails
I've had CVS setup to send emails on commits using the loginfo file
(Copied below).
The messages go out for everyone except me.  All our developers are
using the CVS client in Eclipse; I sometimes use command line from Mac
OS X 10.5.
Anyone have a clue why this might be happening?
#ALL (echo ""; id; echo %s; date; cat) >> /home/gakins/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >>
$CVSROOT/CVSROOT/commitlog
cvs is running on CentOS 5.2 (Red Hat Enterprise Linux WS release 3
(Taroon Update 8))
--
Greg Akins
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
**********************************************************
MLB.com: Where Baseball is Always On
--
Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net





**********************************************************

MLB.com: Where Baseball is Always On
Greg Akins
2009-10-26 18:01:18 UTC
Permalink
Post by Risman, Mark
Greg -- if you're using :ext: and :extssh:, then you'd be logging into the Linux box as specific users to run CVS. Are you all using the same Linux user ID? I ask because if the issue arises with only one, or some, Linux usernames but not others, the issue could be with differences between those accounts or have to do with sending mail from one account vs. another.
That sounds like a good place to start.

I have limited Linux skills, so I'm not sure how I can figure out what
the differences are, but someone here can probably help me.
--
Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net
Greg Akins
2009-10-27 19:40:54 UTC
Permalink
Post by Risman, Mark
Greg -- if you're using :ext: and :extssh:, then you'd be logging into the Linux box as specific users to run CVS. Are you all using the same Linux user ID? I ask because if the issue arises with only one, or some, Linux usernames but not others, the issue could be with differences between those accounts or have to do with sending mail from one account vs. another.
I tried changing so that I just write a text file, instead of sending
email and that didn't work either.

I'm not sure what kind of differences, in the accounts, to look for.
I could try having our sysadmin setup another account for me;
wondering if something about my account is causing trouble. Maybe
there is something I could test that would give me more debugging
information.

Greg Akins

http://www.pghcodingdojo.org
http://pittjug.dev.java.net

Loading...