]> Sergey Matveev's repositories - public-inbox.git/commit
lei_store: keywords => vmd (volatile metadata), prepare for labels
authorEric Wong <e@80x24.org>
Wed, 17 Mar 2021 09:39:22 +0000 (15:39 +0600)
committerEric Wong <e@80x24.org>
Wed, 17 Mar 2021 19:03:15 +0000 (19:03 +0000)
commit86f7b16ee50081d4eed779372ccc198d8a1770dc
tree6af5a9310cce2ceace5bcc431f0adb93b1b57945
parent4c6c853494b4936825741bb5e8885f1312639058
lei_store: keywords => vmd (volatile metadata), prepare for labels

Since keywords and mailboxes (AKA labels) are separate things in
JMAP; and only keywords can map reliably to Maildir and mbox;
we'll keep them separate in our internal data representations,
too.

I initially wanted to call this just "meta" for "metadata", but
that might be confused with our mailing list name.  "metadata"
is already used in Xapian's own API, to add another layer of
confusion.

"tags" was also considered, but probably confusing to notmuch
users since our "labels" are analogous to "tags" in notmuch,
and notmuch doesn't seem to cover "keywords" separately...

So "vmd" it is, since we haven't used this particular
three-letter-abbreviation anywhere before; and "volatile" seems
like a good description of this metadata since everything else
up to this point has been mostly WORM (write-once, read-many).
Documentation/public-inbox-glossary.pod
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/SearchIdx.pm
t/lei_store.t