diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-03 22:27:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-03 23:18:47 +0200 |
commit | ee2691fa33f117bcf51b148b81bb8bc4e7b13a58 (patch) | |
tree | 8c881470f9a190e0213ca60e02367b6e7d702cfc /guix | |
parent | 1acd107c6b0e5613bc001347945d7c3f00e3157b (diff) | |
download | gnu-guix-ee2691fa33f117bcf51b148b81bb8bc4e7b13a58.tar gnu-guix-ee2691fa33f117bcf51b148b81bb8bc4e7b13a58.tar.gz |
services: guix-publish: Allow for multi-compression.
This is a followup to b8fa86adfc01205f1d942af8cb57515eb3726c52.
* guix/deprecation.scm (warn-about-deprecation): Make public.
* gnu/services/base.scm (<guix-publish-configuration>)[compression]: New
field.
[compression-level]: Default to #f. Add '%' to getter name.
(guix-publish-configuration-compression-level): Define as deprecated.
(default-compression): New procedure.
(guix-publish-shepherd-service)[config->compression-options]: New
procedure.
Use 'match-record' instead of 'match'.
* doc/guix.texi (Base Services): Remove 'compression-level' and document
'compression'.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/deprecation.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/deprecation.scm b/guix/deprecation.scm index 2f7c058940..d704e7ec61 100644 --- a/guix/deprecation.scm +++ b/guix/deprecation.scm @@ -21,6 +21,7 @@ #:use-module (ice-9 format) #:export (define-deprecated define-deprecated/alias + warn-about-deprecation deprecation-warning-port)) ;;; Commentary: |