[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] syncing of creation/modification dates
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] syncing of creation/modification dates
- From: Pierre Phaneuf <pp at ludusdesign dot com>
- Date: Wed, 16 Oct 2002 07:27:51 -0400
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826
I'm in the process of writing a Plucker fetch conduit, and it is working
pretty nicely, except for one thing...
Plucker creates a cache file on the Palm during usage, and updating a
Plucker document should invalidates this cache. The problem is that
Plucker invalidates that cache when the creation date on a document
changes, but neither the creation or the modification date are updated
by the generic conduit!
I could go and add this in GenericConduit.cc, but I wanted to check
first if that would be the best way to go at it.
Another more general idea for conduits would be to have a "declined"
return code for sync conduits, a bit in the spirit of Apache handlers,
so that you could do some work, but not all, and let other conduits
(like the generic conduit!) have at it. This would make a sync conduit
that updates the creation date and then does a regular sync very easy
and not require adding the behavior to the generic conduit.
--
Pierre Phaneuf
http://advogato.org/person/pphaneuf/
--
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.