Re: [netmod] Joint WGLC on "semver" and "module-versioning" drafts

Andy Bierman <andy@yumaworks.com> Wed, 31 May 2023 10:13 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A95AC151B14 for <netmod@ietfa.amsl.com>; Wed, 31 May 2023 03:13:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.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 Hq5sE-tqZF9n for <netmod@ietfa.amsl.com>; Wed, 31 May 2023 03:13:00 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 7566EC151B10 for <netmod@ietf.org>; Wed, 31 May 2023 03:13:00 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2af28303127so60130671fa.3 for <netmod@ietf.org>; Wed, 31 May 2023 03:13:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1685527978; x=1688119978; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=EMHKmcLExyP+mRsv2F6SSrLHH0PxqP4i7+XokoIJ+HY=; b=ZXAA5D8Fbgv0ruhdCr3mTLOK2l0L4gjpDHi0gj6+9oskeKebzi4aYDjpcBweFwROGR 49gVqxEyrIsa3nkx8tGQ3fav0Jk+I4YVraTrvQI7TtBD7ln/xuqh2TeR5HxD8HpUhIIB Tj9XIDfHLCyCTnB1ur/XhAjxDz50WSgTaMY6L2te58rwjbo07UUYhh53rFlcJDb+N7um 1zoGa/UQ8OnOrk/l5LEA5o5svoL+aqGHjj/+CQv6rNJo6HCNKRbRnpfghRU45aXMsJQz yZqoDUCyv1BLyTKDmT6hGZHMeDe92oZFuhgth2jwNMtL5dMCAqVDZD8EcFRk+jU1hTzy K1ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685527978; x=1688119978; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EMHKmcLExyP+mRsv2F6SSrLHH0PxqP4i7+XokoIJ+HY=; b=mEg4tyIL6Fn4Ty/aa/xrDh22Z2cmbL8xXO5+/WS8RJvYGy6T4TjBbi/fN7lE3omKzV SA3r3yX7s3EmKK4/KG4Fv5KRkdLE8FmWD1I+51UqOslJl4gynFt5YePlKtpNJ9lkawgO DzJCCsUo2NtPypjx7HSeGZOwgrj2+xgHQfNk6sGgtJwpeK0ajBV8aPIV23yaj/ANoTPD vYm52+NfLUeVwBBSnRgJm6LQYII2JDPhulnVEZ2IdFSHkp5frDH3abgseX0xjrA+FCco jObVSikYupbS/QsTdel65+5XxA1b+rX+3RweiX7Mf3kwIijECu4lDjWsyrPj43XHXiNO aHAA==
X-Gm-Message-State: AC+VfDxrdm3k+3by5HEdosJ4KIo52u4KWct+LKcUxMuDuN3kEqPvtxKP 8EMDVyLvSJvk/o9Auj/KzAzeKmUOmSc+0eb51qd7xisj0LRhGaVg
X-Google-Smtp-Source: ACHHUZ7xzIRW+iFGzdJZfFr7JV7aFsanJ2KcuA7C3HwJckfnPks7ntXBbE/FpKlxQ9jVkoVU5FefO60iLDWdPT6mWTw=
X-Received: by 2002:a2e:93c7:0:b0:2ac:79df:cb49 with SMTP id p7-20020a2e93c7000000b002ac79dfcb49mr1968060ljh.27.1685527978312; Wed, 31 May 2023 03:12:58 -0700 (PDT)
MIME-Version: 1.0
References: <01000187fd8e0407-84bd7e7b-ede3-43d8-a9b3-5d4d0a915509-000000@email.amazonses.com> <jr5nepvspm3kpoxbv6dpxwi234ggjuthvckeerj2hb3g3qdc6x@4o42ngfbw72f> <12cd6ad9-e384-7cbc-d14d-fdf58cdbb0df@hq.sk> <6fdiqbrvqqsrcddq4c4z7kpwnl7rublqizqoija23penfnuvbk@heqvysdnhuvp>
In-Reply-To: <6fdiqbrvqqsrcddq4c4z7kpwnl7rublqizqoija23penfnuvbk@heqvysdnhuvp>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 31 May 2023 03:12:46 -0700
Message-ID: <CABCOCHSFmMQDZZa-u8Ycm75aGarV+hfEakmnE_OUp0ODftzELg@mail.gmail.com>
To: Jürgen Schönwälder <jschoenwaelder@constructor.university>, Robert Varga <nite@hq.sk>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000681a2005fcfa9057"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Yvgjx15kxyAGjHeYcFSbycODkw0>
Subject: Re: [netmod] Joint WGLC on "semver" and "module-versioning" drafts
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2023 10:13:04 -0000

On Wed, May 31, 2023 at 12:50 AM Jürgen Schönwälder
<jschoenwaelder@constructor.university> wrote:

> On Wed, May 31, 2023 at 02:13:11AM +0200, Robert Varga wrote:
> > On 30/05/2023 20.28, Jürgen Schönwälder wrote:
> > >    It is unclear what "identical" means here. If two people extract a
> > >    module from an RFC, they may not end up with identical byte
> > >    sequences. So does white space matter when we talk about MUST be
> > >    identical? What about comments? The problem is that the IETF still
> > >    publishes YANG modules in RFCs instead of files.
> >
> > As for RFC vs. files, the mechanics of extracting of files from RFCs
> seems
> > to be well established, plus it is an IETF-owned cron job which updates
> > https://github.com/YangModels/yang/tree/main/standard/ietf/RFC -- so I
> would
> > (and I actually do) assume that is the normative source of byte-exact
> files.
>
> I have YANG modules that were extracted years ago using some version
> of smistrip of the past. Do you believe my files extracted back then
> are byte-by-byte equivalent to what some cron job produces on some
> github repo somewhere today? Do you guarantee that the software behind
> the cron job will never ever be updated causing it to produce
> something where white space may differ?
>
>
The rfcstrip tool has been adding extra '\n' characters to YANG modules for
years.
In fact, there is not even one YANG module on a repo somewhere that is a
byte-exact copy of the RFC version.

/js
>
>
Andy



> --
> Jürgen Schönwälder              Constructor University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://constructor.university/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>