diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2017-09-16 14:10:18 -0600 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2017-09-20 19:49:31 +0800 |
commit | 798648515b77507c242752457b4dc17c155bad6e (patch) | |
tree | bc2eef3747fd694efd5c0c065e56330c8257f453 /gnu/packages/qt.scm | |
parent | f1b65d0dd964e4c457e660b9289a357447939d93 (diff) | |
download | guix-798648515b77507c242752457b4dc17c155bad6e.tar guix-798648515b77507c242752457b4dc17c155bad6e.tar.gz |
download: Don't report the progress too fast.
* guix/utils.scm (<progress-reporter>): New record type.
(call-with-progress-reporter): New procedure.
* guix/build/download.scm (dump-port*, rate-limited, progress-reporter/file):
New procedures.
(ftp-fetch, http-fetch): Use 'dump-port*'.
(progress-proc): Remove procedure.
* guix/scripts/substitute.scm (progress-report-port): Rewrite in terms of
<progress-reporter>.
(process-substitution): Adjust accordingly.
Diffstat (limited to 'gnu/packages/qt.scm')
0 files changed, 0 insertions, 0 deletions