Re: [Anima] looking for practical advice on managing YANG source in XML format RFCs

Carsten Bormann <cabo@tzi.org> Mon, 14 June 2021 16:30 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A0C33A2A18; Mon, 14 Jun 2021 09:30:02 -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 zUcPmTPjLRoq; Mon, 14 Jun 2021 09:29:57 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F7803A2A30; Mon, 14 Jun 2021 09:29:55 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G3cNv75YQz2xFl; Mon, 14 Jun 2021 18:29:51 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <77018.1623687978@dooku>
Date: Mon, 14 Jun 2021 18:29:51 +0200
Cc: anima@ietf.org, tools-discuss@ietf.org, netmod@ietf.org
X-Mao-Original-Outgoing-Id: 645380991.372005-ff9ca5730f593e22c641e6770cccfa47
Content-Transfer-Encoding: quoted-printable
Message-Id: <A6EFBE67-289A-4DBA-8B20-62DEF05DF815@tzi.org>
References: <6795.1623632992@localhost> <D907A27E-2A70-4292-ADFA-5D8B350E676C@tzi.org> <16776.1623679777@localhost> <1CA387C6-6058-46DC-882B-BCBEB848FE7B@tzi.org> <77018.1623687978@dooku>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/9ET5wu0najYx9cdmkEzv0T0Worw>
Subject: Re: [Anima] looking for practical advice on managing YANG source in XML format RFCs
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Jun 2021 16:30:05 -0000

On 2021-06-14, at 18:26, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
>    cb> How about
> 
>    cb> {::include foo-????-??-??.yang}
> 
>    cb> and, if there is no such file, kramdown-rfc expands the wild card in
>    cb> the directory and uses the numerically latest file?
> 
> You'd use shell globs?

Yes.  Any need to go beyond that?

> I think it might be better to use PCRE.

Much more typing and backslash-mangling, and I don’t see the use case.

> It might be better to have this as "winclude"

So ‘loseclude’ would be including all matches?

(What does the “w” stand for?)

>    cb> (There might also be a use-case for actually including all these
>    cb> files, so I’m still in thinking mode, but I think this is close.)

Grüße, Carsten