aboutsummaryrefslogtreecommitdiff
path: root/guix/substitutes.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-12-28 15:12:46 +0100
committerMathieu Othacehe <othacehe@gnu.org>2023-01-07 14:11:45 +0100
commit62f9f345250d5e037634e7762f6404d5e868c179 (patch)
tree6f88ece1b4b66d8ac8d58b57e390729336026521 /guix/substitutes.scm
parent7c01abeb6ef9edd54cdaa6172cce4d50ca32ccf7 (diff)
downloadguix-62f9f345250d5e037634e7762f6404d5e868c179.tar
guix-62f9f345250d5e037634e7762f6404d5e868c179.tar.gz
scripts: publish: Add a custom baking header.
Log the not-found responses and their reason (baking or not) to stdout. Also send the X-Baking custom header so that the client can be informed of the cause of the failure. * guix/scripts/publish.scm (not-found): Add a baking? argument to add the X-Baking HTTP header to the response if baking is in progress. Also, log the 404 responses to stdout, indicating if it is due to baking or not. (render-narinfo/cached): Pass the baking? argument.
Diffstat (limited to 'guix/substitutes.scm')
0 files changed, 0 insertions, 0 deletions