]> Sergey Matveev's repositories - public-inbox.git/commit
lei import|lcat: improve+fix single message IMAP support
authorEric Wong <e@80x24.org>
Sat, 29 May 2021 20:20:38 +0000 (20:20 +0000)
committerEric Wong <e@80x24.org>
Sun, 30 May 2021 05:02:41 +0000 (05:02 +0000)
commit528d69bbbda3cd26d9cc317eff92d21d980b2056
tree2d49a4e6cfcc4fd61ffa98ca431619277a1cf606
parent8299d33f315ec2f923dd8b9b45f49403af5912aa
lei import|lcat: improve+fix single message IMAP support

lcat can now dump the memoized contents of entire IMAP folders,
not just a single UID.  It's now parallelized and pipelined for
multiple lei2mail workers.

Furthemore, various forms of JSON output work consistently
with blob-only output, now.

While working on this, I noticed NetReader was passing UID URLs
to imap_each callbacks, which was causing mail_sync.sqlite3 to
store UIDs in `folders' and clearly wrong so it's now fixed.
lib/PublicInbox/LeiLcat.pm
lib/PublicInbox/LeiMailSync.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/NetReader.pm
t/lei-import-imap.t