]> Sergey Matveev's repositories - public-inbox.git/commit
lei export-kw: support exporting keywords to IMAP
authorEric Wong <e@80x24.org>
Sun, 23 May 2021 01:38:27 +0000 (01:38 +0000)
committerEric Wong <e@80x24.org>
Sun, 23 May 2021 19:35:06 +0000 (19:35 +0000)
commitec6d2dc31406378f77aa681017083fe8e98b4df9
treecd28d18444ce44b438609bb305d8e4e3886fea61
parent22a88de70a33ab34b6dc52d8bf5fb8b4fa3ee66f
lei export-kw: support exporting keywords to IMAP

We support writing to IMAP stores in other places (just like
Maildir), and it's actually less complex for us to write to
IMAP.  Neither usability nor performance is ideal, but usability
will be addressed in the next commit to relax CLI argument
checking.

Performance is poor due to the synchronous Mail::IMAPClient
API and will need to be addressed with pipelining sometime
further in the future.
lib/PublicInbox/LeiExportKw.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/NetWriter.pm
xt/net_writer-imap.t