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

Michael Richardson <mcr@sandelman.ca> Mon, 14 June 2021 18:03 UTC

Return-Path: <mcr@sandelman.ca>
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 CB7773A2CB3; Mon, 14 Jun 2021 11:03:53 -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 Si41ffG2LzOj; Mon, 14 Jun 2021 11:03:48 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [176.58.120.209]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E6583A2CB6; Mon, 14 Jun 2021 11:03:47 -0700 (PDT)
Received: from dooku.sandelman.ca (desktop4.sandelman.ca [209.87.249.16]) by relay.sandelman.ca (Postfix) with ESMTPS id 110651F456; Mon, 14 Jun 2021 18:03:46 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id 779311A293E; Mon, 14 Jun 2021 14:03:43 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>
cc: anima@ietf.org, tools-discuss@ietf.org, netmod@ietf.org
In-reply-to: <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> <A6EFBE67-289A-4DBA-8B20-62DEF05DF815@tzi.org>
Comments: In-reply-to Carsten Bormann <cabo@tzi.org> message dated "Mon, 14 Jun 2021 18:29:51 +0200."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 14 Jun 2021 14:03:43 -0400
Message-ID: <81889.1623693823@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/y4Oxr5EK_uK2AR8rnYGlQdclWhs>
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 18:03:54 -0000

Carsten Bormann <cabo@tzi.org> 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.

DOS/Windows people don't get shell globs, and "?" is not something they know.

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

    > So ‘loseclude’ would be including all matches?

hah.

    > (What does the “w” stand for?)

wildcard.

    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.)

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [