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

Re: [sup-devel] [PATCH] add sup-import-dump: import message state in sup-dump format



Excerpts from Nicolas Pouillard's message of Thu Jan 20 16:28:17 +0100 2011:

> So it does not clear the index, right? It only assign the set of labels to the
> given message. Just what I need to upgrade my sup index with my notmuch index.

Yes, that's exactly the purpose (except that I'm using it to synchronise
two sup installations, not sup and notmuch).

> > It should also be easy enough to add support for a "diff" style format that
> > would allow replaying "logs" if sup were enhanced to write those in the
> > future.

> Please do.

Eventually I will, but I don't know when I'll get around to do it.

> I hacked such a logging feature [1] in the past [...]

Nice! Looks like the only other places (besides sync_message) that write
to the index are delete and delete_message (the latter is part of a
not-yet-upstreamed patch of mine). Looks like the hardest part will
actually be adding the configuration option for the file name (with
support for a date template). ;)


> [1]: http://gitorious.org/~ertai/sup/clone-by-ertai/commits/to-submit-log-labels-mapping

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: PGP signature

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