emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#33897: closed ('guix publish' is unable to serve n


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33897: closed ('guix publish' is unable to serve narinfos for dead items)
Date: Sat, 25 May 2019 23:38:02 +0000

Your message dated Sun, 26 May 2019 01:37:39 +0200
with message-id <address@hidden>
and subject line Re: bug#33897: 'guix publish' is unable to serve narinfos for 
dead items
has caused the debbugs.gnu.org bug report #33897,
regarding 'guix publish' is unable to serve narinfos for dead items
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33897: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33897
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 'guix publish' is unable to serve narinfos for dead items Date: Fri, 28 Dec 2018 22:49:58 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hello,

‘render-narinfo/cached’ in ‘guix publish’ uses ‘hash-part->path’ to go
from /xyz.narinfo to, say, /gnu/store/xyz-guile-2.2.4.

The problem is that ‘hash-part->path’ is an RPC that works only if xyz
corresponds to a live item; in other cases, it returns the empty
string.  Consequently, if /gnu/store/xyz-guile-2.2.4 has been GC’d,
‘guix publish’ returns 404 for /xyz.narinfo, even if it actually has the
narinfo somewhere in cache.

This defeats the intended behavior of ‘--cache’ and ‘--ttl’.

Ludo’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#33897: 'guix publish' is unable to serve narinfos for dead items Date: Sun, 26 May 2019 01:37:39 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Ludovic Courtès <address@hidden> skribis:

> ‘render-narinfo/cached’ in ‘guix publish’ uses ‘hash-part->path’ to go
> from /xyz.narinfo to, say, /gnu/store/xyz-guile-2.2.4.
>
> The problem is that ‘hash-part->path’ is an RPC that works only if xyz
> corresponds to a live item; in other cases, it returns the empty
> string.  Consequently, if /gnu/store/xyz-guile-2.2.4 has been GC’d,
> ‘guix publish’ returns 404 for /xyz.narinfo, even if it actually has the
> narinfo somewhere in cache.
>
> This defeats the intended behavior of ‘--cache’ and ‘--ttl’.

Fixed in 493375cdb23fc1416348da584f17bec7171faadd.

Ludo’.


--- End Message ---

reply via email to

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