]> Sergey Matveev's repositories - public-inbox.git/commit
lei_store: local storage for Local Email Interface
authorEric Wong <e@80x24.org>
Mon, 14 Dec 2020 11:42:40 +0000 (11:42 +0000)
committerEric Wong <e@80x24.org>
Sat, 19 Dec 2020 09:32:08 +0000 (09:32 +0000)
commit6cdb84af2c75b3c66a35c8c4973f455da15dd0a4
tree3069edc4159050252f1a6d15295b01a566f367d2
parent478a8d308d952af5ae957136c2ab09455f2a767c
lei_store: local storage for Local Email Interface

Still unstable, this builds off the equally unstable extindex :P

This will be used for caching/memoization of traditional mail
stores (IMAP, Maildir, etc) while providing indexing via Xapian,
along with compression, and checksumming from git.

Most notably, this adds the ability to add/remove per-message
keywords (draft, seen, flagged, answered) as described in the
JMAP specification (RFC 8621 section 4.1.1).

We'll use `.' (a single period) as an $eidx_key since it's an
invalid {inboxdir} or {newsgroup} name.
12 files changed:
MANIFEST
lib/PublicInbox/ExtSearch.pm
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/Import.pm
lib/PublicInbox/LeiDaemon.pm
lib/PublicInbox/LeiSearch.pm [new file with mode: 0644]
lib/PublicInbox/LeiStore.pm [new file with mode: 0644]
lib/PublicInbox/OverIdx.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchIdxShard.pm
lib/PublicInbox/V2Writable.pm
t/lei_store.t [new file with mode: 0644]