Subject: [bug#75782] [PATCH cuirass] remote-server: Disable url-fetch* fallback when triggering substitutes.

From: vicvbcun <[email-masked]>
Date: Thu, 13 Feb 2025 22:09:50 +0100

Hello,

On 2025-02-13T17:25:24+0100, vicvbcun wrote:
>Hello,
>
>On 2025-02-13T16:09:20+0100, Ludovic Courtès wrote:
>>[...]
>>>+       (parameterize
>>>+           ;; XXX: guix publish returns a 404 response when the output is
>>>+           ;; large and has not already been baked.  By default, this causes
>>>+           ;; `url-fetch*' to fall back to the Internet Archive.  Disable
>>>+           ;; this.
>>>+           ((%download-methods '()))
>>>+         (url-fetch* narinfo-url tmp-file))))))
>>
>>Shouldn’t it be '(upstream) rather than '()?
>>
>>(I’m looking at guix/build/download.scm.)
>Of course ….  I guess I was so happy it didn't block that I forgot to 
>verify it actually still does its job :).
>
>I have sent a v2 but haven't tested it yet because of missing 
>aarch64-linux substitutes.

I have replaced the cuirass-remote-server shepherd service with a 
transient service running the v2 patch.  It did trigger baking and 
didn't block when served a 404 respone.

vicvbcun