Re: [netmod] IETF 108: Summary of insignificant whitespace changes and versioning
Jan Lindblad <janl@tail-f.com> Thu, 13 August 2020 10:53 UTC
Return-Path: <janl@tail-f.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 B83C73A0B78 for <netmod@ietfa.amsl.com>; Thu, 13 Aug 2020 03:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 tD_TK5eyKg-P for <netmod@ietfa.amsl.com>; Thu, 13 Aug 2020 03:53:00 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 55C993A0B73 for <netmod@ietf.org>; Thu, 13 Aug 2020 03:53:00 -0700 (PDT)
Received: from [192.168.1.117] (213-67-237-150-no99.tbcn.telia.com [213.67.237.150]) by mail.tail-f.com (Postfix) with ESMTPSA id 0B5551AE0351; Thu, 13 Aug 2020 12:52:59 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Jan Lindblad <janl@tail-f.com>
In-Reply-To: <20200813102302.xwowkncgur4s7yuc@anna.jacobs.jacobs-university.de>
Date: Thu, 13 Aug 2020 12:52:58 +0200
Cc: Ladislav Lhotka <ladislav.lhotka@nic.cz>, "netmod@ietf.org" <netmod@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5725D1DE-B846-4D44-88F9-D4BA5E61746A@tail-f.com>
References: <5CF24083-4126-4BE0-93F1-9A36F6DE9296@cisco.com> <20200811.164556.608015447238311339.id@4668.se> <A634B3C1-9F19-4A44-9479-56EC986DA1D8@cisco.com> <878sekb885.fsf@nic.cz> <11245BD3-6E79-4F02-9962-53BE87264460@cisco.com> <acfe1b95-e0f3-0b7e-2635-9582eb11b4e6@nic.cz> <20200813102302.xwowkncgur4s7yuc@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1vovdVqse6EtvSc43BYsYRPNDrA>
Subject: Re: [netmod] IETF 108: Summary of insignificant whitespace changes and versioning
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 13 Aug 2020 10:53:02 -0000
+1 /jan > On 13 Aug 2020, at 12:23, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote: > > On Thu, Aug 13, 2020 at 11:37:18AM +0200, Ladislav Lhotka wrote: >> >> >> $ pyang -f yin ietf-inet-types.yang | xmllint --c14n - | sha256sum >> 8d1ca8f30566ce8cbeffa095e20642f8f6e9f3a724286be4ead863b4467dc40b - >> >> might be a very good start. It is certainly much more robust than >> relying on a simple checksum of the YANG module text. > > This work started with the need for _semantic_ version numbers and now > we are down to hashes of modules? Do we still have a clear idea which > problem we are solving? > > - Sane development environments use version control systems, we should > in my view not attempt to go there. We should assume that people > developing YANG modules use version control systems to track > changes. > > - There apparently is a need for a packaging system that can express > which combinations of YANG module version are known to work > together. > > The YANG versioning work was driven (I think) by the desire to > support non-backwards compatible changes (section 4 of > draft-ietf-netmod-yang-versioning-reqs-03). Why do we end up > discussing how to calculate hashes or the impact of whitespace > changes? Whitespace and layout changes are backwards compatible, > even today's YANG versioning rules handle them well. > > /js > > -- > Juergen Schoenwaelder Jacobs University Bremen gGmbH > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod >
- [netmod] IETF 108: Summary of insignificant white… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Martin Björklund
- Re: [netmod] IETF 108: Summary of insignificant w… Ladislav Lhotka
- Re: [netmod] IETF 108: Summary of insignificant w… Martin Björklund
- Re: [netmod] IETF 108: Summary of insignificant w… Juergen Schoenwaelder
- Re: [netmod] IETF 108: Summary of insignificant w… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Martin Björklund
- Re: [netmod] IETF 108: Summary of insignificant w… Ladislav Lhotka
- Re: [netmod] IETF 108: Summary of insignificant w… Ladislav Lhotka
- Re: [netmod] IETF 108: Summary of insignificant w… Martin Björklund
- Re: [netmod] IETF 108: Summary of insignificant w… Rob Wilton (rwilton)
- Re: [netmod] IETF 108: Summary of insignificant w… Martin Björklund
- Re: [netmod] IETF 108: Summary of insignificant w… Ladislav Lhotka
- Re: [netmod] IETF 108: Summary of insignificant w… Randy Presuhn
- Re: [netmod] IETF 108: Summary of insignificant w… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Ladislav Lhotka
- Re: [netmod] IETF 108: Summary of insignificant w… Juergen Schoenwaelder
- Re: [netmod] IETF 108: Summary of insignificant w… Jan Lindblad
- Re: [netmod] IETF 108: Summary of insignificant w… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Juergen Schoenwaelder
- Re: [netmod] IETF 108: Summary of insignificant w… Joe Clarke (jclarke)
- Re: [netmod] IETF 108: Summary of insignificant w… Juergen Schoenwaelder