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

Re: [sup-devel] Adding backward synchronization for Maildir sources



Hello Edward,

> 1. Suppose we decide to test your branch, and run into some show-stopper
>    bugs.  What’s the procedure for backing out changes?

You should backup your Maildir directories and your xapian index, this
is what I did and if something goes wrong I can still restore my
backups and run offlineimap to resynch everything as it was before on
the IMAP server.

But for my initial tests I used a test Maildir containing nothing
important so maybe this is what you should do. ;)

> 2. What precisely are the semantics for handling Sup labels?

I followed the Maildir documentation [0]. When synching a message, Sup
builds the flags string and relink the file to the disk, moving it
from new/ to cur/ or vice versa if needed.

Related labels are: unread, replied, forwarded, deleted, draft (but it
won't work for now because draft messages in Sup are handled
separately), flagged (aka starred).

Every other labels are ignored because not supported.

[0] http://cr.yp.to/proto/maildir.html

--
Damien Leone <damien.leone@fensalir.fr>

Web: http://dleone.fensalir.fr/
GPG: 0x82EB4DDF

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel