]> Sergey Matveev's repositories - public-inbox.git/commit
use Eml (or MIME) objects for all indexing paths
authorEric Wong <e@80x24.org>
Sun, 3 Jan 2021 02:06:15 +0000 (02:06 +0000)
committerEric Wong <e@80x24.org>
Sun, 3 Jan 2021 18:30:31 +0000 (18:30 +0000)
commit71461c67fee940b05309baa8c67bac10c8c51ac6
tree07ab30ed55e4bd62ab2022167e14e0ae09bb43ad
parent323d8bac125e89a76c904a54a7ae0b2e36f05cc6
use Eml (or MIME) objects for all indexing paths

We don't need to be keeping the raw message around after it hits
git.  Shard work now relies on Storable (or Sereal) and all of
the indexing code relies on the Email::MIME-like API of Eml to
access interesting parts of the message.

Similarly, smsg->{raw_bytes} is no longer carried around and we
do the CRLF adjustment when setting smsg->{bytes}.

There's also a small simplification to t/import.t while
we're in the area to use xqx instead of spawn/popen_rd.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/Import.pm
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/Smsg.pm
lib/PublicInbox/V2Writable.pm
t/import.t
t/search.t