Re: [Ietf-and-github] YANG Model Formatting

Kent Watsen <kent+ietf@watsen.net> Tue, 09 April 2019 15:49 UTC

Return-Path: <0100016a02ca26fc-f9894f34-623d-4e55-9360-222006bfc974-000000@amazonses.watsen.net>
X-Original-To: ietf-and-github@ietfa.amsl.com
Delivered-To: ietf-and-github@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E873D12088C for <ietf-and-github@ietfa.amsl.com>; Tue, 9 Apr 2019 08:49:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 kTbh2AtAzwaH for <ietf-and-github@ietfa.amsl.com>; Tue, 9 Apr 2019 08:49:25 -0700 (PDT)
Received: from a8-33.smtp-out.amazonses.com (a8-33.smtp-out.amazonses.com [54.240.8.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59AC812044E for <ietf-and-github@ietf.org>; Tue, 9 Apr 2019 08:49:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1554824964; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=OamcayGuUkCZtFMD9LQTeBDUEhC57stmlaej1QkKdQM=; b=fFZqjV7jdpjdY1rQbofBqrM09ThToaUIe6h/SCqBn8Pedn6frWAhjMbzHpRtDHGp 9DksD42DYuRjq+vY2g+0HfrsSzxtBgLmk3JJA+WS3IpGjRJMxeZHAQNFF6Xhj1UXaFG Tb9aDonmBgaydcp49RBuvTyCc5XjuGZfvGEcvVPg=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016a02ca26fc-f9894f34-623d-4e55-9360-222006bfc974-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_29D4C748-F2F9-47E0-95C9-D4FC70865CF7"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Date: Tue, 09 Apr 2019 15:49:23 +0000
In-Reply-To: <5F854869-1E6A-4834-9F7F-92386BE5253C@akamai.com>
Cc: "ietf-and-github@ietf.org" <ietf-and-github@ietf.org>
To: "Salz, Rich" <rsalz@akamai.com>
References: <8F770E74-110D-4EC3-A94F-3A97E36B103B@cisco.com> <5F854869-1E6A-4834-9F7F-92386BE5253C@akamai.com>
X-Mailer: Apple Mail (2.3445.102.3)
X-SES-Outgoing: 2019.04.09-54.240.8.33
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-and-github/BGRqfQnUTtkF2D8wnu5YvTfcoo4>
Subject: Re: [Ietf-and-github] YANG Model Formatting
X-BeenThere: ietf-and-github@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of using GitHub in IETF activities, particularly for Working Groups" <ietf-and-github.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-and-github/>
List-Post: <mailto:ietf-and-github@ietf.org>
List-Help: <mailto:ietf-and-github-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Apr 2019 15:49:28 -0000

I plan to add it to `xiax`.


> On Apr 9, 2019, at 11:23 AM, Salz, Rich <rsalz@akamai.com> wrote:
> 
> Something to automate at some point I suppose.
>  
> From: "Acee Lindem (acee)" <acee@cisco.com>
> Date: Monday, April 8, 2019 at 5:28 PM
> To: 'WG Chairs' <wgchairs@ietf.org>
> Cc: Martin Bjorklund <mbj@tail-f.com>, "ops-ads@ietf.org" <ops-ads@ietf.org>
> Subject: YANG Model Formatting 
>  
> All, 
> 
> I had a YANG model RFC discussion with the Sandy Ginoza, RFC Editor, at IETF 104 and she indicated that they are using pyang to format YANG models prior to publication. It would help greatly if authors do the formatting in advance to facilitate reviews and lessen the RFC Editor task. Here are the commands in use:
>  
> pyang -f yang --keep-comments
> pyang --ietf --max-line-length 69
>  
>  
> Thanks,
> Acee
>  
>  
> _______________________________________________
> Ietf-and-github mailing list
> Ietf-and-github@ietf.org <mailto:Ietf-and-github@ietf.org>
> https://www.ietf.org/mailman/listinfo/ietf-and-github <https://www.ietf.org/mailman/listinfo/ietf-and-github>