Ludovic Courtès
ecaa102a58
publish: Add '--cache-bypass-threshold'.
* guix/scripts/publish.scm (show-help, %options): Add
'--cache-bypass-threshold'.
(low-compression): New procedure.
(cache-bypass-threshold): New parameter.
(bypass-cache?): New procedure.
(render-narinfo/cached): Call 'render-narinfo' when 'bypass-cache?'
returns true.
(render-nar/cached): Call 'render-nar' when 'bypass-cache?' returns
true.
(guix-publish): Parameterize 'cache-bypass-threshold'.
* tests/publish.scm ("with cache", "with cache, lzip + gzip")
("with cache, uncompressed"): Pass '--cache-bypass-threshold=0'.
("with cache, vanishing item"): Expect 200 for RESPONSE.
("with cache, cache bypass"): New test.
2020-10-28 16:24:47 +01:00
..
2020-08-02 15:54:37 +03:00
2019-08-28 00:27:14 +02:00
2020-08-29 16:24:17 +02:00
2020-10-18 15:32:54 +02:00
2019-11-26 00:16:35 +01:00
2019-06-14 21:57:18 +02:00
2020-03-22 16:49:47 +01:00
2020-05-22 01:29:39 +02:00
2020-10-12 18:23:47 +02:00
2020-05-04 09:56:12 +02:00
2020-10-01 12:51:13 +02:00
2020-01-15 18:40:43 +01:00
2020-01-16 23:14:05 +01:00
2020-04-27 23:29:40 +02:00
2019-10-23 16:40:17 +02:00
2019-10-23 16:40:17 +02:00
2018-11-12 23:37:13 +01:00
2020-05-22 01:29:39 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-06-05 22:54:06 +02:00
2020-06-05 22:54:06 +02:00
2020-01-16 23:14:05 +01:00
2020-05-20 08:30:35 -04:00
2020-04-27 23:29:40 +02:00
2020-05-25 23:00:30 +02:00
2020-06-28 23:26:53 +02:00
2020-06-09 00:34:52 +02:00
2018-03-18 22:57:17 +01:00
2019-06-27 23:33:48 +02:00
2020-10-20 16:30:15 +02:00
2019-05-18 12:10:15 +02:00
2020-09-28 21:06:36 -05:00
2020-09-15 14:40:20 +02:00
2020-09-28 21:06:36 -05:00
2020-10-20 16:30:15 +02:00
2020-09-28 21:06:36 -05:00
2018-09-07 11:40:22 +02:00
2020-09-28 21:06:36 -05:00
2020-10-05 10:41:59 +02:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2019-05-18 12:23:31 +02:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-10-02 23:28:09 +02:00
2020-09-28 21:06:36 -05:00
2020-10-02 23:28:09 +02:00
2020-09-16 16:04:01 +02:00
2020-10-02 08:11:38 +02:00
2019-06-20 14:07:01 +02:00
2019-12-11 12:13:03 +01:00
2020-03-21 22:16:02 +01:00
2020-07-25 19:11:37 +02:00
2019-12-12 17:56:57 +01:00
2019-10-30 18:15:54 -04:00
2020-08-25 13:45:27 -04:00
2020-10-02 00:44:14 +02:00
2020-09-29 22:53:36 +02:00
2020-07-20 23:25:09 +02:00
2020-10-20 16:30:15 +02:00
2018-09-04 17:25:11 +02:00
2020-04-20 10:57:49 +02:00
2019-12-10 10:49:42 +01:00
2020-04-26 22:49:48 +02:00
2020-10-28 16:24:47 +01:00
2020-07-25 19:11:36 +02:00
2020-01-16 18:30:57 +01:00
2020-05-04 09:56:12 +02:00
2020-10-20 16:30:16 +02:00
2019-03-24 00:13:53 +01:00
2019-06-14 22:09:38 +02:00
2019-07-26 19:19:49 +02:00
2018-11-12 23:37:13 +01:00
2019-02-05 12:03:25 +01:00
2018-07-20 15:01:33 +02:00
2018-12-14 12:07:24 +01:00
2019-04-10 17:09:47 +02:00
2020-09-14 15:42:56 +02:00
2020-08-24 13:35:24 +02:00
2020-02-27 23:29:30 +01:00
2020-06-28 23:32:52 +02:00
2018-06-21 23:54:15 +02:00
2020-01-17 14:22:08 +01:00
2020-03-25 16:02:53 +01:00
2019-06-14 21:57:39 +02:00
2019-01-28 23:13:40 +01:00
2020-08-24 13:35:24 +02:00
2019-05-07 12:18:44 +02:00