Re: [PATCH] cg-pull: summarize the number of pulled objects
- From
Petr Baudis <pasky@ucw.cz>
- Date
- May 30, 2005, 08:20 UTC
- Message-ID
- <20050530082054.GB1036@pasky.ji.cz>
- In-Reply-To
- <20050530015650.GB10715@diku.dk>
Dear diary, on Mon, May 30, 2005 at 03:56:50AM CEST, I got a letter where Jonas Fonseca <fonseca@diku.dk> told me that...
Show 13 quoted lines
> Show cg-pull progress by summarizing the very verbose output of the pull > backends into a continously updated line specifying the number of > objects which have already been pulled. > > Signed-off-by: Jonas Fonseca <fonseca@diku.dk> > --- > > Straight from the bloat department, perhaps, but it is nice to not have > the terminal backlog ruined and the object count is quite nice too. :) > > Interesting, it counts 4950 objects when pulling over rsync and 4454 > objects when pulling locally. Didn't test HTTP pulling other than to see > if the "got <sha>" lines was matched correctly.
It is nice, but actually losing information for me. It's ok for the HTTP and SSH "smart pulls", but if I pull over rsync, I have progress indication based on the first two digits - assuming roughly even distribution of hashes, I can see that when I cross 80/ I'm in the half etc. So what about showing some percentage or something in that case?
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor