guix-devel/tests
Ludovic Courtès 9b9de08477
publish: Add a 'Cache-Control' header on /nar responses.
Fixes <https://bugs.gnu.org/33721>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/publish.scm (render-nar/cached): Add #:ttl and honor it.
(make-request-handler): Pass #:ttl to 'render-nar/cached'.
* tests/publish.scm ("with cache, uncompressed"): Pass "--ttl=42h" to
'guix publish'.  Check 'Cache-Control' on narinfo response and on nar
response.
2018-12-17 23:33:42 +01:00
..
base16.scm
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm
bournish.scm
build-utils.scm
builders.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cache.scm
challenge.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
channels.scm guix: Add support for channel dependencies. 2018-12-09 13:55:22 +01:00
combinators.scm
containers.scm
cpan.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cpio.scm
cran.scm
crate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cve-sample.xml
cve.scm
debug-link.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
derivations.scm derivations: Add properties. 2018-11-28 10:39:58 +01:00
discovery.scm
elpa.scm tests: elpa: Don't actually download files. 2018-03-18 22:33:41 +01:00
file-systems.scm
gem.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gexp.scm Merge branch 'master' into core-updates 2018-11-29 15:56:49 +01:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm
grafts.scm grafts: Record metadata as derivation properties. 2018-11-28 10:39:58 +01:00
graph.scm tests: Adjust graph test. 2018-06-06 14:37:35 +02:00
gremlin.scm Merge branch 'staging' into core-updates 2018-08-25 16:44:07 +02:00
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh git: Nicely report '--with-commit' errors. 2018-11-30 17:03:04 +01:00
guix-build.sh guix build: '-f' accepts file-like objects. 2018-10-09 18:54:12 +02:00
guix-daemon.sh guix-daemon: Disable garbage collection for remote connections. 2018-04-19 19:06:26 +02:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh
guix-environment-container.sh
guix-environment.sh environment: Support package transformation options. 2018-12-17 23:33:42 +01:00
guix-gc.sh guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh pack: Add '--profile-name'. 2018-11-23 15:42:01 +01:00
guix-pack-relocatable.sh pack: Add test for '--relocatable'. 2018-11-06 23:21:24 +01:00
guix-pack.sh store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
guix-package-net.sh
guix-package.sh guix package: '--show' errors when asked for a non-existent package. 2018-11-11 23:53:29 +01:00
guix-system.sh services: dhcp-client: Deprecate 'dhcp-client-service' procedure. 2018-10-18 01:12:22 +02:00
hackage.scm import: hackage: Evaluate "-any" and "-none" version comparison operators. 2018-07-12 20:35:04 +02:00
import-utils.scm
inferior.scm inferior: Add 'inferior-eval-with-store'. 2018-11-28 10:39:58 +01:00
lint.scm lint: 'check-derivation' tries all the package's supported systems. 2018-11-20 18:36:05 +01:00
modules.scm
monads.scm
nar.scm deduplication: Restore directory mtime and permissions after deduplication. 2018-11-13 14:59:46 +01:00
opam.scm import: Update opam importer. 2018-12-17 21:43:51 +01:00
pack.scm store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
packages.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm
processes.scm Add 'guix processes'. 2018-10-29 00:13:38 +01:00
profiles.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
publish.scm publish: Add a 'Cache-Control' header on /nar responses. 2018-12-17 23:33:42 +01:00
pypi.scm gnu: Use pypi.org. 2018-10-18 23:46:33 -04:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts-build.scm
scripts.scm
search-paths.scm
services.scm tests: Adjust services tests to new 'shepherd-service-upgrade'. 2018-09-27 23:58:05 +02:00
sets.scm
signing-key.pub
signing-key.sec
size.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
snix.scm
status.scm ui: Fix port-buffering with guile@2.0. 2018-10-16 17:12:09 -05:00
store-database.scm database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
store-deduplication.scm deduplication: Gracefully handle ENOSPC raised by 'link' calls. 2018-12-14 12:07:24 +01:00
store.scm daemon: Support multiplexed build output. 2018-10-15 22:40:35 +02:00
substitute.scm substitute: Ignore irrelevant narinfo signatures. 2018-12-14 00:02:59 +01:00
syscalls.scm syscalls: Define AT_SYMLINK_NOFOLLOW et al. 2018-07-03 17:50:04 +02:00
system.scm system: Mapped devices needed for boot do not yield Shepherd services. 2018-06-21 23:54:15 +02:00
test.drv
texlive.scm
ui.scm
union.scm union: Add 'relative-file-name'. 2018-05-10 14:53:56 +02:00
upstream.scm
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
uuid.scm uuid: 'uuid' returns #f when 'string->uuid' returns #f. 2018-05-19 00:14:52 +02:00
workers.scm
zlib.scm