darcs

Issue 1306 size/speed/progress reporting in get, pull, etc.

Title size/speed/progress reporting in get, pull, etc.
Priority feature Status needs-implementation
Milestone 2.8.0 Resolved in
Superseder Nosy List dmitry.kurochkin, exlevan, kowey, mornfall, thorkilnaur, twb
Assigned To exlevan
Topics HTTP, Performance, SSH, UI

Created on 2009-01-09.00:37:11 by twb, last changed 2010-07-01.09:58:38 by kowey.

Messages
msg7023 (view) Author: twb Date: 2009-01-09.00:37:06
Doing a "git clone" (like "darcs get"), I see this:

    Receiving objects: 100% (5994/5994), 1.02 MiB | 127 KiB/s, done.

It would be nice if Darcs would also tell me about the size and speed
of network transfers.  When a cache is enabled, it should also tell me
how much was grabbed locally instead of downloading, e.g.

    $ darcs get --tag 1.0.0 $URL
    [...]
    Downloaded 10MB from network and found 520MB in local cache(s).

Ideally it would even tell me how much had to be downloaded *before*
the download started, e.g. below.  However I don't think the current
repository formats make that easy -- darcs would need to use HTTP HEAD
on each patch and look at the Content-Length header.

    $ darcs get --tag 1.0.0 $URL
    Need to get 10MB/530MB of patches. After applying 18MB will be used.
    Fetching patch 1/8770

    <oh no!  I don't even have that much disk space!>
    ^C Interrupted
msg11659 (view) Author: kowey Date: 2010-07-01.09:57:37
Hi Alexey,

Here's another ticket which I think may be related to your GSoC project.
 Again, not an obligation, just pinning this to you for my tracking. 
Thanks!
History
Date User Action Args
2009-01-09 00:37:11twbcreate
2009-01-09 00:51:45twbsetpriority: wishlist
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
2009-01-25 06:41:30twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
2009-03-28 12:18:35twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
2009-08-18 19:51:05koweysetstatus: unread -> needs-implementation
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
topic: + SSH, UI, HTTP
2009-08-25 17:38:26adminsetnosy: + darcs-devel, - simon
2009-08-27 14:27:22adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin
2010-03-23 19:42:17koweysettopic: + Performance
2010-07-01 09:57:38koweysetnosy: + exlevan, mornfall, - darcs-devel
title: wish: size/speed reporting in get, pull, etc. -> wish: size/speed/progress reporting in get, pull, etc.
messages: + msg11659
assignedto: exlevan
2010-07-01 09:58:38koweysetpriority: wishlist -> feature
title: wish: size/speed/progress reporting in get, pull, etc. -> size/speed/progress reporting in get, pull, etc.
milestone: 2.8.0