[pacman-dev] TotalDownload option.

Roman Kyrylych roman.kyrylych at gmail.com
Sun Nov 11 09:08:22 EST 2007


2007/11/11, Nathan Jones <nathanj at insightbb.com>:
> On Sat, Nov 10, 2007 at 12:14:27AM -0500, Eric Belanger wrote:
> > Why not put two percentages: one for the current package progress and one
> > for the total packages percent? I'm not sure how to display them in a way
> > that'll be user-friendly.
>
> Here are two possibilities. I personally don't like either of them, but
> I'll change it if I get enough pennies thrown at me again.
>
> Proceed with installation? [Y/n]
> :: Retrieving packages from core...
>  gcc-libs-4.2.2-2-i686   1081.1K  665.7K/s 00:00:02 [#################] 100%  8%
>  gcc-4.2.2-3-i686          10.0M 1009.0K/s 00:00:10 [########100%#########]  77%
> :: Retrieving packages from extra...
>  gcc-fortran-4.2.2-1-...   12.9M  926.2K/s 00:00:14 [#########75%#####----]  95%
>


Hm, I don't like % between ##, I think this would be ok:
gcc-libs-4.2.2-2-i686   1081.1K  665.7K/s 00:00:02 [#################]
100% |   8%
...
gcc-fortran-4.2.2-1-...   12.9M  926.2K/s 00:00:14
[#################----]  75% |  95%

and finished by
gcc-fortran-4.2.2-1-...   12.9M  926.2K/s 00:00:14
[#####################] 100% | 100%


P.S.: Take a look at this feature request:
http://bugs.archlinux.org/task/8331 ;-)
(though it is not related to TotalDownload but it's about progress too)

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list