]> Sergey Matveev's repositories - public-inbox.git/commit
lei export-kw: skip read-only IMAP folders
authorEric Wong <e@80x24.org>
Sun, 24 Oct 2021 00:20:40 +0000 (18:20 -0600)
committerEric Wong <e@80x24.org>
Sun, 24 Oct 2021 02:20:33 +0000 (02:20 +0000)
commitf59ac79a64759396ce484616393cdad18d431a57
tree397b6741fb77b9ce6250ae6b1dd78e477c928047
parentcb04d2ddfd53c36eaf1a49cadb8158ae76622683
lei export-kw: skip read-only IMAP folders

Since we want to store IMAP flags asynchronously and not wait
for results, we can't check for IMAP errors this way and end up
wasting bandwidth on public-inbox-imapd.  Now, we just check
PERMANENTFLAGS up front to ensure a folder can handle IMAP flag
storage before proceeding.
lib/PublicInbox/LeiExportKw.pm
lib/PublicInbox/NetWriter.pm
t/lei-export-kw.t
t/lei-import-imap.t