2004-04-19 11:58  fdrake

	* syncmail: fix typo

2004-03-12 15:52  bwarsaw

	* syncmail: blah.  $Revision$ not $Id$

2004-03-12 15:51  bwarsaw

	* syncmail: 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.

2004-03-12 15:51  bwarsaw

	* syncmail: intermediate

2004-03-12 15:49  bwarsaw

	* syncmail: copyright years

2004-03-12 15:48  bwarsaw

	* syncmail: 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

2004-01-23 08:57  fdrake

	* syncmail: bump the version number, since we changed the support
	level for ancient versions of Python

2004-01-23 08:51  fdrake

	* syncmail: 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

2003-08-07 10:41  fdrake

	* branchctl: add ability to present a useful message for closed
	branches

2003-07-21 12:09  fdrake

	* doc/: branchctl.1, branchctl.sgml: Manual page for branchctl.

2003-07-15 11:42  fdrake

	* sample.conf, syncmail.conf: Rename syncmail.conf to sample.conf
	since it is only intended as a sample, not as a template.

2003-07-15 11:42  fdrake

	* sample.conf: file sample.conf was initially added on branch
	new-config-branch.

2003-07-15 10:13  fdrake

	* doc/: syncmail.1, syncmail.sgml: Use normal case for section
	headings; stylesheets can transform if desired.

2003-07-14 12:23  fdrake

	* doc/syncmail.sgml: Remove the "required" indicators from
	positional command-line arguments; nothing is absolutely required
	if the config file provides enough information.

2003-07-14 12:12  fdrake

	* syncmail: - update commented-out code

2003-07-14 12:11  fdrake

	* branchctl: - update commented-out code - remove function that
	isn't used in this script

2003-07-14 11:01  fdrake

	* syncmail: Merge in many changes and refactorings based on the
	development of branchctl.

2003-07-14 10:49  fdrake

	* branchctl: This time, actually copy in the tested, working
	version of the script from my test repository.

2003-07-14 10:30  fdrake

	* branchctl: Script which controls the use of branches within a CVS
	repository.
	
	For each branch (including the trunk), two controls are available:
	whether the branch is open for commits, and whether commits
	involving that branch and any other should be permitted.  Both
	default to true since that's the normal CVS behavior.
	
	Much of this code is based on the new-config-branch version of
	syncmail, and allowed portions of that to be tested in a simpler
	environment.

2003-07-11 12:47  fdrake

	* syncmail: - clean up code to look for files in the CVSROOT
	directory - look for config files named on the command line in the
	CVSROOT   directory - remove XXX comment that is addressed by these
	changes

2003-07-11 12:39  fdrake

	* syncmail: refactor to make it easier to get the configuration
	data for separate branches without re-loading the configuration
	file

2003-07-11 12:23  fdrake

	* syncmail.conf: cvsroot will not be a setting in the configuration
	file

2003-07-11 11:51  fdrake

	* syncmail: we only need to set SECTCRE, not OPTCRE

2003-07-11 11:41  fdrake

	* syncmail: - clean up the tagdate field from the CVS/Entries file
	- add a note about the non-support of cross-branch commits (applies
	  only to this branch; the trunk is fine since it doesn't care
	about	branches)

2003-07-11 11:21  fdrake

	* syncmail: - move loading of the repository directory into
	Options.__init__() - add check that we actually have email
	addresses to send to - update and re-wrap a comment

2003-07-10 22:26  fdrake

	* tests.py: Move the tests to a subdir, and make them use a proxy
	module that deals with loading code from the syncmail script.  This
	provides better namespace isolation between syncmail and the tests.

2003-07-10 16:15  fdrake

	* syncmail: Use rcsdiff instead of cvs diff to generate diffs.

2003-07-10 16:03  fdrake

	* syncmail: Slightly better type checking.

2003-07-10 15:44  fdrake

	* syncmail: Update explanations of the positional arguments on the
	command line.

2003-07-10 15:40  fdrake

	* syncmail: Add documentation for --config and --no-config in the
	help text.

2003-07-10 12:48  fdrake

	* syncmail, tests.py: Various small corrections and
	simplifications.

2003-07-10 10:56  fdrake

	* syncmail: Check that diff-type in the config file has a valid
	value.

2003-07-10 10:52  fdrake

	* syncmail, tests.py: Be more careful not to set an option more
	than once from the command line.

