diff options
author | Steve Sprang <scs@stevesprang.com> | 2015-09-14 22:31:11 -0700 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-16 23:50:12 +0200 |
commit | a8be7b9a7a73abdd9bf91a989dc10865800a0270 (patch) | |
tree | 9a5a7b8851d4aadea53dfbbafaacdf9d334795a9 /guix/utils.scm | |
parent | 41ddebdd2a94da127369ab13fb1ccaf226b30a43 (diff) | |
download | gnu-guix-a8be7b9a7a73abdd9bf91a989dc10865800a0270.tar gnu-guix-a8be7b9a7a73abdd9bf91a989dc10865800a0270.tar.gz |
substitute: Improve readability of download progress report.
* guix/build/download.scm
(string-pad-middle, store-url-abbreviation, store-path-abbreviation):
New procedures.
(progress-proc): Add #:abbreviation parameter and use it. Generate a
better indeterminate progress string.
* guix/scripts/substitute.scm (assert-valid-narinfo): Add newlines to output.
(process-substitution): Use byte-count->string and store-path-abbreviation.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/utils.scm')
0 files changed, 0 insertions, 0 deletions