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

Petter Reinholdtsen <pere@hungry.com> Mon, 25 November 2019 22:52 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 F156712091A for <media-types@ietfa.amsl.com>; Mon, 25 Nov 2019 14:52:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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 kEwZ19Y40dgu for <media-types@ietfa.amsl.com>; Mon, 25 Nov 2019 14:52:27 -0800 (PST)
Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08ABB120FB3 for <media-types@ietf.org>; Mon, 25 Nov 2019 14:52:26 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 7D18D60098; Mon, 25 Nov 2019 23:52:20 +0100 (CET)
X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net
Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5onsFfu7af_T; Mon, 25 Nov 2019 23:52:10 +0100 (CET)
Received: from hjemme.reinholdtsen.name (cm-84.212.214.101.getinternet.no [84.212.214.101]) by lamora.getmail.no (Postfix) with SMTP id 2E1FB60092; Mon, 25 Nov 2019 23:52:10 +0100 (CET)
Received: (nullmailer pid 12577 invoked by uid 10001); Mon, 25 Nov 2019 22:52:09 -0000
From: Petter Reinholdtsen <pere@hungry.com>
To: media-types@ietf.org
In-Reply-To: <CAKLmikNW3hG1ssKUDj0QPpA4R2nvUMVLuicRr68Mg-pJv8OpFQ@mail.gmail.com>
References: <sa67ehyzo3s.fsf@meta.reinholdtsen.name> <20181031102655.GI17721@w3.org> <c419db69-9677-3467-c777-7758450a55fd@henke37.cjb.net> <CANfjZH1COMnjN9jAJGssneP9JymWdo-YmUq93RWu6MxEzBQcEw@mail.gmail.com> <sa6h8gvw48g.fsf@meta.reinholdtsen.name> <sa6lfwuijgh.fsf@meta.reinholdtsen.name> <CAKLmikMdWZF87zusg5td8bmn3uhY1h6XpXDjdN0-DR8VR+ANZA@mail.gmail.com> <sa6bltznv40.fsf@hjemme.reinholdtsen.name> <CAKLmikOPT6O7K5+1iXM_Jw+xyFUv8KKT-BVawEJRgnX_rVxdWw@mail.gmail.com> <sa6r22upreo.fsf@hjemme.reinholdtsen.name> <sa6y2w8tktj.fsf@hjemme.reinholdtsen.name> <CAKLmikMzdyh9uL5OdEwVyLyiE+0QMYFmJ1eTQpgTMm7WVA3PVQ@mail.gmail.com> <CAKLmikNW3hG1ssKUDj0QPpA4R2nvUMVLuicRr68Mg-pJv8OpFQ@mail.gmail.com>
Date: Mon, 25 Nov 2019 23:52:09 +0100
Message-ID: <sa6v9r7r2li.fsf@hjemme.reinholdtsen.name>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/_hIg49hb8bNAhQRVBSmBU0oApS4>
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: Mon, 25 Nov 2019 22:52:29 -0000

[Mitar]
> Just an interesting thing, in 2008 people were complaining that PATCH
> HTTP request "but the standards issue is still that there are no
> registered diff formats."
>
> https://lists.w3.org/Archives/Public/ietf-http-wg/2008JanMar/0316.html

I suspect that particular issue might have been solved with
<URL: https://tools.ietf.org/html/rfc6902 > and
<URL: https://tools.ietf.org/html/rfc7396 >.

Do you mean that the HTTP PATCH protocol request is a relevant use case
for the diff/patch format coming out of GNU diff and similar tools?

Anyway, perhaps it is better to register one of the commonly used MIME
types for the diff format instead of making a new one?

-- 
Happy hacking
Petter Reinholdtsen