[PATCH] setup: add "Size" column to chooser (take 2)

Max Bowsher maxb@ukf.net
Mon Jun 20 01:31:00 GMT 2005


Igor Pechtchanski wrote:
> Here's a new iteration of this patch.  It incorporates Max's review and
> adds comments in the size computation logic.
>
> The size is now computed as follows: if the binary or the source package
> is selected, the total size of the selected packages is used.  Otherwise,
> the size of the binary package is shown (if one exists), else the size of
> the source (if one exists), else "?".  As Max, I'm not sure this is the
> right solution -- comments welcome.

I've had a chance to build and play with it now - and overall, I think it's rather nice! :-)

One last thing, though:
Should we keep the sizes in bytes, so that the length of the number is an immediate visual indication of package size, or would use 
of kilo/mega suffices be better, combined with rounding to 3 significant digits, to minimize the horizontal space used?

Max.



More information about the Cygwin-apps mailing list