GNU bug report logs - #44193
[PATCH 0/1] 'guix publish --cache' can publish items not yet cached

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sat, 24 Oct 2020 14:50:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 44193 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com>
Cc: 44193 <at> debbugs.gnu.org
Subject: Re: [bug#44193] [PATCH 0/1] 'guix publish --cache' can publish
 items not yet cached
Date: Wed, 28 Oct 2020 10:39:26 +0100
Hi,

Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>> Hi,
>>
>> Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com> skribis:
>>
>>> I fully agree with that.  Adding 202 together with 404 would be enough
>>> as an start, wouldn't it?
>>> -------------------------------8<-----------------------------
>>>             (cache-narinfo! url (hash-part->path hash-part) #f
>>>                             (if (or (= 404 code) (= 202 code))
>>>                                 ttl
>>>                                 %narinfo-transient-error-ttl))
>>> ------------------------------->8-----------------------------
>>
>> Yes, exactly!
>
> Should I, or you, push this before the release?  It's probably worth
> having it already for 1.2.

Agreed, you can go ahead and push this change.

> The optimization could be cool too: IIUC could be only the other if
> branch the one returning the 202 when it's widely accepted, perhaps I
> should have explicitly pointed out that earlier instead of driving too
> much the conversation to the return code, sorry for that. :-(

No problem!

Ludo’.




This bug report was last modified 4 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.