[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] New snapshot: coldsync-2.2.2-20011012



	I've uploaded a new snapshot, of ColdSync 2.2.2. It's at
http://www.ooblick.com/software/coldsync/coldsync-2.2.2-20011012.tar.gz
	Disclaimer: the new stuff hasn't been extensively tested;
consider new features to be of alpha quality.
	This new version contains a lot of good stuff contributed by
Fred Gylys-Colwell. I haven't had a chance to update the ChangeLog or
NEWS files, but in brief:

	- .coldsyncrc can now take an options{} block, in which you
	  can specify options and variables. (Hm. Now that I think
	  about it, It would be nice to distinguish between options
	  and variables, so don't take the syntax as being set in
	  stone.)
	- Double-quoted strings that work the way you'd expect: \n,
	  \t, \r, etc. all work, as does sh-style variable
	  interpolation.
	- ${CONDUIT_PATH} is a colon-separated list of directories in
	  which to look for conduits. ${CONDUITDIR} is the directory
	  where conduits are installed (and defaults to the directory
	  given by --with-conduits=DIR at configure-time).
		An empty component in ${CONDUIT_PATH} means "the usual
	  places". In this case, ${CONDUITDIR}, though this may be
	  expanded in future versions.

	Thus, you can have the following:

	options {
		CONDUITDIR:	"/conduits";
		CONDUIT_PATH:	"/foo:/bar:";
		MY_NAME:	"Andrew Arensburger";
	}

	conduit dump {
		type:	mail/DATA;
		path:	mail-conduit;
	    arguments:
		Signature:
	"${MY_NAME}\t\t\"Hello, world!\"\
	Sent from my PDA";
	}

Since the path "mail-conduit" doesn't contain a slash, ColdSync will
first look for "/foo/mail-conduit", then "/bar/mail-conduit". The last
path component is empty, so it'll use ${CONDUITDIR} and look for
"/conduits/mail-conduit".
	At least, that's the intention. As I said above, this is all
likely to be a bit buggy (blame me, not Fred).

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com                      views of ooblick.com
     Do you want to make people's heads explode? Sure! We all do!
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.