user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@yhbt.net>
To: meta@public-inbox.org
Subject: [PATCH 0/3] remove Email::MIME->create use
Date: Sat, 25 Apr 2020 05:52:20 +0000	[thread overview]
Message-ID: <20200425055223.21879-1-e@yhbt.net> (raw)

Instead, I used Email::MIME->create for a final time with [1/3]
to generate the data for [2/3].  Reducing dependencies on
Email::MIME will make it easier for us to switch it out with
a potentially better alternative.

Eric Wong (3):
  testcommon: introduce mime_load sub
  tests: remove Email::MIME->create use entirely
  tests: replace mime_from_path with mime_load

 MANIFEST                      | 12 ++++++++
 lib/PublicInbox/TestCommon.pm |  8 +++++-
 t/filter_base-junk.eml        | 19 +++++++++++++
 t/filter_base-xhtml.eml       | 19 +++++++++++++
 t/filter_base.t               | 53 ++---------------------------------
 t/filter_mirror.t             | 30 ++------------------
 t/mda-mime.eml                | 21 ++++++++++++++
 t/mda.t                       | 37 ++----------------------
 t/msg_iter-nested.eml         | 26 +++++++++++++++++
 t/msg_iter-order.eml          | 16 +++++++++++
 t/msg_iter.t                  | 24 ++++------------
 t/nntpd-tls.t                 |  4 +--
 t/plack-2-txt-bodies.eml      | 17 +++++++++++
 t/plack-attached-patch.eml    | 20 +++++++++++++
 t/plack-qp.eml                |  8 ++++++
 t/plack.t                     | 53 ++---------------------------------
 t/psgi_attach.eml             | 38 +++++++++++++++++++++++++
 t/psgi_attach.t               | 44 ++---------------------------
 t/psgi_v2-new.eml             | 17 +++++++++++
 t/psgi_v2-old.eml             | 17 +++++++++++
 t/psgi_v2.t                   | 22 ++-------------
 t/search-amsg.eml             | 23 +++++++++++++++
 t/search.t                    | 36 ++----------------------
 t/solver_git.t                |  4 +--
 24 files changed, 286 insertions(+), 282 deletions(-)
 create mode 100644 t/filter_base-junk.eml
 create mode 100644 t/filter_base-xhtml.eml
 create mode 100644 t/mda-mime.eml
 create mode 100644 t/msg_iter-nested.eml
 create mode 100644 t/msg_iter-order.eml
 create mode 100644 t/plack-2-txt-bodies.eml
 create mode 100644 t/plack-attached-patch.eml
 create mode 100644 t/plack-qp.eml
 create mode 100644 t/psgi_attach.eml
 create mode 100644 t/psgi_v2-new.eml
 create mode 100644 t/psgi_v2-old.eml
 create mode 100644 t/search-amsg.eml


             reply	other threads:[~2020-04-25  5:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-25  5:52 Eric Wong [this message]
2020-04-25  5:52 ` [PATCH 1/3] testcommon: introduce mime_load sub Eric Wong
2020-04-25  5:52 ` [PATCH 2/3] tests: remove Email::MIME->create use entirely Eric Wong
2020-04-25  5:52 ` [PATCH 3/3] tests: replace mime_from_path with mime_load Eric Wong
2020-04-26  7:35 ` [PATCH 4/3] testcommon: mime_load: drop extra $cb arg Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200425055223.21879-1-e@yhbt.net \
    --to=e@yhbt.net \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).