Re: [irsg] how to upload minutes in markdown format?

Bob Hinden <bob.hinden@gmail.com> Mon, 02 August 2021 20:47 UTC

Return-Path: <bob.hinden@gmail.com>
X-Original-To: wgchairs@ietfa.amsl.com
Delivered-To: wgchairs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A73B83A1BD9 for <wgchairs@ietfa.amsl.com>; Mon, 2 Aug 2021 13:47:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 ReoALGyFc83q for <wgchairs@ietfa.amsl.com>; Mon, 2 Aug 2021 13:46:59 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 896F73A1BDD for <wgchairs@ietf.org>; Mon, 2 Aug 2021 13:46:59 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id b13so12054846wrs.3 for <wgchairs@ietf.org>; Mon, 02 Aug 2021 13:46:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=zgmH40UHqnY91l3Yy7NBVqaySStdTbbxK/RcV0ap7X4=; b=Ed+d2oPsv+YCFTExk6g7r7+IPpEySaA3NNjQzrSUgz70r3X6SP+kz1icyPJI2vwaJD dKDzgBbs8bugQqef/PBBmvRqO6FXJpAFpafVSYvfbFnF15+xkM1jqbM2n+AUDt58x8Os 1qLfJ9UjJRXPZmc1VsloB1ajrkoz6QQ2SgyI5S5vf1XDr52sn2OKD/xBjwX+Wh6C2feZ zwr9DY2XjCbDHeM0I5i12rG90Ibhy85BI09uLeEapy5brU1FQtOnIky2i8YZzhnxvFe7 rCm+8cp0yNToqHp9jjLFdR0OlmBjUsk1BsfK3lOoc7hPfT34A09pEGmOf1Sdnup+CcWa C/6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=zgmH40UHqnY91l3Yy7NBVqaySStdTbbxK/RcV0ap7X4=; b=aSjlWg1A63YaRqb79+WYKHEGFbJAYvkGKr+MQIoq18oyx5+ZuCsJi8lTFeboBgSLRw KOlBz56cIHwr83oYT3gA8v5vfg0Dj/RKTV7TUtKCSl/wKJmkX/rn95hfaC+txEQiKCde YM6a9RS0bC6OlUTMdwv9mmpm/YanMBSKFVDQ0y195mJGuf7KdKLqzTSfqqU8NOKvAKvV KvWAT8l238OMOMJgGnPIQ+JMvFXmBV8B/glefcUFKNe+5J+CPgfB3CWV9SUswINoV7y/ EpLCY/rotTM44zwVV5gAqs1v4RLEISr1X5G+SSMJmwxYKZ0gZHoWgKrVRbzci2VYrzP+ dK4Q==
X-Gm-Message-State: AOAM533i4sYYSpd6cOCl/5LPtKFstGwwdO2oajfPElzL2ZR2g5Ls0+Xo ByOSay9yqKwOeQjecGm8iBo=
X-Google-Smtp-Source: ABdhPJyRS9C7ENRlYCoSwOBcR5KEHoaEZR2VfFav0wps9binn47A4Qb6iZ+9XOckB0KAThoFDIOEPw==
X-Received: by 2002:adf:c549:: with SMTP id s9mr19634896wrf.344.1627937217694; Mon, 02 Aug 2021 13:46:57 -0700 (PDT)
Received: from ?IPv6:2601:647:5a00:659:4c53:1a47:ee67:2139? ([2601:647:5a00:659:4c53:1a47:ee67:2139]) by smtp.gmail.com with ESMTPSA id j14sm12491768wru.58.2021.08.02.13.46.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Aug 2021 13:46:57 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <EEA966FA-9C1D-4C8D-8C74-A954E6151705@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_EE11E48D-4DC5-4AF1-A420-546B91C776D6"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Subject: Re: [irsg] how to upload minutes in markdown format?
Date: Mon, 02 Aug 2021 13:46:51 -0700
In-Reply-To: <39ca1a6e-dcb6-f7d2-f136-30ba2efbcfee@alum.mit.edu>
Cc: Bob Hinden <bob.hinden@gmail.com>, Carsten Bormann <cabo@tzi.org>, Working Group Chairs <wgchairs@ietf.org>, Robert Sparks <rjsparks@nostrum.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
References: <8129fb38-9dd4-426b-679e-40eaf0afaa67@alum.mit.edu> <91951106-6433-4BE0-A952-6FF673090B3E@tzi.org> <9645fdb7-2e4f-7593-12d0-71ed85764903@nostrum.com> <FFC28F29-C63F-4FEC-9F1E-15CD98325817@tzi.org> <9e53eb9a-8284-87a8-b7fa-bb7cd8dd3be5@nostrum.com> <C4AF4982-78CC-457F-8420-FF335BBE0EF0@tzi.org> <dafc084c-759b-379d-aa5a-1d9427297a76@alum.mit.edu> <0F236848-B848-483F-9405-8D75BDF6E95E@tzi.org> <39ca1a6e-dcb6-f7d2-f136-30ba2efbcfee@alum.mit.edu>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/wgchairs/KLHXtt9zIwfOwbHEzJBEMZ2JVTQ>
X-BeenThere: wgchairs@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Working Group Chairs <wgchairs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wgchairs>, <mailto:wgchairs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wgchairs/>
List-Post: <mailto:wgchairs@ietf.org>
List-Help: <mailto:wgchairs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wgchairs>, <mailto:wgchairs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 20:47:03 -0000

Hi,

> On Aug 2, 2021, at 10:15 AM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
> 
> On 8/2/21 12:55 PM, Carsten Bormann wrote:
>> On 2021-08-02, at 18:16, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
>>> 
>>> I don't get it. The problem isn't with the bits in the file.
>> There is more than one problem.
>>> The problem is that MacOS insists on reporting that a .md file has content type octent-stream. IIUC, if it would simply report it as text/plain then all wood be ok.
>> The content-type is sent by the browser.
>> We probably have different browsers, and nobody takes care of reporting which browser is being used when things fail.
> 
> I've tried Firefox and Chrome.

For what it is worth, I had no uploading issues using MacOS 10.14 using a .md file directly from Codimd, or after I edited the file with emacs.  I was using Chrome (92.0.4515.107) at the time.

Bob

> 
>> I have never been able to get any of my browsers to upload the right media type (text/markdown), so I can’t help with that part.
>> They all do send text/plain (well, Chrome sometimes text/html).
>> To get there, you probably have to open a directory with an .md file in it in Finder, single-click that file, and CMD-I.
>> Choose a markdown presentation application (I use Marked) or text editor (Geany?) of your choice under “open with”, then click “change all”.
> 
> I've tried that. I have .md associated with textedit.
> 
> Even so, when the extension is set to .md Finder Get Info (CMD-I) reports the Kind:Document, whereas it reports .txt as Kind:text.
> (AFAICT MacOS doesn't report literal mime type. Do browsers derive mime type from Kind?)
> 
>> All that said, I stand by my recommendation for keeping sanity:
>> Get “Raw HTML” from CodiMD and upload that.
> 
> That will be my fallback.
> 
>>> Lacking a fix for that problem, can we have datatracker recognize .md.txt as indicating an intent to upload markdown? The tools are already doing a workaround by recognizing .md as markdown even though the actual content type being sent is text/plain.
>> Sounds good to me.
>> You'll still will have the problem with different interpretation of line breaks about which there was some discussion at tools-discuss; the little tool de-gfm was written as a workaround until the Great Unified Datatracker Markdown Solution is implemented.
> 
> I haven't encountered that problem yet.
> 
> 	Thanks,
> 	Paul
>