[Rfc-markdown] 1.6.14 no longer gets DOI references from bib.ietf.org,

Carsten Bormann <cabo@tzi.org> Wed, 06 July 2022 12:39 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51C11C139AC9 for <rfc-markdown@ietfa.amsl.com>; Wed, 6 Jul 2022 05:39:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SWmptX_wv01p for <rfc-markdown@ietfa.amsl.com>; Wed, 6 Jul 2022 05:39:03 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E6FFC157B3A for <rfc-markdown@ietf.org>; Wed, 6 Jul 2022 05:39:03 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4LdJxw29SvzDCcZ; Wed, 6 Jul 2022 14:39:00 +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: <B2E8B010-548C-49DB-9AEB-FAAC6F3CC302@tzi.org>
Date: Wed, 06 Jul 2022 14:38:59 +0200
X-Mao-Original-Outgoing-Id: 678803939.586233-b5d38a7b509ba50d364942e265744bdb
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C05F741-EB53-425E-B3E7-7635AD6C224D@tzi.org>
References: <B2E8B010-548C-49DB-9AEB-FAAC6F3CC302@tzi.org>
To: rfc-markdown@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/1sPanQoluF7JVOIBbnSW6LlRLpQ>
Subject: [Rfc-markdown] 1.6.14 no longer gets DOI references from bib.ietf.org,
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Jul 2022 12:39:07 -0000

1.6.14 no longer gets DOI references from bib.ietf.org,
unless environment variable KRAMDOWN_USE_TOOLS_SERVER is set.


Note that kramdown-rfc builds a cache of reference entries.
For DOI references, this cache is renewed after 1 day.

Set environment variable KRAMDOWN_USE_TOOLS_SERVER to fill the cache from $XML_RESOURCE_ORG_HOST (default bib.ietf.org) as before.

If something broken has already been fetched, remove it from the cache (or entirely flush the cache).
The cache is located at $KRAMDOWN_REFCACHEDIR, or, if that is not set, in .refcache in the current directory.  
Many people set this to ~/.cache/xml2rfc to share a cache for all their documents, and also with xml2rfc.

Grüße, Carsten

> On 2022-07-06, at 06:44, Carsten Bormann <cabo@tzi.org> wrote:
> 
> As part of the migration away from the tools.ietf.org servers, a new bib.ietf.org service has been set up.
> Kramdown-rfc switched to the new service with 1.6.12, on 2022-06-27.
> 
> Unfortunately, it turns out there are heavy regressions with DOI.* references.
> 5 days before I-D deadline is not the best time to deal with this.
> 
> If that problem hits you:
> As a workaround, you can manually use the command line tool doilit to generate YAML that can be copy-pasted into the YAML header references list.
> 
> doilit 10.1145/2975159 > foo.yaml
> Then update the label that defaults to “a”, or use
> doilit -h=JUPITER 10.1145/2975159 > foo.yaml
> to set it from the command line.
> 
> In my copious free time, I plan to issue an emergency update of kramdown-rfc that does not use bib.ietf.org for DOI.*.
> Of course, I don’t know how quickly this then will be picked up on author-tools.ietf.org, so the timing before IETF 114 is going to be unfortunate in any case.
> 
> Grüße, Carsten
>