Re: [netmod] module-versioning should require any solution to describe labels for drafts

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Mon, 22 June 2020 16:02 UTC

Return-Path: <jason.sterne@nokia.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 ED6D93A0E81 for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 09:02:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 B_pKS1f-DfsZ for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 09:02:01 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2113.outbound.protection.outlook.com [40.107.244.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7559A3A0E69 for <netmod@ietf.org>; Mon, 22 Jun 2020 09:02:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gIHABkablwCPSQ5Ya9bDFI813oQsPz8oW84uy1skyqbiS0iJw4ePPWgi9Vq5mBDyAgMW2CyhsnHevmmoMQmqwcSCXpiibmGeIyzUOJRR6NYYK0Pf0CbLybk/Jyiei3hNoAQOLpScX0Zigr5jlJrSWReA2Xbzxix10VygPQ/OcW7Wy1Wm+S2WrJ99zsacMR5ZuZrTtElM2vUNm6/NX3+bbLn7XqUdQVAEAH+CEpJLO59quPKdhLZrhH+fuBEPlSuf8lLXVZT6wHTw9KyKYI4EdoRpPTn5+KxH3t3hsWwttvD/wPDMq72/M52+Roe6zcCDS+le3iLub33qcnsqkI0unA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dKdYc1CacXZZdGXkHnTnv8TdTAv8umwX6NG3jf0Q2aw=; b=T9dbZZOv8/m1CyeHNrnYgH213pEtjUi+11dvtCVXyvfXUlBNXrZMesWtW4myQNfJNee+2mIVWehSGG5bcl4ynTqrN4777ecGoUgBfuyDOg1jrdVuIkzsghFwH4vTXf4jLptjdJBuXa5dhSJ4AnHkrkkY0LUTshuzllM5pl7luXcw4wn7dI1hHF5eWq3ydjnuo28FEFgBdbz3DqTqtI+sIEL78Pj8vny4dUN8Yl2qA65qLZL3HNNnhbF1tiCw2WekQPUsSfDWOb4TzvBwZrVj5CfX7oAN7LBWo8bGSQQ4DX5wmuUJusN+OLMj2z4g01n+RnnaHe0a2WSgKnNyqZtD/g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dKdYc1CacXZZdGXkHnTnv8TdTAv8umwX6NG3jf0Q2aw=; b=bmbnKDg89kAhZXuHOQEMixw8jlkelC9pGsyjqcu9EmlVHC5SYe/zZVdiH59vyYjmIIp9PFMzYJ3jKQ48Io2N0RPpSALSEc28Uv07kh/7uOxwmb3IpHo58MBWv1xOhLAr3KPh/0czzF/F1wi94ZOUI/UTEkdr5yP2yj9SpDP0W3k=
Received: from DM5PR08MB2633.namprd08.prod.outlook.com (2603:10b6:3:ca::21) by DM5PR08MB2410.namprd08.prod.outlook.com (2603:10b6:3:77::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Mon, 22 Jun 2020 16:01:59 +0000
Received: from DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::b02f:de62:22d1:444f]) by DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::b02f:de62:22d1:444f%8]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 16:01:59 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] module-versioning should require any solution to describe labels for drafts
Thread-Index: AdZIqTodlifsCupDS9O8VkBxipyRrQAAl3UAAACBCyA=
Date: Mon, 22 Jun 2020 16:01:59 +0000
Message-ID: <DM5PR08MB26334DF9A18C827B6A9E8D999B970@DM5PR08MB2633.namprd08.prod.outlook.com>
References: <DM5PR08MB2633618B426287D32C6D5D219B970@DM5PR08MB2633.namprd08.prod.outlook.com> <20200622154128.rn5v2u4kci2icdga@anna.jacobs.jacobs-university.de>
In-Reply-To: <20200622154128.rn5v2u4kci2icdga@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [24.226.236.156]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 9c8a28f8-674f-4738-b302-08d816c598a0
x-ms-traffictypediagnostic: DM5PR08MB2410:
x-microsoft-antispam-prvs: <DM5PR08MB2410ADBB853F5E91390952649B970@DM5PR08MB2410.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 0442E569BC
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: +Nfv+v0iqT3j6wtftRKxr+cHOyhtPimPT6ohLA2oJ9uc6s4Ur+ZTDj3pSJfRay8CwS774Jd/rkuWnPLps9v7OCnwWZAzTGFnZVsPCumv/nchTkD1mdpF2SY+++HB2HJLEviaNcPUux57K5dPqFlVkKsq256BWvnfxNLF7HY3n39JPrcx7FjVYu36wnB17Ju9J0daQMJ1YQmqVK1Zt5xqfTQk3MuqZ80rcjdIo5I2w4XwrNntfWSuOLtfPoEck8LWLOaEs8l+BbqtuMa8FePEcUn1qR9s0ZoX5AZWkUswLX3ZxwYuq6tsRzi0Tnzw5riM/YAwXsEjcrrtxyNDluJ0yMxe5Stol9vgSytZoj4ZBtczAKxxPNmf+tx+YbpPREOZUj7FYlA4fTlVGh/SQFLViQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR08MB2633.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(396003)(346002)(366004)(39860400002)(8936002)(83080400001)(5660300002)(478600001)(71200400001)(6916009)(66446008)(66476007)(66946007)(2906002)(64756008)(966005)(83380400001)(66556008)(76116006)(8676002)(7696005)(9686003)(33656002)(52536014)(4326008)(186003)(53546011)(55016002)(86362001)(6506007)(26005)(316002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 9AgwTj7TG2q1V5MPSmv/s1Yfice5pjSIU2aNutS790Ef3Rz78X8PKoPymJrcCY+eS/xKlGs9/+B7Zl0q/Rmf65yYLObA/LSScBhl9bZyQsIOJpxWTYHE5yfuUlwWhelujlKetWVQsLYj93rp7sE1VjoE/s2lYq2LNon0RwSlKKIGpL3E6Zv/KBRawMRxWrunUs0oZ82Na/idcQe+7mK9L0I2uT5lJEWDaJdJMNUWtPWzW4VBjcf5esJE6Qbt7mvC1O36PQ/EBylPOCOh82e+O5ASZ3uSrTdqpC3dz8z1RYzTV5GTI1wViKzp54D11YKWCwt40tteAiBOzX3eNtFiBjScj8UA5F++4Y0PCYiMOd85J/b/ySV+9tZ7o+bozy0fr/0AHX7H/+LnkSuiidF/LiQNmUYdUVYNi+9eknTSLh/X9xd7Ic55LNqV3lfxMTM0FHTlLteJ468cUq4dhf0hA+iOldvkyX+YRcIT6uUgiPWV6Te0FM6NhyRNf5O5NkB0
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9c8a28f8-674f-4738-b302-08d816c598a0
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2020 16:01:59.6892 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /0V8eWgsvrakrReV1rLTUYfJkaSHzp3AqAgctqNOaVLK+pKktWMZRfTVqAJDiLaDRvusAbOg18wNHh6Bat26Rw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR08MB2410
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ytC1-WzunUrc-92JCAPvBsPZwY8>
Subject: Re: [netmod] module-versioning should require any solution to describe labels for drafts
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: Mon, 22 Jun 2020 16:02:03 -0000

Hi Juergen,

Section 5 in the link below attempts to explain how to manage this (but always happy for review of that text to help improve it).

The key is to always ensure there is a unique version for every revision that exists.

In your example below it would go like this:

I have RFCXXXX at version 1.0.0. I make some backwards compatible changes:
1.0.0

I then make a backwards incompatible change:
1.1.0-XXXXbis-dev1

Then I add more backwards compatible changes:
2.0.0-XXXXbis-dev2

Then I remove the backwards incompatible change:
1.1.0-XXXXbis-dev3

When the module is finally published as an RFC it would just be version 1.1.0 in this case.

The main problems covered:
- ensure all intermediate versions have a unique identifier (in case there are pre-release implementations, etc)
- ensure the final version has the correct YANG Semver

Jason


> -----Original Message-----
> From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> Sent: Monday, June 22, 2020 11:41 AM
> To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>
> Cc: netmod@ietf.org
> Subject: Re: [netmod] module-versioning should require any solution to describe
> labels for drafts
> 
> I have RFCXXXX at version 1.0.0. I make some backwards compatible
> changes. I then make a backwards incompatible change. Then I add more
> backwards compatible changes. Then I remove the backwards incompatible
> change. What are the resulting version numbers?
> 
> Rhetoric question: How many IETF module authors will get this all done
> correctly during module revision (and which problem does all of this
> fix)?
> 
> /js
> 
> On Mon, Jun 22, 2020 at 03:24:33PM +0000, Sterne, Jason (Nokia - CA/Ottawa)
> wrote:
> > Hi guys,
> >
> > In the latest working copy of the YANG Semver draft we added some text in
> section 5 about how to select revision labels for modules that are under
> development, or for RFCs that are churning (i.e. bis versions).
> >
> > https://github.com/netmod-wg/yang-ver-dt/blob/master/yang-semver/draft-
> ietf-netmod-yang-semver.txt
> >
> > I think we probably need to require that same information for any revision
> label scheme. I'd suggest we put something along these lines into the module-
> versioning draft:
> >
> > Any revision label scheme MUST describe how labels are selected for new
> YANG modules that are under development, and how labels are selected for
> modules in IETF RFCs that are being updated (e.g. a "bis" version is under
> development).
> >
> > (should we drop the "in IETF RFCs" ? )
> >
> > Jason
> >
> 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> 
> --
> 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/>