[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] conduit ordering
On Mon, 28 Jan 2002, Adam McDaniel wrote:
> I'm curious if there is anyway I can customize the order the conduits
> run on coldsync?
>
> IE, default is install, fetch, sync, dump. There is a -z flag which
> moves install to right after sync, but is there any way to get more
> control over this?
Not directly. The way to say "only run dump conduits" is to say
"don't run any fetch conduits; don't run any sync conduits", which you
express as follows:
conduit Fetch {
final;
}
conduit Sync {
final;
}
For each conduit flavor, for each database, ColdSync just runs through the
conduits in the order in which they're listed in .coldsyncrc (which is why
I think of it as a very small and specialized programming language, rather
than a config file).
You can't tell ahead of time in which order the different
databases will be processed, but you can determine in which order the
conduits for a given database will be run.
--
Andrew Arensburger Actually, these _do_ represent the
arensb@ooblick.com opinions of ooblick.com!
Generic Tagline V 6.01
--
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.