[Rfc-markdown] Versions

Carsten Bormann <cabo@tzi.org> Thu, 26 January 2023 18:11 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0FD74C14F737 for <rfc-markdown@ietfa.amsl.com>; Thu, 26 Jan 2023 10:11:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.188
X-Spam-Level:
X-Spam-Status: No, score=-4.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAYUl4MsYeP6 for <rfc-markdown@ietfa.amsl.com>; Thu, 26 Jan 2023 10:11:06 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64EF1C14CE31 for <rfc-markdown@ietf.org>; Thu, 26 Jan 2023 10:11:04 -0800 (PST)
Received: from [192.168.217.124] (p548dc9a4.dip0.t-ipconnect.de [84.141.201.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4P2pft5grxzDCc3; Thu, 26 Jan 2023 19:11:02 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 696449462.050531-98a861e4cc6c7e8a015513cdb6ad8843
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Thu, 26 Jan 2023 19:11:02 +0100
Message-Id: <C2737FDA-AEEC-405D-8500-1BAA6E46288F@tzi.org>
To: rfc-markdown@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/V_sVdZn-MhMshPjol2U8RUVXOho>
Subject: [Rfc-markdown] Versions
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jan 2023 18:11:12 -0000

For a different tool (cddlc), I needed some estimate of which Ruby versions IETFers are using.  Obviously, the audience of cddlc and kramdown-rfc are going to be different, but for the latter we get artifacts that have version numbers in them…

So, in the last 100 days, some 478 drafts have been submitted with XML that says they were generated by kramdown-rfc.  The Ruby versions under which these were run are (*):

  75 old enough kramdown-rfc to not show the Ruby version
  12 Ruby 2.3
   7 Ruby 2.5
  68 Ruby 2.6
  21 Ruby 2.7
 121 Ruby 3.0
 171 Ruby 3.1
   4 Ruby 3.2

So about 80 % of kramdown-rfc-generated drafts where we know the version, used a “modern” (≥ 2.7) version of Ruby.
Good, because in cddlc I planned to use features of 3.0 that already had provisional support in 2.7, and I think I’ll now go ahead with this.
(Kramdown-rfc itself will probably stay at a minimum requirement of Ruby 2.3 a little longer, but will probably gradually experience bitrot in the libraries that come with that.)

I was surprised by the number of drafts generated still using pre-2.6 versions of Ruby (which would, e.g., imply a 2018 or earlier operating system on a Mac); these should really be gone now.
I also was surprised by the ancient kramdown-rfc versions in use:

  11 version 1.2.3 June 02, 2017
   7 version 1.4.1 March 22, 2021
   8 version 1.5.12 October 20, 2021

2017!

Folks, please do update your kramdown-rfc versions occasionally (preferably after going to a modern version of Ruby first, but please don’t procrastinate for that):

  gem update kramdown-rfc

(If you are pre-1.6.1, i.e., < February 21, 2022, do a `gem update kramdown-rfc2629` before and then a `gem install kramdown-rfc`.)

The reason for really wanting an update is that the world has changed since 2017 (RFCXMLv3, bib.ietf.org, …), and kramdown-rfc needs to interact with that.

Grüße, Carsten

(*) No, I don’t know why these don’t add up; I just need rough numbers and won’t look.