]> Sergey Matveev's repositories - public-inbox.git/commit
lei: split out MdirReader package, lazy-require earlier
authorEric Wong <e@80x24.org>
Tue, 9 Feb 2021 08:09:31 +0000 (07:09 -0100)
committerEric Wong <e@80x24.org>
Wed, 10 Feb 2021 06:59:04 +0000 (06:59 +0000)
commit550c69496caa3c61188c645b536ec3c4c3ade70a
tree1549ed902240a5ef5d6dec237e7da340d2ceeb98
parentc57dc1468102aab386ed5dd3ae03d37f5b793aaa
lei: split out MdirReader package, lazy-require earlier

We'll do more requires in the top-level lei-daemon process to
save work in workers.  We can also work towards aborting on
user errors in lei-daemon rather than worker processes.

"lei import -f mbox*" is finally tested inside t/lei_to_mail.t
MANIFEST
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/MdirReader.pm [new file with mode: 0644]
lib/PublicInbox/TestCommon.pm
t/lei-import.t
t/lei_to_mail.t