Re: [Tools-discuss] bibxml3 database reload frequency

Henrik Levkowetz <henrik@levkowetz.com> Fri, 21 August 2020 11:13 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B40903A0816 for <tools-discuss@ietfa.amsl.com>; Fri, 21 Aug 2020 04:13:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.848
X-Spam-Level:
X-Spam-Status: No, score=-2.848 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.949, 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 UNbqQEmTOGTi for <tools-discuss@ietfa.amsl.com>; Fri, 21 Aug 2020 04:13:26 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7FB23A07EC for <tools-discuss@ietf.org>; Fri, 21 Aug 2020 04:13:26 -0700 (PDT)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:65028 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1k94z7-0001Ow-Bl; Fri, 21 Aug 2020 04:13:26 -0700
To: Kent Watsen <kent+ietf@watsen.net>
References: <010001740c9e6adf-5f978dea-f19a-4298-8376-b82bf3be0835-000000@email.amazonses.com> <5d239c70-0124-c4d4-5dd2-8e712c7b14cd@levkowetz.com> <010001740df92895-fbde9921-36cf-455c-a1a6-4dbd2f32ebfd-000000@email.amazonses.com>
Cc: tools-discuss@ietf.org
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <05057a72-59a4-f7e1-1d69-bf9a9e6ffb18@levkowetz.com>
Date: Fri, 21 Aug 2020 13:13:10 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <010001740df92895-fbde9921-36cf-455c-a1a6-4dbd2f32ebfd-000000@email.amazonses.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="79o4qsFlXAdwNB4VxrmdGNLcKukvvLV39"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: tools-discuss@ietf.org, kent+ietf@watsen.net
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/kOB1r3jySMR37u2vx7ECkG-jnnM>
Subject: Re: [Tools-discuss] bibxml3 database reload frequency
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Aug 2020 11:13:29 -0000

Hi Kent,

On 2020-08-21 00:24, Kent Watsen wrote:
> Hi Henrik and Carsten - thanks for the responses!
> 
> It worked, and then it didn’t. Too late for me now, but you should
> know, I think datatracker's cache may need to be cleared befor each
> run...

Huh, right (or rather, the xml2rfc reference cache on datatracker.ietf.org).

Good point.  Will have to think about how to best deal with this.


Best regards,
	
	Henrik

> 
> Below for details.
> 
> K
> 
> 
> My adventure:
> 
> I first updated my XML, e.g.: 
> 
> 	<xi:include href="https://datatracker.ietf.org/doc/bibxml3/reference.I-D.ietf-netconf-crypto-types.xml”/>
> 
> But my locally compiled drafts continued to load the *previous*
> version (-17) of the crypto-types draft (though I submitted -18 a few
> hours ago).
> 
> So I ran `xml2rfc —clear-cache`, after which the current (-18)
> revision showed. Yeah!

Yes, xml2rfc keeps a local cache for 24 hours, and that may need clearing.
> 
> Thinking that I conquered it, I submitted the dependent drafts, but
> looking at the uploaded documents, I see the previous version again.
> For instance, the references section of the just-uploaded -13 of the
> “trust-anchors” draft shows -17 for the “crypto-types” draft:
> https://tools.ietf.org/html/draft-ietf-netconf-trust-anchors-13#ref-I-D.ietf-netconf-crypto-types
> <https://tools.ietf.org/html/draft-ietf-netconf-trust-anchors-13#ref-I-D.ietf-netconf-crypto-types>


>
> 
Oh, well, can’t win them all.
> 
> K.
> 
> 
> 
> 
> 
>> On Aug 20, 2020, at 12:36 PM, Henrik Levkowetz <henrik@levkowetz.com> wrote:
>> 
>> Hi Kent,
>> 
>> On 2020-08-20 18:05, Kent Watsen wrote:
>>> 
>>> Hi Tools Team.
>>> 
>>> How often is https://xml2rfc.tools.ietf.org/public/rfc/bibxml3
>>> rebuilt? Is there a way to have it rebuild more often and/or for
>>> draft authors to externally prompt it to rebuild?
>> 
>> THe short answers, which won't help you are: Once per day, and sorry, no.
>> 
>> The answer that I believe will help you is this:
>> 
>> Please use the draft bibxml references under datatracker.ietf.org/doc/bibxml3/
>> instead.  Those are generated on-the-fly and will reflect a new submission
>> at once.
>> 
>> You can use the old form
>> 
>>  https://datatracker.ietf.org/doc/bibxml3/reference.I-D.draft-ietf-netconf-crypto-types.xml
>> 
>> but also a simplified form that omits the 'reference.I-D.' part:
>> 
>>  https://datatracker.ietf.org/doc/bibxml3/draft-ietf-netconf-crypto-types.xml
>> 
>> 
>> Best regards,
>> 
>> 	Henrik
>> 
>>> 
>>> See below for background info.
>>> 
>>> Thanks,
>>> Kent
>>> 
>>> 
>>> Background:
>>> 
>>> I have one draft depending on another.  The new <relref> element is used, but the resulting hyperlinks point to the previous version of the referenced draft (before it was updated ~1 hour ago).
>>> 
>>> Looking at https://xml2rfc.tools.ietf.org/public/rfc <https://xml2rfc.tools.ietf.org/public/rfc>, I see that “bibxml3” hasn’t been updated for roughly one day:
>>> 
>>> 	bibxml3/	19-Aug-2020 00:49
>>> 
>>> Note that the timestamp for “bibxml” (without the ‘3’) is roughly 24 hours newer:
>>> 
>>> 	bibxml/	20-Aug-2020 00:45
>>> 
>>> In any case, the hyperlinks produced by the <relref> elements are all resolving to the previous version of the referenced draft.   I tried `xml2rfc —clear-cache`, but I think the source issue is with https://xml2rfc.tools.ietf.org/public/rfc/bibxml3 not having updated…
>>> 
>>> How often is https://xml2rfc.tools.ietf.org/public/rfc/bibxml3 built?  Is there a way to prompt it to reload?
>>> 
>>> 
>>> 
>>> ___________________________________________________________
>>> Tools-discuss mailing list
>>> Tools-discuss@ietf.org
>>> https://www.ietf.org/mailman/listinfo/tools-discuss
>>> 
>>> Please report datatracker.ietf.org and mailarchive.ietf.org
>>> bugs at http://tools.ietf.org/tools/ietfdb
>>> or send email to datatracker-project@ietf.org
>>> 
>>> Please report tools.ietf.org bugs at
>>> http://tools.ietf.org/tools/issues
>>> or send email to webmaster@tools.ietf.org
>>> 
>> 
> 
>