summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell-web.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-10-05 23:05:19 +0200
committerLudovic Courtès <ludo@gnu.org>2018-10-05 23:54:18 +0200
commit42384b517ed5352bb50fb9c0c5f49b168c198004 (patch)
tree2b72e8ac905c0454f5bfa4149c80667e44f8ddd9 /gnu/packages/haskell-web.scm
parent11ff2adc74f3c168cadb6cc5bf7f4be08442b9ea (diff)
downloadpatches-42384b517ed5352bb50fb9c0c5f49b168c198004.tar
patches-42384b517ed5352bb50fb9c0c5f49b168c198004.tar.gz
progress: Fix total size in "@ download-succeeded" traces.
Fixes a regression introduced in 1d0be47ab680db938ac8da1ee65e1de91e198f67 whereby the total size for directories (coming from substitutes) would be 4KiB. This led the progress bar to go back to the start, typically. * guix/progress.scm (progress-reporter/trace): Add 'total'. In 'start', initialize it. Adjust 'report' to update it. Adjust 'stop' to prefer SIZE as the actual size and then TOTAL. Do not use the size of FILE as the total since that could be 4KiB when FILE is a directory.
Diffstat (limited to 'gnu/packages/haskell-web.scm')
0 files changed, 0 insertions, 0 deletions