[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50040] [PATCH 0/2] publish: Always render nar/narinfo during backin
From: |
Mathieu Othacehe |
Subject: |
[bug#50040] [PATCH 0/2] publish: Always render nar/narinfo during backing. |
Date: |
Wed, 06 Oct 2021 08:58:38 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
> * guix/scripts/publish.scm (render-narinfo): Defer the narinfo string creation
> to the http-write procedure.
> (compression->sexp, sexp->compression): New procedures.
> ("X-Nar-Compression"): Use them.
> ("X-Narinfo-Compressions"): New custom header.
> (strip-headers): Add the x-nar-path header.
> (http-write): Add narinfo on-the-fly creation support. It happens in a
> separated thread to prevent blocking the main thread.
I applied this one and updated the Guix package revision. Let's see if
it brings some improvements.
Thanks,
Mathieu