From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8EEE01F45A for ; Sat, 18 Apr 2020 03:38:53 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/8] some small yak shaving things Date: Sat, 18 Apr 2020 03:38:45 +0000 Message-Id: <20200418033853.9798-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Eric Wong (8): inboxwritable: mime_from_path: reuse in more places searchidx: die on cat-file failures inbox: do not memoize description or cloneurl if missing inbox: replace `eval {}' with `do {}' where appropriate favor `do {}' over `eval {}' for localized slurp wwwatomstream: move {emit_header} field to $self mbox: use per-message line-ending for From_ line reduce scope of mbox From_ line removal Documentation/mknews.perl | 2 +- MANIFEST | 4 ++-- lib/PublicInbox/Inbox.pm | 27 ++++++++++++------------ lib/PublicInbox/InboxWritable.pm | 4 ++-- lib/PublicInbox/Mbox.pm | 7 +++++-- lib/PublicInbox/NNTP.pm | 2 ++ lib/PublicInbox/SearchIdx.pm | 14 +++++-------- lib/PublicInbox/WatchMaildir.pm | 6 +++--- lib/PublicInbox/WwwAtomStream.pm | 5 ++--- script/public-inbox-edit | 5 ++--- script/public-inbox-learn | 6 +++--- script/public-inbox-mda | 2 +- script/public-inbox-purge | 2 +- scripts/import_maildir | 4 ++-- scripts/import_slrnspool | 2 +- scripts/slrnspool2maildir | 2 +- scripts/ssoma-replay | 5 +---- t/inbox.t | 19 +++++++++++++++++ t/{iso-2202-jp.mbox => iso-2202-jp.eml} | 1 - t/mda.t | 10 ++++----- t/msg_iter.t | 18 ++++++---------- t/nntpd-tls.t | 8 +++---- t/psgi_v2.t | 28 ++++++++++++++++--------- t/search.t | 12 ++++------- t/solver_git.t | 4 ++-- t/{utf8.mbox => utf8.eml} | 1 - t/v2reindex.t | 3 +-- t/watch_maildir_v2.t | 2 +- 28 files changed, 105 insertions(+), 100 deletions(-) rename t/{iso-2202-jp.mbox => iso-2202-jp.eml} (84%) rename t/{utf8.mbox => utf8.eml} (90%)