You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(5) |
Apr
(5) |
May
(23) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(1) |
Oct
(8) |
Nov
(24) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(17) |
Feb
(5) |
Mar
(18) |
Apr
(10) |
May
(4) |
Jun
(5) |
Jul
(67) |
Aug
(7) |
Sep
(4) |
Oct
(2) |
Nov
(4) |
Dec
(9) |
2004 |
Jan
(16) |
Feb
(4) |
Mar
(7) |
Apr
(5) |
May
(4) |
Jun
(5) |
Jul
(3) |
Aug
(3) |
Sep
(3) |
Oct
(8) |
Nov
|
Dec
|
2005 |
Jan
(5) |
Feb
(6) |
Mar
(4) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(7) |
2006 |
Jan
(10) |
Feb
(4) |
Mar
(10) |
Apr
(8) |
May
(8) |
Jun
(14) |
Jul
(7) |
Aug
(4) |
Sep
(4) |
Oct
(24) |
Nov
(29) |
Dec
(10) |
2007 |
Jan
(5) |
Feb
(12) |
Mar
(11) |
Apr
(10) |
May
(3) |
Jun
(3) |
Jul
(15) |
Aug
(28) |
Sep
(8) |
Oct
(5) |
Nov
(8) |
Dec
(13) |
2008 |
Jan
(7) |
Feb
(11) |
Mar
(29) |
Apr
(28) |
May
(17) |
Jun
(9) |
Jul
(18) |
Aug
(7) |
Sep
(8) |
Oct
(9) |
Nov
(11) |
Dec
(53) |
2009 |
Jan
(112) |
Feb
(19) |
Mar
(46) |
Apr
(32) |
May
(90) |
Jun
(91) |
Jul
(33) |
Aug
(11) |
Sep
(16) |
Oct
(23) |
Nov
(15) |
Dec
(3) |
2010 |
Jan
(1) |
Feb
|
Mar
(37) |
Apr
(47) |
May
(66) |
Jun
(69) |
Jul
(29) |
Aug
(45) |
Sep
(23) |
Oct
(3) |
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(6) |
Sep
(1) |
Oct
(7) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2016 |
Jan
(4) |
Feb
(5) |
Mar
(2) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
(25) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
(3) |
Oct
(6) |
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2023 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2024 |
Jan
(2) |
Feb
(2) |
Mar
(5) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Barry A. W. <bw...@us...> - 2004-03-12 23:01:06
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8966 Modified Files: syncmail Log Message: blah. $Revision$ not $Id$ Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 2.0 retrieving revision 2.1 diff -u -d -r2.0 -r2.1 --- syncmail 12 Mar 2004 22:51:44 -0000 2.0 +++ syncmail 12 Mar 2004 22:52:26 -0000 2.1 @@ -88,7 +88,7 @@ email-addrs At least one email address. """ -__version__ = '$Id$' +__version__ = '$Revision$' import os import re |
From: Barry A. W. <bw...@us...> - 2004-03-12 23:00:24
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8847 Modified Files: Tag: 2.0 syncmail Log Message: Since syncmail is a single-file application, let's just go ahead and use the CVS revision number as the __version__. Causes less confusion. Also, bump the CVS revision to 2.0 to start fresh. |
From: Barry A. W. <bw...@us...> - 2004-03-12 23:00:18
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8785 Modified Files: syncmail Log Message: intermediate Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- syncmail 12 Mar 2004 22:49:24 -0000 1.40 +++ syncmail 12 Mar 2004 22:51:38 -0000 1.41 @@ -88,7 +88,7 @@ email-addrs At least one email address. """ -__version__ = '1.4' +__version__ = '$Id$' import os import re |
From: Barry A. W. <bw...@us...> - 2004-03-12 22:58:04
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8474 Modified Files: syncmail Log Message: copyright years Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- syncmail 12 Mar 2004 22:48:58 -0000 1.39 +++ syncmail 12 Mar 2004 22:49:24 -0000 1.40 @@ -1,6 +1,6 @@ #! /usr/bin/python -# Copyright (c) 2002, 2003, Barry Warsaw, Fred Drake, and contributors +# Copyright (c) 2002, 2003, 2004 Barry Warsaw, Fred Drake, and contributors # All rights reserved. # See the accompanying LICENSE file for details. |
From: Barry A. W. <bw...@us...> - 2004-03-12 22:57:38
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8401 Modified Files: syncmail Log Message: Jacob Moorman related a patch by Ari Gordon-Schlosberg to use the GECOS field in the From header. His patch didn't appear to be against the head of our CVS, and we were pretty close anyway. I took the opportunity to clean some things up though: - reorder the imports into Guido order :) - get rid of the funky splitting of the gecos field on commas, and use email.Utils.formataddr() to combine the realname and the address. This should properly quote any names with weird punctuation in them (like that of some co-project-admin I know) - get rid of the binding of sys.stdout since we can now use print>> (does that rock or what?) - bump to version 1.4 Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- syncmail 23 Jan 2004 15:57:28 -0000 1.38 +++ syncmail 12 Mar 2004 22:48:58 -0000 1.39 @@ -88,18 +88,19 @@ email-addrs At least one email address. """ -__version__ = '1.3' +__version__ = '1.4' import os -import sys import re +import pwd +import sys import time import getopt -import smtplib -import pwd import socket +import smtplib from cStringIO import StringIO +from email.Utils import formataddr # Which SMTP server to do we connect to? MAILHOST = 'localhost' @@ -222,38 +223,33 @@ conn.connect(MAILHOST, MAILPORT) pwinfo = pwd.getpwuid(os.getuid()) user = pwinfo[0] - name = pwinfo[4].split(',')[0] + name = pwinfo[4] domain = fromhost or socket.getfqdn() address = '%s@%s' % (user, domain) s = StringIO() - sys.stdout = s datestamp = time.strftime('%a, %d %b %Y %H:%M:%S +0000', time.gmtime(time.time())) - try: - vars = {'address' : address, - 'name' : quotename(name), - 'people' : COMMASPACE.join(people), - 'subject' : subject, - 'version' : __version__, - 'date' : datestamp, - } - print '''\ -From: %(name)s <%(address)s> + vars = {'author' : formataddr((name, address)), + 'people' : COMMASPACE.join(people), + 'subject' : subject, + 'version' : __version__, + 'date' : datestamp, + } + print >> s, '''\ +From: %(author)s To: %(people)s''' % vars - if replyto: - print 'Reply-To: %s' % replyto - print '''\ + if replyto: + print >> s, 'Reply-To: %s' % replyto + print >>s, '''\ Subject: %(subject)s Date: %(date)s X-Mailer: Python syncmail %(version)s <http://sf.net/projects/cvs-syncmail> ''' % vars - s.write(sys.stdin.read()) - # append the diffs if available - print - for entry in entries: - print calculate_diff(entry, contextlines) - finally: - sys.stdout = sys.__stdout__ + s.write(sys.stdin.read()) + # append the diffs if available + print >> s + for entry in entries: + print >> s, calculate_diff(entry, contextlines) resp = conn.sendmail(address, people, s.getvalue()) conn.close() os._exit(0) |
From: Rustom Salyer<cvs...@YA...> - 2004-02-14 05:07:13
|
<html><body bgcolor=#FFFFFF text=#000000><b><font color=#FF0000> cvs-syncmail-talk:<br> GV-Promax is cheap V#igra </font></b><br> -- 1 -- "same med1catl0n, 1ower prlce. $10o% guaranteed." <br> -- 2 -- 10o% m0ney back guarantee. <br> -- 3 -- generlc brand 1s 6o% cheaper <br> -- 4 -- $2.08(per dose) <br> -- 5 -- 0nly 6o% 1ess expenslve than V*lgra <br> -- 6 -- the chem1cal equ1valent 0f V,1gra <br> -- 7 -- and the doct0r consu1t ls free!!! <p><font color=#FF0000><b>cvs-syncmail-talk:</b><br> <b><a href=http://cvs-syncmail-talk.trustrnktrng.com/sh>P1ease Vislt 0ur We6 S1te: Click Here</a><br><a href=http://ww.cvs-sync></a><br><br><br><br><br><br><p><a href=http://cvs-sync.com></a></p><p>cvs-syncmail-talk</p></font></b> </P> </BODY></HTML> |
From: Sam C. <sa...@su...> - 2004-02-13 15:14:38
|
On Thu, 2004-02-12 at 16:52, Barry Warsaw wrote: > On Thu, 2004-02-12 at 07:51, Sam Clegg wrote: > > I was wondering if it would be possible, optionally of course, to > > generate links to viewcvs diffs rather than including diff inline=20 > > in emails? > That would defeat the original purpose of syncmail which was exactly to > include the diffs in the emails. The thought was that we wanted to make > it extremely easy for people to review the changes. If they had to go > through more than one step to do so, most people would simply ignore > them. You'd be surprised how many bugs can be caught with a quick scan > through your email window right before you hit delete. Sure, i'm not suggesting that everyone would use this feature. However, in the past I personally have found inline diffs both overly large and hard to read. I prefer the colourful side-by-side diff style of viewcvs. I also find click-to-view, on a per file basis, easier than=20 multiple files in a single view. I don't know if other share my preference but if they do it might be a good feature for syncmail. =20 I've been using a super-simple and no-very-tested script that does basically what I've described. I'd like to be using a more standardised and tested system such as syncmail however. http://superduper.net/cgi-bin/viewcvs.cgi/CVSROOT/cvs-log.py?rev=3D1.6&cont= ent-type=3Dtext/vnd.viewcvs-markup cheers, sam --=20 sam clegg :: sa...@su... :: http://superduper.net/ :: PGP : D91EE369=20 $superduper: .signature,v 1.13 2003/06/17 10:29:24 sam Exp $ |
From: Barry W. <ba...@py...> - 2004-02-12 16:54:01
|
On Thu, 2004-02-12 at 07:51, Sam Clegg wrote: > I'm not sure this is the right place for feature requests. Excuse > me if its not. Also, I'm not sure this suggestion hasn't come up > before. > > I was wondering if it would be possible, optionally of course, to > generate links to viewcvs diffs rather than including diff inline > in emails? > > This would mean less email traffic and arguably more readable diffs. > My suggestion would be to simply include one link per file changes. That would defeat the original purpose of syncmail which was exactly to include the diffs in the emails. The thought was that we wanted to make it extremely easy for people to review the changes. If they had to go through more than one step to do so, most people would simply ignore them. You'd be surprised how many bugs can be caught with a quick scan through your email window right before you hit delete. -Barry |
From: Sam C. <sa...@su...> - 2004-02-12 12:53:12
|
I'm not sure this is the right place for feature requests. Excuse me if its not. Also, I'm not sure this suggestion hasn't come up before. I was wondering if it would be possible, optionally of course, to generate links to viewcvs diffs rather than including diff inline=20 in emails? This would mean less email traffic and arguably more readable diffs. =20 My suggestion would be to simply include one link per file changes. Cheers, sam --=20 sam clegg :: sa...@su... :: http://superduper.net/ :: PGP : D91EE369=20 $superduper: .signature,v 1.13 2003/06/17 10:29:24 sam Exp $ |
From: Fred L. D. <fd...@us...> - 2004-01-29 08:53:53
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28309 Modified Files: syncmail Log Message: bump the version number, since we changed the support level for ancient versions of Python Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- syncmail 23 Jan 2004 15:51:58 -0000 1.37 +++ syncmail 23 Jan 2004 15:57:28 -0000 1.38 @@ -88,7 +88,7 @@ email-addrs At least one email address. """ -__version__ = '1.2' +__version__ = '1.3' import os import sys |
From: Barry A. W. <bw...@us...> - 2004-01-29 08:22:23
|
Update of /cvsroot/cvs-syncmail/CVSROOT In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26846 Modified Files: syncmail Log Message: Updated compatibility note Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/CVSROOT/syncmail,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- syncmail 11 Jul 2003 04:27:36 -0000 1.22 +++ syncmail 23 Jan 2004 15:46:46 -0000 1.23 @@ -4,8 +4,8 @@ # All rights reserved. # See the accompanying LICENSE file for details. -# NOTE: Until SourceForge installs a modern version of Python on the cvs -# servers, this script MUST be compatible with Python 1.5.2. +# Compatibility: Python 2.2.3, tied to the version of Python on SourceForge's +# authenticated CVS server. """Complicated notification for CVS checkins. |
From: SourceForge.net <no...@so...> - 2004-01-28 17:16:03
|
Bugs item #886342, was opened at 2004-01-28 12:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=886342&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Sam Steingold (sds) Assigned to: Nobody/Anonymous (nobody) Summary: Couldn't generate diff; no version number Initial Comment: loginfo has ALL /cvsroot/sitedocs/CVSROOT/cvstools/syncmail -u -f users.sourceforge.net '%{sVv}' cli...@li... we get messages like this: From: sd...@us... Subject: "clisp/src sequence.d,1.66,1.67" To: cli...@li... Date: Sun, 25 Jan 2004 11:23:34 -0800 Reply-To: cli...@li... Update of /cvsroot/clisp/clisp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32331 Modified Files: sequence.d Log Message: (fehler_posint): take caller from subr_self, not arglist Couldn't generate diff; no version number found in filespec: sequence.d,1.66,1.67" it gets the diffs for all files except for the last one and gets confused by the '"' at the end of list of the files (see also the subject line). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=886342&group_id=47611 |
From: Fred L. D. <fd...@us...> - 2004-01-23 15:53:46
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27576 Modified Files: syncmail Log Message: now that SourceForge has installed Python 2.2.3 on their development CVS server, we can get rid of a lot of legacy cruft: - remove use of the string module in favor of string methods - remove local copy of socket.getfqdn(), since we can rely on it being there Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- syncmail 9 Jul 2003 23:13:37 -0000 1.36 +++ syncmail 23 Jan 2004 15:51:58 -0000 1.37 @@ -4,8 +4,8 @@ # All rights reserved. # See the accompanying LICENSE file for details. -# NOTE: Until SourceForge installs a modern version of Python on the cvs -# servers, this script MUST be compatible with Python 1.5.2. +# NOTE: SourceForge currently runs Python 2.2.3, so we need to remain +# compatible with the Python 2.2 line. """Complicated notification for CVS checkins. @@ -94,30 +94,11 @@ import sys import re import time -import string import getopt import smtplib import pwd import socket -try: - from socket import getfqdn -except ImportError: - def getfqdn(): - # Python 1.5.2 :( - hostname = socket.gethostname() - byaddr = socket.gethostbyaddr(socket.gethostbyname(hostname)) - aliases = byaddr[1] - aliases.insert(0, byaddr[0]) - aliases.insert(0, hostname) - for fqdn in aliases: - if '.' in fqdn: - break - else: - fqdn = 'localhost.localdomain' - return fqdn - - from cStringIO import StringIO # Which SMTP server to do we connect to? @@ -159,13 +140,13 @@ if oldrev is None and newrev is None: return NOVERSION % file - if string.find(file, "'") <> -1: + if file.find("'") <> -1: # Those crazy users put single-quotes in their file names! Now we # have to escape everything that is meaningful inside double-quotes. - filestr = string.replace(file, '\\', '\\\\') - filestr = string.replace(filestr, '`', '\`') - filestr = string.replace(filestr, '"', '\"') - filestr = string.replace(filestr, '$', '\$') + filestr = filestr.replace('\\', '\\\\') + filestr = filestr.replace('`', '\`') + filestr = filestr.replace('"', '\"') + filestr = filestr.replace('$', '\$') # and quote it with double-quotes. filestr = '"' + filestr + '"' else: @@ -184,8 +165,8 @@ # Is this a binary file? Let's look at the first few # lines to figure it out: for line in lines[:5]: - for c in string.rstrip(line): - if c in string.whitespace: + for c in line.rstrip(): + if c.isspace(): continue if c < ' ' or c > chr(127): lines = BINARY_EXPLANATION_LINES[:] @@ -215,7 +196,7 @@ del lines[DIFF_HEAD_LINES:-DIFF_TAIL_LINES] lines.insert(DIFF_HEAD_LINES, '[...%d lines suppressed...]\n' % removedlines) - return string.join(lines, '') + return ''.join(lines) @@ -223,7 +204,7 @@ def quotename(name): if name and rfc822_specials_re.search(name): - return '"%s"' % string.replace(name, '"', '\\"') + return '"%s"' % name.replace('"', '\\"') else: return name @@ -239,9 +220,10 @@ # Create the smtp connection to the localhost conn = smtplib.SMTP() conn.connect(MAILHOST, MAILPORT) - user = pwd.getpwuid(os.getuid())[0] - name = string.split(pwd.getpwuid(os.getuid())[4], ',')[0] - domain = fromhost or getfqdn() + pwinfo = pwd.getpwuid(os.getuid()) + user = pwinfo[0] + name = pwinfo[4].split(',')[0] + domain = fromhost or socket.getfqdn() address = '%s@%s' % (user, domain) s = StringIO() sys.stdout = s @@ -250,7 +232,7 @@ try: vars = {'address' : address, 'name' : quotename(name), - 'people' : string.join(people, COMMASPACE), + 'people' : COMMASPACE.join(people), 'subject' : subject, 'version' : __version__, 'date' : datestamp, @@ -288,8 +270,8 @@ self.tagdate = tagdate def get_entry(prefix, mapping, line, filename): - line = string.strip(line) - parts = string.split(line, "/") + line = line.strip() + parts = line.split("/") _, name, revision, timestamp, options, tagdate = parts key = namekey(prefix, name) try: @@ -297,8 +279,8 @@ except KeyError: if revision == "0": revision = None - if string.find(timestamp, "+") != -1: - timestamp, conflict = tuple(string.split(timestamp, "+")) + if timestamp.find("+") != -1: + timestamp, conflict = tuple(timestamp.split("+")) else: conflict = None entry = CVSEntry(key, revision, timestamp, conflict, @@ -324,13 +306,13 @@ line = f.readline() if not line: break -## if string.strip(line) == "D": +## if line.strip() == "D": ## continue # we could recurse down subdirs, except the Entries.Log files # we need haven't been written to the subdirs yet, so it # doesn't do us any good ## if line[0] == "D": -## name = string.split(line, "/")[1] +## name = line.split("/")[1] ## dirname = namekey(prefix, name) ## if os.path.isdir(dirname): ## m = load_change_info(dirname) @@ -350,7 +332,7 @@ # really old version of CVS break entry = get_entry(prefix, mapping, line[2:], entries_log_fn) - parts = string.split(line, "/")[1:] + parts = line.split("/")[1:] if line[0] == "A": # adding a file entry.new_revision = parts[1] @@ -368,7 +350,7 @@ tag_fn = os.path.join("CVS", "Tag") if os.path.isfile(tag_fn): f = open(tag_fn) - line = string.strip(f.readline()) + line = f.readline().strip() f.close() if line[:1] == "T": return line[1:] @@ -424,7 +406,7 @@ if not args: usage(1, 'No CVS module specified') subject = subject_prefix + args[0] - specs = string.split(args[0]) + specs = args[0].split() del args[0] # The remaining args should be the email addresses @@ -442,7 +424,7 @@ changes = load_change_info() if verbose: - print 'Mailing %s...' % string.join(people, COMMASPACE) + print 'Mailing %s...' % COMMASPACE.join(people) print 'Generating notification message...' blast_mail(subject, people, changes.values(), contextlines, fromhost, replyto) |
From: Kevin R. <ke...@ro...> - 2004-01-22 13:44:45
|
Below is a patch from a Debian user to add encoding support. Kevin Eugene Konev wrote: > Package: cvs-syncmail > Severity: wishlist > Tags: patch > > Please, add the support for setting encoding for generated messages. > Patch is enclosed. > > Debian Release: testing/unstable > Architecture: i386 > Kernel: Linux ftp-local 2.6.0-test9 #7 Wed Nov 19 16:18:09 KRAT 2003 i686 > Locale: LANG=C, LC_CTYPE=C > > +++ syncmail 2004-01-16 21:27:58.000000000 +0700 > @@ -64,6 +64,9 @@ > Add a "Reply-To: ADDR" header to the email message. > > + --charset=charset > + Add a encoding header to message. > + > Don't print as much status to stdout. > > @@ -229,7 +232,7 @@ > > > -def blast_mail(subject, people, entries, contextlines, fromhost, replyto): > +def blast_mail(subject, people, entries, contextlines, fromhost, replyto, charset): > # cannot wait for child process or that will cause parent to retain cvs > # lock for too long. Urg! > if not os.fork(): > @@ -260,6 +263,8 @@ > To: %(people)s''' % vars > if replyto: > print 'Reply-To: %s' % replyto > + if charset: > + print 'MIME-Version: 1.0\nContent-Type: text/plain; charset=%s\nContent-Transfer-Encoding: 8bit' % charset > print '''\ > Subject: %(subject)s > Date: %(date)s > @@ -383,7 +388,7 @@ > sys.argv[1:], 'hC:cuS:R:qf:m:', > ['fromhost=', 'context=', 'cvsroot=', 'mailhost=', > 'subject-prefix=', 'reply-to=', > - 'help', 'quiet']) > + 'help', 'quiet', 'charset=']) > except getopt.error, msg: > usage(1, msg) > > @@ -392,6 +397,7 @@ > verbose = 1 > subject_prefix = "" > replyto = None > + charset = None > fromhost = None > for opt, arg in opts: > if opt in ('-h', '--help'): > @@ -409,6 +415,8 @@ > subject_prefix = arg > elif opt in ('-R', '--reply-to'): > replyto = arg > + elif opt == '--charset': > + charset = arg > elif opt in ('-q', '--quiet'): > verbose = 0 > elif opt in ('-f', '--fromhost'): > @@ -445,7 +453,7 @@ > print 'Mailing %s...' % string.join(people, COMMASPACE) > print 'Generating notification message...' > blast_mail(subject, people, changes.values(), > - contextlines, fromhost, replyto) > + contextlines, fromhost, replyto, charset) > if verbose: > print 'Generating notification message... done.' > -- Kevin Rosenberg ke...@ro... |
From: Nora Lee<cvs...@YA...> - 2004-01-18 12:36:16
|
<html><body bgcolor=#FFFFFF text=#000000> <p><font color=#000099><b><font color=#FF0000><b>cvs-syncmail-talk : </b></font>Have you been l0nging for a Designer Handbag, Wa1let, etc? But y0u don't want t0 spend the Big Bucks? We1l, then here is the p1ace to be - A place where y0ur dreams come true! Enj0y the Superior qua1ity and m0st affordable price and add a sty1e t0 your life! </b></font></p> <p><font color=#FF0000><b>cvs-syncmail-talk:</b></font><br> <font color=#ff0000><b><a href=http://hot.4hoster.com/?11159901>P1ease Vis1t 0ur Vebsite see more:Click-Here</a><font color=#000099> <p>cvs-syncmail-talk<a href=http://WWW.cvs-syncmail-talk>.</a></p><p><a href=http://WWW.cvs-syncmail-talk>.</a></p><p><a href=http://WWW.cvs-syncmail-talk>.</a></p><p><a href=http://WWW.cvs-syncmail-talk>.</a></p><p>cvs-syncmail-talk<a href=http://WWW.cvs-syncmail-talk>.</a></p> <font color=#ff0000> <p><a href=http://hot.4hoster.com/lifehosteronline/remove>De1ete------------Delete</a></p> </font> </body></html> |
From: SourceForge.net <no...@so...> - 2004-01-09 16:19:14
|
Patches item #873861, was opened at 2004-01-09 16:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450021&aid=873861&group_id=47611 Category: None Group: None Status: Open Resolution: None 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450021&aid=873861&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 13:29:26
|
Bugs item #873736, was opened at 2004-01-09 13:27 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=873736&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Allen R. Marshall (armarshall) Assigned to: Nobody/Anonymous (nobody) Summary: Connect fails for SMTP host in blast_mail Initial Comment: Perhaps due to some Linux mail system anomaly, but certainly worth trapping, syncmail will not use the localhost directive automatically if a null hostname is passed to the SMTP connect method of smtplib e.g. connect(MAILHOST, MAILPORT).... So, in the syncmail script, one has to initialize MAILHOST explicitly even though localhost is supposed to be the default. The host nullness cannot be addressed in smtplib, it is better addressed in the syncmail script. ---------------------------------------------------------------------- >Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 13:29 Message: Logged In: YES user_id=147690 Related to 865318 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=873736&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 13:27:55
|
Bugs item #873736, was opened at 2004-01-09 13:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=873736&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Allen R. Marshall (armarshall) Assigned to: Nobody/Anonymous (nobody) Summary: Connect fails for SMTP host in blast_mail Initial Comment: Perhaps due to some Linux mail system anomaly, but certainly worth trapping, syncmail will not use the localhost directive automatically if a null hostname is passed to the SMTP connect method of smtplib e.g. connect(MAILHOST, MAILPORT).... So, in the syncmail script, one has to initialize MAILHOST explicitly even though localhost is supposed to be the default. The host nullness cannot be addressed in smtplib, it is better addressed in the syncmail script. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=873736&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:47:05
|
Bugs item #865318, was opened at 2003-12-24 06:47 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=865318&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: tao.lou (taolouis) Assigned to: Nobody/Anonymous (nobody) Summary: A common question!~~ Initial Comment: Generating notification message... Generating notification message... done. [ronger@dniserver wwwroot]$ Traceback (most recent call last): File "/usr/local/dnicvs/CVSROOT/syncmail", line 322, in ? main() File "/usr/local/dnicvs/CVSROOT/syncmail", line 315, in main blast_mail(subject, people, specs[1:], contextlines, fromhost) File "/usr/local/dnicvs/CVSROOT/syncmail", line 221, in blast_mail conn.connect(MAILHOST, MAILPORT) File "/usr/lib/python2.2/smtplib.py", line 276, in connect for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): socket.gaierror: (-3, 'Temporary failure in name resolution') ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:46 Message: Logged In: YES user_id=147690 THIS IS EASY TO FIX. THE STATEMENT IN THE HEADER THAT LOCALHOST WILL BE USED IF NO MAILHOST IS PASSED IS JUST WRONG. EXPLICITLY SET MAILHOST. Also, I think there is a variant of connect that just takes a hostname and no port. That might work better.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=865318&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:43:57
|
Patches item #628075, was opened at 2002-10-24 15:30 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450021&aid=628075&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Thomas Wouters (twouters) Assigned to: Nobody/Anonymous (nobody) Summary: '--ignore=filepattern' option Initial Comment: This patch adds a new argument to syncmail, '-i' ('--ignore'). It takes a glob-like pattern as argument, and ignores all files that match the pattern. It doesn't send diffs for them, and if all files are ignored, doesn't send mail at all (but the subject is currently not altered for ignored files.) - Multiple -i or --ignore arguments can be given to ignore multiple patterns - The usual *, ?, [seq] and [!seq] patternmagic work - '**' matches any number of directories (including 0) - All matching is case sensitive - All filenames are relative to the CVS *module* root - If the pattern contains no '/', the pattern is matched against a file's basename only (so '*.c' as pattern matches all files ending in '.c' in all directories.) - If the pattern ends with a '/', the pattern is matched against dirname only (so 'tmp/' ignores all *files* in tmp/, but not files in subdirectories of tmp/. - Otherwise, the pattern is matched against the whole path, relative to the CVS *module* root. - To match a single file only in the topmost directory (but not files with the same name everywhere) prepend the pattern with './'. The patch includes a _filter_test() function that shows some examples. Problems: - It's not tested to death. The pattern matching magic is tested fairly thoroughly, but the modified script has not seen much use yet. - The '**' logic may be confusing, especially when prepending '**' with something. - The subject isn't modified to reflect ignored files (May be a feature :) - There is no 'IGNORED' indicator in the diff output (Probably a feature :) - The string.split(filespec, ",") now occurs in two places. ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:43 Message: Logged In: YES user_id=147690 Couldn't the .cvsignore files help here? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450021&aid=628075&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:41:48
|
Bugs item #789410, was opened at 2003-08-15 18:36 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=789410&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Fix usage description Initial Comment: The syntax of syncmail when using syncmail --help is incorrect. If we use ./syncmail [options] <%S> email-addr [email-addr..], the collect_diff will fail because it expects the previous and the new version of the file. Correct usage should read: ./syncmail [options] %{sVv} email-addr [email-addr..]. ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:41 Message: Logged In: YES user_id=147690 And, don't allow %{sVvt} until support for t expansion (tags) is implemented. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=789410&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:40:43
|
Bugs item #768243, was opened at 2003-07-09 05:15 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=768243&group_id=47611 Category: None Group: Feature Request Status: Open Resolution: None Priority: 5 Submitted By: Fred L. Drake, Jr. (fdrake) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: configuration file use Initial Comment: syncmail has grown many command line options, and is likely to grow more as functionality improves. Some potential functionality (such as per-branch configuration) is expected to be fairly difficult via the command line. Using a configuration file would make it much easier to configure syncmail. It is most likely that an .ini style configuration file will be used since a (somewhat) suitable parser already exists in the Python standard library. ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:40 Message: Logged In: YES user_id=147690 And, umm, while we are wishing.. 1) Support for cvs tag expansion from loginfo. 2) The assumption that localhost will be used to connect when no explicit MAILHOST is passed in blast_mail didn't hold. I had to force this or I got connect errors. So, improve robustness. 3) No diff option - nice but not always necessary. 4) Improve formatting of email subject from raw material 5) Make/restore a test mode for command line testing. That was hard to do. 6) Allow user to set email debug level on command line. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=768243&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:37:15
|
Bugs item #760429, was opened at 2003-06-25 11:56 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=760429&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Hohmuth (rotofoil) Assigned to: Nobody/Anonymous (nobody) Summary: Error when mail server is unreachable Initial Comment: When the SMTP server is unreacheable, `syncmail' generates an error message like the one appended below. I suggest adding another mail-sending mode that queues the mail using /usr/sbin/sendmail (instead of delivering it via SMTP). Michael Message: Traceback (most recent call last): Message: File "/home/hohmuth/local/var/cvs/CVSROOT/syncmail", line 481, in ? Message: main() Message: File "/home/hohmuth/local/var/cvs/CVSROOT/syncmail", line 474, in main Message: dolinks, specs[0], cvshost, repo) Message: File "/home/hohmuth/local/var/cvs/CVSROOT/syncmail", line 341, in blast_mail Message: conn.connect(MAILHOST, MAILPORT) Message: File "/soft/stow/Python-2.2.2/lib/python2.2/smtplib.py", line 290, in connect Message: raise socket.error, msg Message: socket.error: (79, 'A remote host refused an attempted connect operation.') ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:37 Message: Logged In: YES user_id=147690 The whole connect thing should be in some sort of try finally handler so exceptions that are likely to happen like this one don't just make it puke. ---------------------------------------------------------------------- Comment By: Klaus Johannes Rusch (krusch) Date: 2003-06-27 18:48 Message: Logged In: YES user_id=365576 I believe the enhancement to add an MTA option has been discussed for cvs-syncmail.py and should be fairly simply to implement. The Perl version of cvs-syncmail at http://cvs-syncmail- pl.sourceforge.net/ already has this: -m hostname --mailhost hostname The hostname of an available SMTP server. The default is the value of the environment variable MAILHOST, or the environment variable SMTP_SERVER, or 'localhost'. --mta command Command line to invoke an external mail transfer agent (MTA), such as sendmail. The program should expect a message with SMTP headers and an unescaped message body on stdin. This option overrides any mailhost settings. It would by nice if the Python implementation chose the same parameter format, if possible. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=760429&group_id=47611 |
From: SourceForge.net <no...@so...> - 2004-01-09 03:35:57
|
Bugs item #845767, was opened at 2003-11-20 13:02 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=845767&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Thorsten Kamann (thorque) Assigned to: Nobody/Anonymous (nobody) Summary: Syncmail script produces error Initial Comment: Hello SF-Support, yesterday I setup the syncmail-script to report a commit to a mailinglist for the project centaurus. This function properly...yesterday. Since todays morning there occurs an error: cvs -r ci -m "/Centaurus/project/server/webapps/ROOT/index.htm" Checking in project/server/webapps/ROOT/index.htm; /cvsroot/centaurus/project/server/webapps/ROOT/index.htm,v <-- index.htm new revision: 1.2; previous revision: 1.1 done Mailing cen...@li...... Generating notification message... Generating notification message... done. Mailing cen...@li...... Generating notification message... Traceback (innermost last): File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 322, in ? main() File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 315, in main blast_mail(subject, people, specs[1:], contextlines, fromhost) File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 240, in blast_mail print calculate_diff(file, contextlines) File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 139, in calculate_diff file, oldrev, newrev = string.split(filespec, ',') ValueError: unpack list of wrong size I'm using the Eclipse IDE Version 1.2 on SuSE Linux 8.2 Whats wrong? Best regards Thorsten Kamann ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:35 Message: Logged In: YES user_id=147690 I had this very same problem. It happened because I rashly asked for tag information in my loginof entry e.g. %{sVvt}. This generated, at least on my cvs, a filespec value that had a trailing , since there was no tag information (actually, it did that even when there should have been tag information, which makes me wonder if the cvs commit message thingumee has an issue). I solved it by adding another variable at the referenced line 139 called tag e.g. file, oldrev, newrev, tag = string.split(filespec,','). Problem solved. Smarter people who know Python would know how to trim that bad boy off before it causes this choking. However, it would be WAY DESIRABLE for syncmail to just include the commit-to tag entry, if the user wants it, since it is a legitimate expansion option in loginfo. ---------------------------------------------------------------------- Comment By: Nuno Lopes (nuno-lopes) Date: 2003-11-30 09:27 Message: Logged In: YES user_id=841194 Hi, Syncmail used to work, but today I imported a new module to the cvs repository and it gave me an error: ------------ No conflicts created by this import Mailing php...@li...... Generating notification message... Generating notification message... done. Mailing php...@li...... Generating notification message... Traceback (innermost last): File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 322, in ? main() File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 315, in main blast_mail(subject, people, specs[1:], contextlines, fromhost) File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 240, in blast_mail print calculate_diff(file, contextlines) File "/cvsroot/sitedocs/CVSROOT/cvstools/syncmail", line 139, in calculate_dif f file, oldrev, newrev = string.split(filespec, ',') ValueError: unpack list of wrong size ---------------------- I didn't receive any e-mail for this import. Nuno Lopes ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=845767&group_id=47611 |
From: Euan G. <EGu...@bu...> - 2004-01-08 12:10:27
|