From: Petter Reinholdtsen Date: Thu, 1 Nov 2018 07:07:51 +0000 (+0100) Subject: New post. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/0a20fe3a9855e82ea0888e4f50c3c4d35e1d0e5d New post. --- diff --git a/blog/data/2018-11-01-patch-mime-type.txt b/blog/data/2018-11-01-patch-mime-type.txt new file mode 100644 index 0000000000..2040219bb5 --- /dev/null +++ b/blog/data/2018-11-01-patch-mime-type.txt @@ -0,0 +1,33 @@ +Title: Time for an official MIME type for patches? +Tags: english, debian, standard +Date: 2018-11-01 08:15 + +

As part of my involvement in +the Nikita +archive API project, I've been importing a fairly large lump of +emails into a test instance of the archive to see how well this would +go. I picked a subset of my +notmuch email database, all public emails sent to me via +@lists.debian.org, giving me a set of around 216 000 emails to import. +In the process, I had a look at the various attachments included in +these emails, to figure out what to do with attachments, and noticed +that one of the most common attachment formats do not have +an +official MIME type registered with IANA/IETF. The output from +diff, ie the input for patch, is on the top 10 list of formats +included in these emails. At the moment people seem to use either +text/x-patch or text/x-diff, but neither is officially registered. It +would be better if one official MIME type were registered and used +everywhere.

+ +

To try to get one official MIME type for these files, I've brought +up the topic on +the +media-types mailing list. If you are interested in discussion +which MIME type to use as the official for patch files, or involved in +making software using a MIME type for patches, perhaps you would like +to join the discussion?

+ +

As usual, if you use Bitcoin and want to show your support of my +activities, please send Bitcoin donations to my address +15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.