]> Sergey Matveev's repositories - public-inbox.git/commit
lei_store: keyword extraction from mbox and Maildir
authorEric Wong <e@80x24.org>
Thu, 17 Dec 2020 09:20:29 +0000 (09:20 +0000)
committerEric Wong <e@80x24.org>
Sat, 19 Dec 2020 09:32:08 +0000 (09:32 +0000)
commit68fea5b055787c65f0e7164cbd5463f140382ea9
tree0e8b5ad1be8ef73f6d5570d61cb94fd781bfe955
parent2b3e0878f79efcfce1f572f5f57eb51dc3a0b370
lei_store: keyword extraction from mbox and Maildir

Dovecot, mutt, and likely much other software support mbox
Status/X-Status headers.  Ensure we have a way to extract these
headers as JMAP-compatible keywords before removing them for git
storage.

->add_eml now accepts setting keywords at import time,
and will probably be called like this:

$lst->add_eml($eml, $lst->mbox_keywords($eml));
$lst->add_eml($eml, $lst->maildir_keywords($fn));
lib/PublicInbox/LeiStore.pm
t/lei_store.t