2003-07-10 08:26  fdrake

	* syncmail: Before generated the diffs, sort the change records by
	name so they are presented in a predictable order.

2003-07-10 08:08  fdrake

	* doc/syncmail.sgml: Added documentation for the new command line
	options used to select the configuration file.	The file format
	remains undocumented.

2003-07-10 06:56  fdrake

	* syncmail, tests.py: Move the setting of options from main() to a
	helper object.	All options are attributes of the object; no more
	global variables!

2003-07-10 00:08  fdrake

	* syncmail: load_cmdline():  Update the options passed to getopt(),
	and handle		    --config and --no-config as described
	in the			strawman.

2003-07-09 23:40  fdrake

	* tests.py: file tests.py was initially added on branch
	new-config-branch.

2003-07-09 23:40  fdrake

	* syncmail, syncmail.conf, tests.py: Checkpoint work on the new
	configuration support.	Not currently usable, but I want to make
	sure I do not lose the changes.

2003-07-09 23:40  fdrake

	* syncmail.conf: file syncmail.conf was initially added on branch
	new-config-branch.

2003-07-09 17:13  fdrake

	* syncmail: Delay loading information from the CVS work directory
	until we actually expect to send an email.

2003-07-09 15:26  fdrake

	* syncmail: - bug in yesterday's Date: header patch:  time.gmtime()
	requires arg   in older versions of Python

2003-07-09 15:01  fdrake

	* LICENSE: update copyright dates

2003-07-09 14:48  fdrake

	* syncmail: update copyright dates

2003-07-09 14:38  fdrake

	* syncmail: Fix stupid bug in revision 1.32: only refer to CVSEntry
	attributes that actually exist.
	
	Lots of changes working toword support for multi-directory commit
	emails, but we hit a roadblock: CVS writes the needed meta-data to
	only one directory at a time, not all of them.

2003-07-09 11:37  fdrake

	* syncmail: When Entries.Log doesn't tell us anything about a file,
	remove it from the entries we care about and print a message; don't
	bomb.

2003-07-08 22:54  fdrake

	* syncmail: Massive changes to the way we determine what diffs to
	generate: - read the CVS/Entries and CVS/Entries.Log files from the
	temporary   workspace on the server; these provide all the
	information we need   to determine what the filenames are and which
	revisions should be   used to generate diffs - as a side effect, we
	can deal with any character in a filename   except '/' and '\n';
	closes SF issue #608641 - add a helper function that can determine
	the branch name (not yet   used to any effect)

2003-07-08 15:20  fdrake

	* doc/: syncmail.1, syncmail.sgml: Update manpage to include
	--mailhost/-m, --reply-to/-R, --subject-prefix/-S, and make the
	--help/-h description make sense.  Fixes
	http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=186358

2003-07-08 11:57  fdrake

	* syncmail: Added Date: header to generated emails; not all MTAs
	will add that.

2003-04-08 13:15  fdrake

	* doc/syncmail.1: Update generated man page to reflect
	syncmail.sgml 1.2.

2003-04-08 13:12  fdrake

	* doc/syncmail.sgml: Add information about a couple of other
	projects that provide similar functionality.

2003-03-18 08:13  fdrake

	* syncmail: Fix error when the loginfo contains a replacement of %s
	instead of %{sVv}: just don't produce a diff.  This also allows
	commas in filenames when %{sVv} is used.

2003-03-14 14:32  fdrake

	* syncmail: Fix Python 1.5.2 compatibility: avoid string methods. 
	Closes SF bug #696462.

2003-01-16 00:11  fdrake

	* syncmail: - hackish setting of MAILHOST from the command line -
	add comment about needing option handling overhaul

2002-11-15 13:51  gward

	* syncmail: Docstring typo fix.  Whitespace fixes.

2002-11-14 09:15  fdrake

	* syncmail: Add a couple of comments, since I don't look at this
	very often.  ;-)

2002-11-11 10:42  gward

	* syncmail: Add quotename() and rfc822_specials_re so we only quote
	real names in the "From" header when we really need to.  Fixes SF
	bug #592836.

2002-11-08 15:01  bwarsaw

	* syncmail, README: Add a copyright notice and a pointer to the
	LICENSE file.  I really don't want to include the whole LICENSE
	file as a comment in this file.

2002-11-08 14:58  bwarsaw

	* LICENSE: A BSD-ish license.

