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

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Fri, 26 June 2020 19:10 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 5E92C3A0C19 for <netmod@ietfa.amsl.com>; Fri, 26 Jun 2020 12:10:43 -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 AVdES-vIZR2K for <netmod@ietfa.amsl.com>; Fri, 26 Jun 2020 12:10:41 -0700 (PDT)
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2132.outbound.protection.outlook.com [40.107.243.132]) (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 A7AFC3A0C17 for <netmod@ietf.org>; Fri, 26 Jun 2020 12:10:41 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dkqr/UuMUDCipKgIt7fVuQ5fLAcW3R8OrdRSketOxQsabGfjgjJsrwJbd/5kZQwxMxj6vCu+Um5jZcYh2ZgYBkxCyKCRUTO6S5Fhm3m/awfsPfvEGfuxYN2tyLNEeX7KlqMFDPkn0F4E5NHHYLW60FVMCBEUrdyl+INkgXXP9UHTIlATYnzrSYEvzG+798ogIeSBX+bzSSCebDbx/1XlbEH8tyL1RWA5FqIHpMZhxxMDWOlvkQcI6y8+nvgk4Jk6G1O8HI1hQBlB+PZ65eJpd7A6JxMY/cipKnfOdGg5IyTFSeq8MVuqc5PymHtrtYe6yd0k42M7+6A3ROJRjEv0aQ==
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=aHaIQ4aDLLPEysE8x1qfvEu0Vea8XeotKdYF8XjwWJs=; b=jGLfRXlR233BYoFKExAxAzzoX69QoEqOB9K+dBUZMpTgFm/obqu0N55uvhX/t1oEpQucE9rEQXZ9Zfg2pfHevc37E9w9dpY03Yry+tdRq01QcoHi7nYytfJD2pNsxu9tty92cFBCH63ZHNeNcJ2Xeq9m7RoEC+ewnubxzUECGe5R8qJBePzsw3sTH935ajH/3ib80WcnPv+1albeLyxn8/4NJqe/M6aU1CpKoRXSL1jvWQ0GwivfW8CAgS59mCU6kow9Qmvi8V6KN0a9lhPLNcrhg5le2HdAoJgE8kvIP16N6oCeLGjO57uHYmMPnxYJr/v6B7L5zFNlC58Rzo/5Rw==
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=aHaIQ4aDLLPEysE8x1qfvEu0Vea8XeotKdYF8XjwWJs=; b=GyCk1GlEgpZplRNCUdaJT4L+mgzsTuzxMoTMEyGlbOUjUzA1AiUYAqCDTPleSGKTIGK2gX7+/zXCMnnMdLPoh/T2PbTSekIJdtFOCqyjGv9cX6g/rtGA+hdL+7yD65O2oNAgHhM/Ht786DlnSyvCf8F9e9tcV4a4urOfyfx2xk0=
Received: from DM5PR08MB2633.namprd08.prod.outlook.com (2603:10b6:3:ca::21) by DM6PR08MB6057.namprd08.prod.outlook.com (2603:10b6:5:108::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Fri, 26 Jun 2020 19:10:39 +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.3131.025; Fri, 26 Jun 2020 19:10:39 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] module-versioning should require any solution to describe labels for drafts
Thread-Index: AdZIqTodlifsCupDS9O8VkBxipyRrQAAl3UAAACBCyAAAS6lgAAAOdyQAMtFX+A=
Date: Fri, 26 Jun 2020 19:10:39 +0000
Message-ID: <DM5PR08MB263324B7552D27368B8803199B930@DM5PR08MB2633.namprd08.prod.outlook.com>
References: <DM5PR08MB2633618B426287D32C6D5D219B970@DM5PR08MB2633.namprd08.prod.outlook.com> <20200622154128.rn5v2u4kci2icdga@anna.jacobs.jacobs-university.de> <DM5PR08MB26334DF9A18C827B6A9E8D999B970@DM5PR08MB2633.namprd08.prod.outlook.com> <20200622162945.hbbwnqyiwjsb7hhy@anna.jacobs.jacobs-university.de> <DM5PR08MB26335E775B54D32586423FC29B970@DM5PR08MB2633.namprd08.prod.outlook.com>
In-Reply-To: <DM5PR08MB26335E775B54D32586423FC29B970@DM5PR08MB2633.namprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [174.112.3.120]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 2a43a9b3-a56b-4e4f-d19a-08d81a049d4d
x-ms-traffictypediagnostic: DM6PR08MB6057:
x-microsoft-antispam-prvs: <DM6PR08MB6057D8B2845A326CE80EE1169B930@DM6PR08MB6057.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0446F0FCE1
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9Q7etsUaMQYP4JbMMdZnUR2Iu7SklGJg8RQEp5edq+9s47VpRBCUtfxbIwyAvzZHM8jih+fK1Lfcdzd3VrUXtdxNHCDF5WlAzJ6Ingd4SP6yDEuxyuVn5no9e3P5MSyWhMrbswlm7PDvGU6ZAdY34lBejZAW/PxPJH6k/KF8hmIV4RnZGRfOqyL108B+IoZdmjBLA1ZWc0WIoO59ZR2YPotHH5WKFrClHaEA3dAms9LQQZZVNlDj+j0Iis1d0BJPmZNw6sB1FA/8eBNZ9ty6AORlLN4nVKoKwmNmGX0Y9G/SjmAuexel1vKbHtoRUTCRDVoLFmA8q2MsAZYpDFTrfUsBqToRvq46q7oOzeHyRA5+IpeyLlLPYHjF4McKMyRIZNfdL9uDxBOJ/wAdd0p0vw==
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)(366004)(136003)(39860400002)(376002)(346002)(396003)(52536014)(66476007)(66946007)(83080400001)(83380400001)(33656002)(316002)(76116006)(9686003)(6506007)(26005)(71200400001)(2906002)(55016002)(186003)(7696005)(8936002)(53546011)(86362001)(6916009)(66556008)(5660300002)(66446008)(64756008)(478600001)(8676002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 38RVOLsQobvj3eOAPOrFeKhPI4NTockaBFXoDaCCsd07aBSYbu6Fawtlrjn4nkhhrZ3uEKrKK1j16+U8hUpTdnQHRSWzeVO/p8N9COE5sc85mVqXBJJt4rMc49PPMYlKgh+GA1ZXCn+D0uGGDHVddmdbKliLoTJimRp2uK5hslwfLxtAbuOLwZt2S8dnmeOZfH3Cfo7TKENX91bBHO0bJhhabXwGfrULjSfZsZUX38kG4Qlqgg6ziBHtzmocfdq1pdG6/zkdgb7KYMp0tE8rbSBuhNvn8KAhHXeko7po6pwxEF8d1h9pjLSKdL5RZxapg6Sf33H5AVvtgzsC1WujnBS/5seuJhYpLKa4y3Xhsg0JDrILr2htfYjRjjpJzE+Uz50JKUVCGfV+Tw4QaZKlvoGUc1r53MP24HCaPPysAMh3CUcfXGQJ/YVvaaXgOGi3V5rucD5ceH3nNNu/DqiJ9KunfzLYH6D/2vIdWx8etctRnml3oro4wi5qzHufR/KU
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM5PR08MB2633.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2a43a9b3-a56b-4e4f-d19a-08d81a049d4d
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2020 19:10:39.2989 (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: 9U4lO0xcAsNF7gFoxIPXzEqOoAUd9TpSCNwoWvYw+GwQ9eUTlUo3ZY2J6EYTnnHonk08bnqK4puL8UK5WWceig==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR08MB6057
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/xVaYb5Wf-gkwPMwdpwGxK7ScZak>
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: Fri, 26 Jun 2020 19:10:44 -0000

Hi all,

In our weekly call this week we debated the format of the yang semver for updates & new modules.

We found a corner case in the proposal below and would suggest a slight modification: 
- include either the authors name (for non-adopted drafts) or the word 'ietf' for adopted drafts, and
- use the draft # as a suffix.  For example:
    1.1.0-smith-XXXXbis-03

So the general scheme is:
    A.B.C-<author name or 'ietf'>-XXXXbis-yy
where:
    A.B.C = the current estimated final SemVer digits for the new RFC
    <author name or 'ietf'> = before a draft is adopted it has a name like draft-smith-foo-03 and after it is adopted it becomes draft-ietf-netmod-foo-00.  Pre-adoption use 'smith' in the revision-label and post-adoption use 'ietf'.
    XXXX = the RFC being updated
    yy = the draft version number

Another alternative we came up with that is simple and avoids all potential collisions is this:
    A.B.C-<full draft name>
For example: 
    1.1.0-draft-smith-foo-03

It will make for long revision-labels and more importantly long file names, but it is very simple and easy to follow.

Our inclination at the moment is to prescribe the A.B.C part and then say that all draft and published versions must have a unique revision-label.  Then provide those two methods as example of how to achieve unique labels.

Jason

> -----Original Message-----
> From: Sterne, Jason (Nokia - CA/Ottawa)
> Sent: Monday, June 22, 2020 12:39 PM
> To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> Cc: netmod@ietf.org
> Subject: RE: [netmod] module-versioning should require any solution to
> describe labels for drafts
> 
> Sorry - I messed that up with my copy-n-pasting and editing.  Let me try that
> again 😊
> 
> I have RFCXXXX at version 1.0.0.
> 1.0.0
> 
>  I make some backwards compatible changes.
> 1.1.0-XXXXbis-dev1
> 
> I then make a backwards incompatible change.
> 2.0.0-XXXXbis-dev2
> 
> Then I add more backwards compatible changes.
> 2.0.0-XXXXbis-dev3
> 
> Then I remove the backwards incompatible change.
> 1.1.0-XXXXbis-dev4
> 
> Then if we published the RFC at that point it would be 1.1.0
> 
> Jason
> 
> 
> > -----Original Message-----
> > From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> > Sent: Monday, June 22, 2020 12:30 PM
> > 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
> >
> > On Mon, Jun 22, 2020 at 04:01:59PM +0000, Sterne, Jason (Nokia -
> CA/Ottawa)
> > wrote:
> > > 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 use the same version number until I make an incompatible change?
> >
> > > 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
> > >
> >
> > /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/>