Re: [Tools-discuss] xml2rfc in --v2 mode -- bug report?

Robert Sparks <rjsparks@nostrum.com> Mon, 13 June 2022 15:01 UTC

Return-Path: <rjsparks@nostrum.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97702C15AACE for <tools-discuss@ietfa.amsl.com>; Mon, 13 Jun 2022 08:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.566
X-Spam-Level:
X-Spam-Status: No, score=-8.566 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_HI=-5, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.com
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 KqWz-9mnS60n for <tools-discuss@ietfa.amsl.com>; Mon, 13 Jun 2022 08:00:58 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 D856FC15AAC4 for <tools-discuss@ietf.org>; Mon, 13 Jun 2022 08:00:58 -0700 (PDT)
Received: from [192.168.1.114] ([47.186.48.51]) (authenticated bits=0) by nostrum.com (8.17.1/8.16.1) with ESMTPSA id 25DF0ulI098824 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 13 Jun 2022 10:00:57 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1655132457; bh=hLQrJZya8jt3CDNHfv+QkeKCtmw8aWcemTMBWGKZIe0=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=WPaUU5ia3+eR/7VQtD4m48LRqn+igEkPyw17Y5oXkJJYFPB09Q5tasqBnQywfzdRr iXmyNLtkWCoZVNHEOS535hiHupcmmmSb+9dvUt7otWbXhUyqBCbiyh7Q83VoKrA5US wRDAA5RWOEHmV9eS41thNgNBq8J5rMBcwysvmrdA=
X-Authentication-Warning: raven.nostrum.com: Host [47.186.48.51] claimed to be [192.168.1.114]
Message-ID: <3f677000-284d-adfb-3a2b-6ab1bb228a2e@nostrum.com>
Date: Mon, 13 Jun 2022 10:00:51 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Kesara Rathnayake <kesara@staff.ietf.org>, John C Klensin <john-ietf@jck.com>, Carsten Bormann <cabo@tzi.org>
Cc: tools-discuss@ietf.org
References: <B39D28F0353AE74800217ADC@PSB> <7EDFAAE2-3109-4D16-BC16-1A47DB365522@ietf.org> <E022AAF289DF04D70F449FF7@PSB> <5B8EC861-46AF-497A-88F1-8F1024F7EF81@tzi.org> <CCFF6F19FB455A9C283B1885@PSB> <4BF83022-22DB-41CD-A34A-525AFB3D9183@tzi.org> <F00F40BF854CE44940245317@PSB> <7a438ea5-ec35-536d-2252-5dbc6cd66ad9@staff.ietf.org>
From: Robert Sparks <rjsparks@nostrum.com>
In-Reply-To: <7a438ea5-ec35-536d-2252-5dbc6cd66ad9@staff.ietf.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/7YUUUJcRdW25NIw7afU6xltYVIU>
Subject: Re: [Tools-discuss] xml2rfc in --v2 mode -- bug report?
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jun 2022 15:01:02 -0000

On 6/12/22 6:36 PM, Kesara Rathnayake wrote:
>
>
> On 13/06/22 10:49 am, John C Klensin wrote:
>
Trimming to just the discussion of rfcdiff itself:
>
>>
>>> Rfcdiff is still readily available; for me it's a simple
>>> install of `brew install larseggert/mytap/rfcdiff`.  If
>>> author-tools has broken it, we need to fix it.  Iddiff is
>>> getting there, but rfcdiff is the fully-debugged workhorse.
>>
>> Sadly, I run two sets of operating systems here, neither of
>> which is a Mac or Linux.  I suppose I could figure out how to
>> get either Homebrew or rfcdiff itself to run under FreeBSD if I
>> could find an appropriate clean copy, but have many other things
>> to do at the moment {day, week, year}..  The only pointer I have
>> to rfcdiff is to https://tools.ietf.org/rfcdiff.   That seems to
>> be available at some times and not at many others. And neither
>> that page nor https://tools.ietf.org/ seem to give a pointer to
>> the program itself rather than a web interface.
>
> rfcdiff mirror is available on GitHub [1].
> Note that this tool is not supported.
>
> [1] https://github.com/ietf-tools/rfcdiff-mirror

Like idnits, this is really the _actual_ repository now, not just a 
mirror, and the name will be updated accordingly.

the rfcdiff shell script code has been stable for a long time, and if 
good contributions are provided, we'll continue to merge them. It should 
be package-able and useful for people on their own systems for quite 
some time to come.