2002-11-07 08:02  gward

	* syncmail: Added -R/--reply-to option, and extended blast_mail()
	accordingly.

2002-09-19 13:30  fdrake

	* syncmail: Fix typo in docstring.

2002-08-05 16:31  gward

	* syncmail: Change default value of MAILHOST to 'localhost'.  This
	seems to be necessary to work with Python 2.2, because smtplib in
	2.2 uses the new socket.getaddrinfo() function, and that function
	doesn't handle the empty string (at least not on Linux or FreeBSD).
	 Closes SF bug #571061.

2002-07-31 05:45  fdrake

	* syncmail: SF bug #577448: bad From: headers generated
	
	Cleans up extra cruft some systems store with the users
	natural-language name in the passwd file.  Quote the result to
	avoid problems with illegal characters in unquoted portions of RFC
	2822 headers.

2002-07-30 14:29  fdrake

	* syncmail: Be slightly more flexible when importing; only check
	the last 3 elements in the command line, not the whole thing, since
	there may be a directory name as well.	Closes SF bug #547401.

2002-07-08 13:28  gward

	* syncmail: Added -S/--subject-prefix option: lets caller supply a
	string that is prepended to the subject line of the generated email
	message.

2002-05-23 14:21  bwarsaw

	* syncmail: Bump version to 1.2.
	
	blast_mail(): Substitution typo.

2002-05-23 13:55  bwarsaw

	* syncmail: Trying again.

2002-05-23 13:45  bwarsaw

	* syncmail: blast_mail(): Sebastian Ude's patch to include the
	realname of the developer.

2002-05-23 11:52  bwarsaw

	* syncmail: Add an X-Mailer: header.

2002-05-03 15:30  bwarsaw

	* README: A simple README file.

2002-05-03 14:37  fdrake

	* doc/: syncmail.1, syncmail.sgml: Man page for syncmail.

2002-05-03 13:10  fdrake

	* doc/.cvsignore: Ignore docbook2man turds.

2002-05-02 13:25  bwarsaw

	* syncmail: This is the real test of what we just committed to the
	CVSROOT of the project.  Sigh.
	
	Yummy, yummy dogfood.
	
	We're testing our new changes out on ourselves before unleashing it
	on the world.  Specific changes include:
	
	- some code cleanup
	
	- getdomain() -> getfqdn() which for more modern versions of Python
	is   just socket.getfqdn().  Semantic change: by default mail
	appears to   come from user@fqdn.dom.ain unless overridden by the
	--fromhost/-f	option.  (We used to lop off the first part of the
	fqdn... no   longer).
	
	- blast_mail(): Take fromhost on the arg list and use it if it is
	not   false.  Otherwise, use getfqdn().
	
	- main(): Add support for the -f/--fromhost argument, passing it
	along	to blast_mail().

2002-04-10 15:36  zooko

	* syncmail:  * security patch: be careful to quote, escape, or
	reject dangerous parts of the file spec before passing it to
	os.popen

2002-04-10 15:03  bwarsaw

	* syncmail: calculate_diff(): Ouch typo!

2002-04-08 11:24  bwarsaw

	* syncmail: calculate_diffs(): Don't let control character
	whitespace like TAB trip up the "is this binary" test.

2002-04-03 13:15  bwarsaw

	* syncmail: innocuous checkin for testing

2002-04-03 12:58  bwarsaw

	* syncmail: getdomain(): Use byaddr[0] instead of aliases[0] ;)

2002-04-03 12:25  bwarsaw

	* syncmail: More Python 2.x eradication

2002-04-03 12:15  bwarsaw

	* syncmail: Blarg.  Forgot a string method.

2002-04-03 12:13  bwarsaw

	* syncmail: Sigh, sigh, sigh.  The SF cvs servers only have Python
	1.5.2

2002-04-03 11:58  bwarsaw

	* syncmail: Merges in some changes from the pydotorg project's
	version.  Specifically, it uses string methods now (Python 2.0 at
	least, required), and it uses a direct smtplib connection instead
	of mucking about with /bin/mail.

2002-03-15 08:36  fdrake

	* syncmail: Fix check for binary-ness to ignore line endings.

2002-03-01 06:59  fdrake

	* syncmail: Added syncmail script.  This is a modified version of
	the syncmail being used with Python, with an additional attempt to
	determine whether a file being added is binary (untested).

