Re: [media-types] Mime type for patch files?
Petter Reinholdtsen <pere@hungry.com> Thu, 01 November 2018 06:42 UTC
Return-Path: <pere@hungry.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0863130DE1 for <media-types@ietfa.amsl.com>; Wed, 31 Oct 2018 23:42:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EdFVUKZ3yxq2 for <media-types@ietfa.amsl.com>; Wed, 31 Oct 2018 23:42:44 -0700 (PDT)
Received: from ryder.getmail.no (ryder.getmail.no [84.210.184.14]) by ietfa.amsl.com (Postfix) with ESMTP id 01BC0124C04 for <media-types@ietf.org>; Wed, 31 Oct 2018 23:42:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by ryder.getmail.no (Postfix) with ESMTP id BB2A862C83; Thu, 1 Nov 2018 07:42:37 +0100 (CET)
Received: from ryder.getmail.no ([127.0.0.1]) by localhost (ryder.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ifpuIkM-UBqq; Thu, 1 Nov 2018 07:42:37 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by ryder.getmail.no (Postfix) with ESMTP id 2FED162C6C; Thu, 1 Nov 2018 07:42:37 +0100 (CET)
X-Virus-Scanned: amavisd-new at ryder.getmail.no
Received: from ryder.getmail.no ([127.0.0.1]) by localhost (ryder.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JHJnBEY0taI6; Thu, 1 Nov 2018 07:42:37 +0100 (CET)
Received: from hjemme.reinholdtsen.name (cm-84.212.222.24.getinternet.no [84.212.222.24]) by ryder.getmail.no (Postfix) with SMTP id 0D1B062C83; Thu, 1 Nov 2018 07:42:37 +0100 (CET)
Received: (nullmailer pid 9413 invoked by uid 10001); Thu, 01 Nov 2018 06:42:36 -0000
From: Petter Reinholdtsen <pere@hungry.com>
To: media-types@ietf.org
In-Reply-To: <20181031102655.GI17721@w3.org>
References: <sa67ehyzo3s.fsf@meta.reinholdtsen.name> <20181031102655.GI17721@w3.org>
Date: Thu, 01 Nov 2018 07:42:36 +0100
Message-ID: <sa6y3adnvs3.fsf@meta.reinholdtsen.name>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/gjEEZCPte753YIJ7cHOHZz-Bgas>
Subject: Re: [media-types] Mime type for patch files?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Nov 2018 06:42:48 -0000
[Eric Prud'hommeaux] > I think this negotiation must happen with the tool maintainers which > currently recognize text/x-{patch,diff}. Given that that's probably > impossible, the answer is almost certainly that you are stuck with > "x-". Thanks for picking this up. I have no idea how to identify the tool maintainers which currently recognize text/x-{patch,diff}. Perhaps at least the maintainers of http://www.gnu.org/software/diffutils/ and http://savannah.gnu.org/projects/patch/ are relevant contributors to such discussion? They do not really use or recognice MIME types, being command line tools, but are responsible for the typical producer and consumer of these files. On Debian systems, text/x-patch and text/x-diff are set to be aliases for each other, with text/x-patch being the primary one, according to the /usr/share/mime/packages/freedesktop.org.xml file provided by the shared-mime-info package. I guess this provide one data point for preferring text/x-patch over text/x-diff as the official MIME type. Personally I would prefer to move to text/patch for the official MIME type as diff produces a patch in text format, which I believe text/patch expresses better than any of the alternatives. I notice you mention application/*. Is not text/* a better choice, given that for example patches in emails could be shown directly in the email and do not need a "viewer" to be readable to those of us receiving patches? -- Happy hacking Petter Reinholdtsen
- [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Eric Prud'hommeaux
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Clemens Ladisch
- Re: [media-types] Mime type for patch files? Julian Reschke
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Henrik Andersson
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Julian Reschke
- Re: [media-types] Mime type for patch files? Eric Prud'hommeaux
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Mitar
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Mitar
- Re: [media-types] Mime type for patch files? Julian Reschke
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Mitar
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Mitar
- Re: [media-types] Mime type for patch files? Mitar
- Re: [media-types] Mime type for patch files? Edwards, Thomas
- Re: [media-types] Mime type for patch files? Petter Reinholdtsen
- Re: [media-types] Mime type for patch files? Mitar