[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: publish: Display the compression method and level in use.
From: |
guix-commits |
Subject: |
09/09: publish: Display the compression method and level in use. |
Date: |
Mon, 27 May 2019 16:49:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 35d1354fe87003dbe19b1b97aa64db1f7d989701
Author: Ludovic Courtès <address@hidden>
Date: Mon May 27 22:38:15 2019 +0200
publish: Display the compression method and level in use.
* guix/scripts/publish.scm (guix-publish): Use 'info' instead of
'format' for the initial message. When COMPRESSION is true, display the
method and level in use.
---
guix/scripts/publish.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index 11e7e98..889dbef 100644
--- a/guix/scripts/publish.scm
+++ b/guix/scripts/publish.scm
@@ -987,10 +987,15 @@ consider using the '--user' option!~%")))
(parameterize ((%public-key public-key)
(%private-key private-key))
- (format #t (G_ "publishing ~a on ~a, port ~d~%")
- %store-directory
- (inet-ntop (sockaddr:fam address) (sockaddr:addr address))
- (sockaddr:port address))
+ (info (G_ "publishing ~a on ~a, port ~d~%")
+ %store-directory
+ (inet-ntop (sockaddr:fam address) (sockaddr:addr address))
+ (sockaddr:port address))
+
+ (when compression
+ (info (G_ "using '~a' compression method, level ~a~%")
+ (compression-type compression) (compression-level
compression)))
+
(when repl-port
(repl:spawn-server (repl:make-tcp-server-socket #:port repl-port)))
- branch master updated (8916034 -> 35d1354), guix-commits, 2019/05/27
- 01/09: lzlib: Adjust 'lz-compress-read' docstring., guix-commits, 2019/05/27
- 04/09: utils: Support compression and decompression with lzip., guix-commits, 2019/05/27
- 03/09: utils: Test 'compressed-port' and 'decompressed-port' for both gzip and xz., guix-commits, 2019/05/27
- 02/09: lzlib: Add 'make-lzip-input-port/compressed'., guix-commits, 2019/05/27
- 06/09: self: Add dependency on lzlib., guix-commits, 2019/05/27
- 08/09: lzlib: 'lzread!' never returns more than it was asked for., guix-commits, 2019/05/27
- 07/09: gnu: guix: Add dependency on lzlib., guix-commits, 2019/05/27
- 09/09: publish: Display the compression method and level in use.,
guix-commits <=
- 05/09: publish: Add support for lzip., guix-commits, 2019/05/27