[darcs-devel] [issue1306] wish: size/speed reporting in get, pull, etc.

Trent Buck bugs at darcs.net
Fri Jan 9 00:37:11 UTC 2009


New submission from Trent Buck <trentbuck at gmail.com>:

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

----------
messages: 7023
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: wish: size/speed reporting in get, pull, etc.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1306>
__________________________________


More information about the darcs-devel mailing list