guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: [bug#44193] [PATCH 0/1] 'guix publish --cache' can publish items not yet cached
Date: Wed, 28 Oct 2020 10:39:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

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

> Ludovic Courtès <ludo@gnu.org> writes:
>> Hi,
>>
>> Miguel Ángel Arruga Vivas <rosen644835@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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]