diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-05-11 15:01:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-05-16 23:28:11 +0200 |
commit | 938ffcbb0589adc07dc12c79eda3e1e2bb9e7cf8 (patch) | |
tree | 9e997f834176b4e438aa1a007d44532af59b1388 /m4 | |
parent | dc3504913de4a2c549482001f7087362f5400f29 (diff) | |
download | guix-patches-938ffcbb0589adc07dc12c79eda3e1e2bb9e7cf8.tar guix-patches-938ffcbb0589adc07dc12c79eda3e1e2bb9e7cf8.tar.gz |
publish: Add '--negative-ttl'.
* guix/scripts/publish.scm (show-help, %options): Add '--negative-ttl'.
(render-narinfo, render-narinfo/cached, make-request-handler): Add #:negative-ttl
and honor it.
(run-publish-server): Add #:narinfo-negative-ttl and honor it.
(guix-publish): Honor '--negative-ttl'.
* tests/publish.scm ("negative TTL", "no negative TTL"): New tests.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions