Re: [media-types] Mime type for patch files?

Julian Reschke <julian.reschke@gmx.de> Thu, 01 November 2018 10:05 UTC

Return-Path: <julian.reschke@gmx.de>
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 3708F124408 for <media-types@ietfa.amsl.com>; Thu, 1 Nov 2018 03:05:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 PuqBFH3_JFVC for <media-types@ietfa.amsl.com>; Thu, 1 Nov 2018 03:05:28 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC224124D68 for <media-types@ietf.org>; Thu, 1 Nov 2018 03:05:27 -0700 (PDT)
Received: from [192.168.178.20] ([91.61.59.249]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MPDeK-1gDm8i0w4m-004PTc; Thu, 01 Nov 2018 11:05:24 +0100
Received: from [192.168.178.20] ([91.61.59.249]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MPDeK-1gDm8i0w4m-004PTc; Thu, 01 Nov 2018 11:05:24 +0100
To: Clemens Ladisch <clemens@ladisch.de>, media-types@ietf.org
References: <sa67ehyzo3s.fsf@meta.reinholdtsen.name> <20181031102655.GI17721@w3.org> <sa6y3adnvs3.fsf@meta.reinholdtsen.name> <7a0d47e2-807e-12d3-f6eb-727fd94ddcb1@ladisch.de>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <2fda8422-3059-43d7-7885-3f83225ce774@gmx.de>
Date: Thu, 01 Nov 2018 11:05:21 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <7a0d47e2-807e-12d3-f6eb-727fd94ddcb1@ladisch.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:4Xh6g58Lqlk38a8AIRae5P2SMSVkzUFHlITTC+aT1N5xGcnsDLx uDsiF3rxOLG/SorcTtlUFLgR64bRkVC9Ya/R7R2lvNA3Q07XeQojkfQgLS+OHr6VcXH8AMa GK/IZXKfMi/kJXbtWIKNFjlDXKYJEs16MQZskPss0liS4Mz/CIYEI97Iml+BEA5mH1GQPo4 uqLZ2wUKD6a3oP2Jwpxxg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:auiPxQXZV74=:8j+yG6KbmR11Ba+ZymCHEh wcDMAfdQhMszl6Kno1gsp6XBfrzgbT9gSFIxpRgX6I9dVGfV77c0knGwfCyjZigJACGDEOEqi 0YuObMYE3j3NiiHUxjTpi9b0C/+kUb8YvTbAKZHoLOqWWIJZBII0sRxYpTCvGbDMhjyYf2td5 Sg4vw13GQhuecSuEEEpnTO67+V4bBwIoOe4YgO9TIKolPngrL1EdPGfGpe1gLzD+n9dzpXmpL vTJGHub5vhAYeR5JrqOkCIDJsSptZb9k1ym/+rnxENESfUyjgYsy9aIJQhwhKk4N+fHqfJfBb Y2j91CdTQIFwmgOHnHzUt1TVfsK3gp96lJv6i+SvnHTGsIAEPlISlhohkINNmiQ4x4WY6ctNh xa312C1P8R3WTKL2whgf0z0bMwbB/pGq7CDuSkx799FZD5K9LBQrbD4bdVUZNUHxIsm6k+/d3 DERcM7dR3x7XWDqWQfarNASiYHkohm+TloH5Gylre94C4bvPk8XulCv4aunWOKy70lR4tx6Zw Q3l0xgKjCLLef2/M3IxPjecjZNp03W138nbrx6qLMQmlODKIJIU/5hGVR9EZZVBKFdmWeYJsA vgthee2QPB0o44plpCWTGyt669OVIEH3eRgC74V15+HiQK7jkIITbFgoD9HSuJ1B1iA7jN3gG PwttAhYvSCDWJKZUNLaKtA45BQt64308RwcQ7UAmLquw3atRb9fc4GjX4lBSbwYYTlRLW+knJ FYfsEKUcJnbvgSHMy8iQCYu0uBOVKvNS4BNalJYyH3cT3rcAKAFEVPP2QLmQiSM5wJOclpzNK /+DQuxk7+RXHdOSGjSl9U06X6u5mgQ02TrW3DG22dgFGg8733I=
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/BL9HWrjWhWNRd616QdeJXC9w-A4>
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 10:05:30 -0000

On 2018-11-01 09:58, Clemens Ladisch wrote:
> Petter Reinholdtsen wrote:
>> 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.
> 
> Pretty much all version control systems can generate patches.  However,
> the default output typcially does not rely on MIME type detection but
> uses custom formatting (in a GUI, or in HTML).  As far as I can see,
> the only place where the MIME type might matter are e-mail attachments.
> ...

FWIW, it would also be interesting for use as a payload in an HTTP PATCH 
request (see https://greenbytes.de/tech/webdav/rfc5789.html) - as far as 
I recall the big challenge here is not the label but to actually find a 
well-documented and interoperable patch format.

Best regards, Julian