[Tools-discuss] Re: documents by WG --- RFCs and related documents -- are there APIs
Michael Richardson <mcr+ietf@sandelman.ca> Mon, 04 August 2025 20:35 UTC
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: tools-discuss@mail2.ietf.org
Delivered-To: tools-discuss@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id D00DD4FB06F6 for <tools-discuss@mail2.ietf.org>; Mon, 4 Aug 2025 13:35:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.4
X-Spam-Level:
X-Spam-Status: No, score=-4.4 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_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MX2VpkZ5YXid for <tools-discuss@mail2.ietf.org>; Mon, 4 Aug 2025 13:35:43 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 618864FB06E8 for <tools-discuss@ietf.org>; Mon, 4 Aug 2025 13:35:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id DD94D398F8; Mon, 4 Aug 2025 16:35:42 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavis, port 10024) with LMTP id SW3r_Tu-sOG4; Mon, 4 Aug 2025 16:35:42 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1754339742; bh=Yq/uZZ2N2e6osVoTjLCEnu6LbHQoNZnlEJt/rEzFjTE=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=l4zH/so+id9DvBBwFb203MxKEzeFJRShVIqGX8qa1u4n1ErHgHPzCoyT6TE5c0H5n JUic9XT5kgmXdWR1mcjpxNXxj/Oe/pC0uVPgLOI4zkhc76yRkPTiOZgE87X2anM6XT Xrfr5KhG0QznCS9k6IzEwHBRU02MIQYKICxb3ce/OKwkHYcX5O0cxAqocFD3+tIBSU pjpGmVIMQmRY44x1xPh2ATClrcHmbwMozI9x4+1P/i2rXxUuIS09qIfCMRsG4F/9Iq djUHyTHRI3mVfcLC7HRVwSM/zJr2zFEPoJFINpohIP/1mWyL0V8RMJZndE9R/9K0wd IxAZzT2HWc1nQ==
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:b241:6fff:fe09:a92b]) by tuna.sandelman.ca (Postfix) with ESMTP id 3A639398F5; Mon, 4 Aug 2025 16:35:42 -0400 (EDT)
Received: from obiwan.sandelman.ca (obiwan.sandelman.ca [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id 3732C1F9; Mon, 4 Aug 2025 16:35:42 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Jennifer Richards <jennifer@staff.ietf.org>
In-Reply-To: <523a3640-feab-4eeb-9b98-09eb6438923c@staff.ietf.org>
References: <26738.1753630433@obiwan.sandelman.ca> <523a3640-feab-4eeb-9b98-09eb6438923c@staff.ietf.org>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; GNU Emacs 28.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0;<'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Mon, 04 Aug 2025 16:35:42 -0400
Message-ID: <14588.1754339742@obiwan.sandelman.ca>
Message-ID-Hash: 54BTOOVLTX4SJU46CXA6W3OKBMTKUMCT
X-Message-ID-Hash: 54BTOOVLTX4SJU46CXA6W3OKBMTKUMCT
X-MailFrom: mcr+ietf@sandelman.ca
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tools-discuss.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: tools-discuss@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Tools-discuss] Re: documents by WG --- RFCs and related documents -- are there APIs
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/tQzdxtBT7Zao5GMKnTnd0mFp-kU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Owner: <mailto:tools-discuss-owner@ietf.org>
List-Post: <mailto:tools-discuss@ietf.org>
List-Subscribe: <mailto:tools-discuss-join@ietf.org>
List-Unsubscribe: <mailto:tools-discuss-leave@ietf.org>
Thank you Jennifer,
I implemented the first part, link RFCs today:
#!/bin/sh
cd /corp/ietf
for group in $(cd cache/id/ietf && ls -1)
do
echo Working on $group
if [ -d cache/id/ietf/$group ]; then
(cd cache/id/ietf/$group && curl -s 'https://datatracker.ietf.org/api/v1/doc/document/?type=rfc&group__acronym='$group | jq -r '.objects[].name' | while read rfc
do
if [ ! -f $rfc.txt ]; then ln -f /corp/ietf/cache/rfc/$rfc.* .; echo $rfc; fi
done)
fi
done
--
Michael Richardson <mcr+IETF@sandelman.ca> . o O ( IPv6 IøT consulting )
Sandelman Software Works Inc, Ottawa and Worldwide
- [Tools-discuss] documents by WG --- RFCs and rela… Michael Richardson
- [Tools-discuss] Re: documents by WG --- RFCs and … Jennifer Richards
- [Tools-discuss] Re: documents by WG --- RFCs and … Tom Pusateri
- [Tools-discuss] Re: documents by WG --- RFCs and … Jennifer Richards
- [Tools-discuss] Re: documents by WG --- RFCs and … Michael Richardson
- [Tools-discuss] Re: documents by WG --- RFCs and … Tom Pusateri
- [Tools-discuss] Re: documents by WG --- RFCs and … Jay Daley
- [Tools-discuss] Re: documents by WG --- RFCs and … Robert Sparks
- [Tools-discuss] Re: documents by WG --- RFCs and … Martin Thomson
- [Tools-discuss] Re: documents by WG --- RFCs and … Michael Richardson