SourceForge.net | 7 Oct 2004 04:02
Picon
Favicon

[ cvs-syncmail-Patches-938197 ] Use CVS_USER if available

Patches item #938197, was opened at 2004-04-19 17:43
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450021&aid=938197&group_id=47611

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Use CVS_USER if available

Initial Comment:
Here's a simple patch Fred requested which uses the
CVS_USER environment variable as the sender of the
mail in preference to the currently running user.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2004-10-06 22:02

Message:
Logged In: YES 
user_id=3066

Off the top of my head, I can't see any reason to assume the
CVS_USER would be a system user to start with, though it may
(Continue reading)

SourceForge.net | 7 Oct 2004 04:09
Picon
Favicon

[ cvs-syncmail-Patches-873861 ] Add option to only report commits to the CVS HEAD

Patches item #873861, was opened at 2004-01-09 11:19
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450021&aid=873861&group_id=47611

Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Sean Morrison (brlcad)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add option to only report commits to the CVS HEAD

Initial Comment:
A group I work with had a particular need to ignore commits 
to CVS branches.  So, I modified our (apparently older) 
version of syncmail and added the ability to do just that.

It was a quick hack that I'm sure can be improved, as it 
relies on a format assumption of the CVS version string.  
Probably using a regexp is a bit much, just to count commas 
and periods, but my python mojo is not up to par with my 
other languages.  

A small unified diff format patch is attached.

Cheers!
Sean

(Continue reading)

SourceForge.net | 7 Oct 2004 04:10
Picon
Favicon

[ cvs-syncmail-Patches-1034306 ] Too early SMTP conn w/ false timeout on strict SMTP relays

Patches item #1034306, was opened at 2004-09-24 16:11
Message generated for change (Settings changed) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450021&aid=1034306&group_id=47611

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Serguei A. Mokhov (mokhov)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Too early SMTP conn w/ false timeout on strict SMTP relays

Initial Comment:
Hello,

I have encountered a situation when the SMTP
relay has the connection timeout set to 2 minutes,
which sometimes caused a timeout problem with
syncmail because of a long commit message (long as in 
long-to-type). This was happening because syncmail
used to make an SMTP connection before any message 
is actually prepared, and if it takes the user to type it 
long enough, it'll time out. So, the attached patch fixes
the problem by moving the connection establishing
down the code after the message is actually ready.

I also udated the comments on top to explicitly mention
the requirement for Python 2.2.2 rather than 2.2 because
(Continue reading)

SourceForge.net | 7 Oct 2004 04:18
Picon
Favicon

[ cvs-syncmail-Patches-1021987 ] suppress certain branch checkin mails

Patches item #1021987, was opened at 2004-09-03 14:12
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450021&aid=1021987&group_id=47611

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Nobody/Anonymous (nobody)
Summary: suppress certain branch checkin mails

Initial Comment:
In our environment we have an unwritten policy that
most extensive new development occurs on development
branches, not on the trunk.  Aside from the trunk we
also have maintenance branches whose names follow a
consistent naming rule.

When development occurs over a longish period of time,
developers tend to merge from the trunk periodically so
as not to get too out-of-sync, then checkin the merge
results on the branch.  This can result in large
numbers of fairly worthless syncmail messages.

The attached patch allows you to specify a tag pattern
on the syncmail command line.  For example, all our
maintenance branches have names like snake_1_19_branch.
(Continue reading)

Fred L. Drake, Jr. | 7 Oct 2004 04:25
Picon

syncmail syncmail,2.1,2.2

Update of /cvsroot/cvs-syncmail/syncmail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18566

Modified Files:
	syncmail 
Log Message:
update comment noting the Python version required by syncmail
(closes SF bug #967653)

Index: syncmail
===================================================================
RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -d -r2.1 -r2.2
--- syncmail	12 Mar 2004 22:52:26 -0000	2.1
+++ syncmail	7 Oct 2004 02:25:03 -0000	2.2
 <at>  <at>  -5,7 +5,8  <at>  <at> 
 # See the accompanying LICENSE file for details.

 # NOTE: SourceForge currently runs Python 2.2.3, so we need to remain
-# compatible with the Python 2.2 line.
+# compatible with at least that version.  Python 2.2.2 or newer is
+# currently required.

 """Complicated notification for CVS checkins.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
(Continue reading)

SourceForge.net | 7 Oct 2004 04:26
Picon
Favicon

[ cvs-syncmail-Bugs-967653 ] ImportError: cannot import name formataddr

Bugs item #967653, was opened at 2004-06-06 12:02
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450019&aid=967653&group_id=47611

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Serguei A. Mokhov (mokhov)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: ImportError: cannot import name formataddr

Initial Comment:
Hello,

I have Python 2.2 installed. After upgrading to
syncmail 2.1 I started getting the below. Looks like it
cannot find 'formataddr' for some reason. Any insight
on the matter would be appreciated.

Checking in wrappers/Worker.java;
/cvsroot/gipsy/gipsy/src/gipsy/wrappers/Worker.java,v 
<--  Worker.java
new revision: 1.9; previous revision: 1.8
done
Traceback (most recent call last):
  File "/cvsroot/gipsy/CVSROOT/syncmail", line 103, in ?
    from email.Utils import formataddr
(Continue reading)

Fred L. Drake, Jr. | 12 Oct 2004 20:54
Picon

syncmail syncmail,1.36.2.19,1.36.2.20

Update of /cvsroot/cvs-syncmail/syncmail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8531

Modified Files:
      Tag: new-config-branch
	syncmail 
Log Message:
drop direct use of rcsdiff; this doesn't work so well

Index: syncmail
===================================================================
RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v
retrieving revision 1.36.2.19
retrieving revision 1.36.2.20
diff -u -d -r1.36.2.19 -r1.36.2.20
--- syncmail	19 Apr 2004 17:58:10 -0000	1.36.2.19
+++ syncmail	12 Oct 2004 18:54:27 -0000	1.36.2.20
 <at>  <at>  -219,9 +219,8  <at>  <at> 
             difftype = "-C %d" % config.contextlines
         else:
             difftype = "-u"
-        rcsfile = get_rcs_file(config, file)
-        diffcmd = "/usr/bin/rcsdiff -kk %s --minimal -r %s -r %s %s" \
-                  % (difftype, oldrev, newrev, filestr(rcsfile))
+        diffcmd = "/usr/bin/cvs -f diff -kk %s --minimal -r %s -r %s %s" \
+                  % (difftype, oldrev, newrev, filestr(file))
         fp = os.popen(diffcmd)
         lines = fp.readlines()
         # ignore the error code, it always seems to be 1 :(
 <at>  <at>  -247,12 +246,6  <at>  <at> 
(Continue reading)

Ametrano Ferdinando | 22 Oct 2004 10:14
Picon

using syncmail on a Windows cvsnt server

Hi all

I've asked my company to install CVS for our small development team. We've got a CVSNT server on a windows
machine. The only problem I have is syncmail is not working because it requires the pwd Python library,
which is non available under Windows. 

Is there a patch/work-around available? Or is there any decent alternative to syncmail for Windows CVS servers?

thank you in advance for your help

Ferdinando Ametrano

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Gmane