Re: [netmod] Revision label in filename

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Thu, 11 June 2020 19:05 UTC

Return-Path: <rrahman@cisco.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 79EF93A0D13 for <netmod@ietfa.amsl.com>; Thu, 11 Jun 2020 12:05:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=hZ/dfsGb; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=dS+ydU8e
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 DmdwORTowpp1 for <netmod@ietfa.amsl.com>; Thu, 11 Jun 2020 12:05:16 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B19603A0AA3 for <netmod@ietf.org>; Thu, 11 Jun 2020 12:05:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2944; q=dns/txt; s=iport; t=1591902316; x=1593111916; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=U7BhtzaYT0DViL+GoeyqkYOjpFuPUgQ67bnBpvR6u5Y=; b=hZ/dfsGbD3a24nXLnBmyLJ1WVPPE38PBSMZWfz8aqqFPgD+qBOWgXF7v mZKZNx8V0PPF1af6ZvtDMHXEi5miWBcWOQfwr9G66JpfveurPpDGUS1Kd 1LeDVh5foyG7BY/y3qSh/40L9hec3gX3kkNaTvF8yc15EGW3BR5Xf0ZMg g=;
IronPort-PHdr: 9a23:yzP8ThL88aPKODgyn9mcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeGvKs/kFbIWcDVrflDjrmev6PhXDkG5pCM+DAHfYdXXhAIwcMRg0Q7AcGDBEG6SZyibyEzEMlYElMw+Xa9PBtJEcf6IlOUqXq3vnYeHxzlPl9zIeL4UofZk8Ww0bW0/JveKwVFjTawe/V8NhKz+A7QrcIRx4BlL/U8
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CwBQCff+Je/49dJa1mHAEBAQEBAQcBARIBAQQEAQFAgUqBUikpB29YLywKhBqDRgONFSWYUoJSA1ULAQEBDAEBGAsKAgQBAYN/RQIXggsCJDgTAgMBAQsBAQUBAQECAQYEbYVbDIVzAQEBAgEBARAREQwBASwLAQ8CAQgaAiYCAgIlCxUQAgQBDQUbB4MEAYJLAw4gAQ6pAwKBOYhhdoEygwEBAQWCSYJgGIIOAwaBDiqCZIlnGoFBP4E4DBCCTT6CZwEBgXyCfTOCCyKPRIJdhlubPwqCWZkVAxQJnlyRE54oAgQCBAUCDgEBBYFqIoFWcBU7KgGCPlAXAg2OHgwXgQIBCIJDhRSFQnQ3AgYIAQEDCXyOSAGBDwEB
X-IronPort-AV: E=Sophos;i="5.73,500,1583193600"; d="scan'208";a="511717658"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 11 Jun 2020 19:05:15 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 05BJ5F78004034 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 11 Jun 2020 19:05:15 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Jun 2020 14:05:15 -0500
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Jun 2020 14:05:14 -0500
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 11 Jun 2020 15:05:14 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RDH2lW96xTr8mgDwZyIFDoFcZSvMnaiWNpj2+en5uX/dFEnKPJGx1FWt0qtSi8s8N5Ai2+yV3cx/EdvLzEj4LXw2N3YxtetQ7lnd94gpdIe/qvk3NKSjSgS+T6F2GUH5SNT9QepVG65+hn5zaUklw9UEV/qidz8e+lnI0505hvmQOHl01xagWea8lq0Gvi44uLsuCdVbTEsjkUmcl2ifqIY/1C558HVGyUnkee6DWSYdcHlRAmmoSJeIGFKaZbcNtFV4Do7XbgG2hdoJcDCqvbME5M7n7IOIFTdhPsOHjmn+ZcDMfebzI3Xh1jLrXif3xO3UsMZ/I8dw7Ek30LX4Zw==
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=U7BhtzaYT0DViL+GoeyqkYOjpFuPUgQ67bnBpvR6u5Y=; b=DAUXV4Wio++ZU+wwmyeoCxQVgg80TScfWMap22hrsMdC7tZzUEUVsEnhVwStl0lY95rNPIYDbpVD8q7aWnzpL/UDz7UaPFOZ7dVGEybIRzmZPMw67LAJ0dxD+5Ledhh22II+/AW3qvihvqfvqIWAhnilEUlTIxeTlwkYHqf1JXzfGfO0zJuNJdo2EUi6eRd42Eh8xYGSvI9lihkiHfFw2tQ3Ad0ocSrwpHtiALim2KBRDmtUIxsE/nSTaWDxRQwACny/7hQroLA63evQD9zj/1rMnGYjSR/ssd4rF2kHXd9f6TOJR2wPQ009682yuUNjRZ5GQuxa7YARjgU64g5m+g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U7BhtzaYT0DViL+GoeyqkYOjpFuPUgQ67bnBpvR6u5Y=; b=dS+ydU8e24ZpfUS/vNaE8bSFwPK6L4IpD1DpLaLNXdzf1EyRF7CkWPIFPcO/uqgtM0NFwnFdTuJv8uXmruy078+UGI7gwNhbNcqQAZZw0qIdNI1T70mpOaQjaSe1O+VGR/FbsZKJzt3VrfTOfW2PLSHv9de6FqeRggmdexgZfcQ=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB1347.namprd11.prod.outlook.com (2603:10b6:404:48::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18; Thu, 11 Jun 2020 19:05:14 +0000
Received: from BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff]) by BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff%6]) with mapi id 15.20.3088.021; Thu, 11 Jun 2020 19:05:13 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Jan Lindblad <janl@tail-f.com>, "Reshad Rahman (rrahman)" <rrahman=40cisco.com@dmarc.ietf.org>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Revision label in filename
Thread-Index: AQHWJULlaerHh/MFR0md3UduRBBcTKiflrKBgDKzwoCAAP2VAIAAcNcA
Date: Thu, 11 Jun 2020 19:05:13 +0000
Message-ID: <E9872555-F4AB-4104-94C3-1A968027A4C9@cisco.com>
References: <E42934AA-A95D-4BC3-A9F9-F940734EA84F@cisco.com> <AM6PR07MB4520D033C8F8F32FD72F464DA0A30@AM6PR07MB4520.eurprd07.prod.outlook.com> <6BAF901C-D86C-418E-A2B9-EEB9D1C734BE@cisco.com> <E242966C-BDE7-47A1-A4D8-FA95C27161FC@tail-f.com>
In-Reply-To: <E242966C-BDE7-47A1-A4D8-FA95C27161FC@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: tail-f.com; dkim=none (message not signed) header.d=none;tail-f.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [70.31.50.95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ad9faad0-5b20-43f8-e790-08d80e3a5f1f
x-ms-traffictypediagnostic: BN6PR11MB1347:
x-microsoft-antispam-prvs: <BN6PR11MB1347A8202C6867A58963481DAB800@BN6PR11MB1347.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0431F981D8
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: mQIsbhpGG596C530NCk7DUMzX8N4E7pCLkb+nz+KW/PvAPM3MYgsCYU49sKy/LAFARcd0xqkqN03BcYQFhMCz6q+bZrrCVRBLBSEkbxy9JNmq0hS/iyHW5EHv6LBzdjQVasgWdP+QpOMlsdlc147KcSLmSiSr6uFWGkGgtykNmGB6J5/hP5g3loADSTINZb4tRvj7X1377jqeVezUip27xF45nqqYRDsFKYWSpZ2sDYCwLL3yoxzYt4ghAlt8wCsU/qT8P1exg1jQlwTOFEatRhgU0K+au9JLVg8/CQz6w+BH7fuHZBA+hIxOHYmhICneOdx6PAev1Is995Ci1Un5j9onKrLNwrXoyMH1wnr8sK05vIZo5emXMlmu5V7JkAQANRQvI2+Y/Q64aEcAOZ91g==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3875.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(5660300002)(64756008)(26005)(91956017)(36756003)(66446008)(71200400001)(66946007)(66556008)(83380400001)(86362001)(53546011)(6506007)(33656002)(66476007)(76116006)(6486002)(110136005)(8936002)(316002)(186003)(2616005)(966005)(478600001)(4326008)(2906002)(6512007)(8676002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: W/b4CJxM5pPuxS2J53efmVZlrCrJqIeY0+5FmEu7wjrs7sozxKkbKGrb4PPoC91MlDvtH4/FGrHFxAlGRnYDIfnYO57otV9VN1liwEUgSdCBDSkGe7BN3/ZxvLRm67fzZfcfe5lvmpjXYNJ9i00fjbVd8DeJA5jfdITNpoDAAYCMH0vBLtPwB3XLzSwNLzuCw6X8W+3jAvay5QXL/hdTlFXYxRDr4uIPc4c0rxNAkBmckNUPm5/wVrHVrJo+qjseD4cV2ijxg0cT2Y9fcjqu+bBIjxI3pGfgg5mPrfELBgyrxFL+4Ka0/q2ICaRyCbI9MvnY9Ui4+qZ0gZbvqjVMGRV8kzshEpu94y0Aw/NYFS79AXs3WqWrYPUm7rFaHgeGB8P+vytoC9sQ39inPpScRPrP6Y+gmWrgbgYjce4thSy4pcd2izg+r3oNYfN/SyId/GMgxlY5ovHz0xZzR3bXUtY5Mxk08iNX/JXIiAdWjEs=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <67D9DA9CAC3A2347B6D204452F3D44CF@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ad9faad0-5b20-43f8-e790-08d80e3a5f1f
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2020 19:05:13.9363 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 7ytw89m2bgwgG6tEWVYvMPuK8zEX7u9ORkC9GWNt1utuiB8X83b1wGSwrFQ28X0bGcV4osp5ixql9dvKLtaBaQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1347
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1vrwsZdHvhfWprdSKJ4-FRJYJ9U>
Subject: Re: [netmod] Revision label in filename
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, 11 Jun 2020 19:05:20 -0000

On 2020-06-11, 4:21 AM, "netmod on behalf of Jan Lindblad" <netmod-bounces@ietf.org on behalf of janl@tail-f.com> wrote:

    Hi,

    > I understand the requirement to not break what's currently working for date in the filename. However we do need something similar to work for revision-label. Having another file with the revision-label embedded in the filename should work. 
    > 
    > We discussed this issue in yesterday's weekly meeting and a proposal was made to use '@@' as delimiter for revision-label. # was turned down because of its impact on bash.

    I did a quick check, and # is only treated as a comment character by bash when preceded by whitespace, i.e. not when used in the middle of a filename => I think we can drop the comment above.
Glad # works as delimiter.
    If we want a filename to include multiple kinds of revision markings while keeping the existing tools afloat, implementing the @ notation, that might be achievable by picking some delimiter that is treated as a filename character by existing tools and placing the version label before the @. I.e. with # as the delimiter:

    module-or-submodule-name['#'revision-label]['@'date].yang
When we discussed this on Tuesday, there was concern that some tools would interpret the module/submodule name as "module-or-submodule-name['#'revision-label]". 
My preference right now is to have 2 filenames (I realize this could also impact some tools), but I'll be content with any workable solution.

Regards,
Reshad.

    Many other (combinations of) symbols could work, but they all run the risk of interfering with some tool or vendor internal CI/CD convention. A few examples: double underscore __, tripple dots ..., _ver_, ~, :

    /jan


    > So:
    > module-or-submodule-name['@'date].yang (unchanged)
    > module-or-submodule-name['@@'revision-label].yang
    > 
    > A symlink could be used, or we could have duplicate file contents.
    > 
    > Regards,
    > Reshad.

    _______________________________________________
    netmod mailing list
    netmod@ietf.org
    https://www.ietf.org/mailman/listinfo/netmod