We are moving to iddiff (a reimplementation) for the online service we 
provide for several reasons. One large one is that the current online 
service wraps the shell-script in a web templating language Henrik 
started some time ago that it doesn't make sense to maintain. It relies 
on a python 2.7 version of mod_python (see 
https://github.com/ietf-tools/rfcdiff-pyht). Another are changing 
requirements in what the online service will be allowed to retrieve and 
where it will be allowed to retrieve it from.

RjS

>
>   --Kesara
>>
>>>>   Drawing on a different
>>>> conversation, if I (pretending to be a naive newcomer) somehow
>>>> get to author-tools.ietf.org, click on the "Getting Started"
>>>> link there, it seems to send me down the path of editing
>>>> RFCXML directly, not using Kramdown-RFC of anything else.
>>>
>>> If that is the impression author-tools leaves, we do have a
>>> serious problem.
>>
>> Based on my experience trying to work my way through those pages
>> while simulating a newcomer and that experience of a couple of
>> guide-free newcomers I've been able to check with, that is the
>> impression.  That is, of course, a rather small sample.
>>
>>>>   When someone describes a relatively
>>>> new piece of software as having a rather large number of open
>>>> issues, insufficient resources to deal with them quickly and
>>>> well, and a "need to focus on keeping it alive", the message I
>>>> get --after over a half-century of involvement in software
>>>> development projects in a variety of roles -- is "not ready
>>>> for production use".  That is a rather scary thought.
>>> Yes, we are fixing the jet engine in-flight.
>>> But RFCXMLv3 is very much ready for production, I'd even say
>>> more so than RFCXMLv2 ever was.
>>
>> That may depend on one's perspective.  For the viewpoint of
>> someone who used xml2rfc with v2 source for years without
>> encountering any problems that could not be easily debugged
>> (from the error messages) and fixed but who encounters
>> undocumented and badly described/reported problems with v3 (and
>> needs help from generous colleagues to track them down and get
>> fixes or workarounds back to me), well, it is all relative,
>> but...
>>
>>>> The other problem is that, if the authoring languages are
>>>> really an important part of the solution, the web pages under
>>>> authors.ietf.org appear to be in need of considerable work.
>>>
>>> (See above.)
>>> But yes, authoring languages (including the direct use of
>>> RFCXMLv3) are really an important part of the solution.
>>>> The problem is that conversion failures send a message
>>>> of either "not possible yet, wait a few more months" or "v3
>>>> isn't ready; just continue for a while with something that
>>>> works".
>>> That potential impression is the main reason why I am even
>>> reacting here:  v3 is in actual production; the question
>>> whether it is production ready became moot in November 2019
>>> with the publication of RFC 8650.
>>
>> Again, a matter of perspective, some questions about "actual
>> production for whom", and with your comment about "jet engine
>> in-flight" in flight included.
>>
>> A different way to say almost the same thing is that the
>> publication of RFC 8650 proves that the RPC, with whatever
>> support (I presume even including paid professional support)
>> they need, can generate RFCs in all three important formats.
>> That is certainly one sort of "production" and a vitally
>> important one.  It does not prove that none of those output
>> formats will need tweaking later (I understand there have been
>> cases where such tweaking has been needed).  But, far more
>> important, it does not prove that xml2rfc, the RFCXML v3 syntax,
>> and the well-documented supporting tools are ready for
>> "production" use by either experienced RFC (and I-D) authors who
>> have gotten used to RFCXML v2 (idiosyncrasies, bugs, and all)
>> and who have not been participants in the tools effort or who
>> are new to the IETF and I-D writing.   Those two groups are very
>> different at least wrt the supporting documentation or tutorials
>> they might need and how they are navigated, but my assumption (I
>> hope correct), is that the IETF should care about both and does
>> so.
>>
>> And we are now straying into the territory that, IMO, should be
>> on the IETF list because, AFAICT, relatively few of those who
>> are most affected are on this one.
>>
>> best,
>>     john
>>
>> ___________________________________________________________
>> Tools-discuss mailing list - Tools-discuss@ietf.org
>> This list is for discussion, not for action requests or bug reports.
>> * Report datatracker and mailarchive bugs to: 
>> datatracker-project@ietf.org
>> * Report all other bugs or issues to: support@ietf.org
>> List info (including how to Unsubscribe): 
>> https://www.ietf.org/mailman/listinfo/tools-discuss
>>
>