seth vidal schrieb:
On Tue, 2007-10-30 at 23:34 -0700, John Poelstra wrote:
> seth vidal wrote:
>
>> On Fri, 2007-10-26 at 13:14 -0700, John Poelstra wrote:
>>
>>> seth vidal said the following on 10/26/2007 11:41 AM Pacific Time:
>>>
>>>> On Fri, 2007-10-26 at 11:41 -0700, John Poelstra wrote:
>>>>
>>>>> seth vidal said the following on 10/26/2007 05:42 AM Pacific Time:
>>>>>
>>>>>> The issue is where to put the data on the screen and how to keep
from
>>>>>> confusing the user. We could definitely say 'total installed
size' in
>>>>>> the total summary but putting installed size next to download
size for
>>>>>> each package just eats up valuable screen real-estate on a
console.
>>>>>>
>>>>>>
>>>>> So why not...
>>>>>
>>>>> For removing or examining installed packages:
>>>>>
>>>>>
===================================================================================
>>>>> Package Arch Version Repository
Installed Size
>>>>>
===================================================================================
>>>>> Removing:
>>>>> vixie-cron x86_64 4:4.2-3.fc8 installed
665 k
>>>>>
>>>>> Transaction Summary
>>>>>
=============================================================================
>>>>> Install 0 Package(s) Update 0 Package(s)
Remove 1 Package(s)
>>>>> Is this ok [y/N]:
>>>>>
>>>>>
>>>>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>> For downloading:
>>>>>
>>>>>
==================================================================================
>>>>> Package Arch Version Repository
Download Size
>>>>>
==================================================================================
>>>>> Installing:
>>>>> vixie-cron x86_64 4:4.2-3.fc8 junior
100 k
>>>>>
>>>>> Transaction Summary
>>>>>
=============================================================================
>>>>> Install 1 Package(s) Update 0 Package(s)
Remove 0 Package(s)
>>>>> Total download size: 100 k
>>>>> Is this ok [y/N]:
>>>>>
>>>> unless i'm reading this wrong.
>>>> that's what it is, now.
>>>>
>>>> -sv
>>>>
>>>>
>>>>
>>> Nope. I'm suggesting removing the ambiguity
>>>
>>> One is "installed size"
>>>
>>> The other is "download size"
>>>
>> and for a mix-and-match transaction?
>>
>> yum shell
>> remove foo
>> install bar
>> update baz
>> run
>>
>> what should it show?
>>
>> -sv
>>
>>
>>
> Not sure I follow. Most users have never heard of yum shell. I am
> advocating changing the scenarios above.
>
and I'm saying we still need to display for cases when we're doing both
a removal and an install as updates/upgrades frequently end up doing
both.
-sv
sv> The issue is where to put the data on the screen
sv> and how to keep from confusing the user.
sometimes it is annoying not to see the complete packagename:
(125/1047): openoffice.o 2% [== ] n:n ETA
could it be possible
1; to display the "sometimes-really-long-packagenames" in one line
or "packagename - arch - version" (for |grep and |sort) in one line ?
2; to add a statusline with all the "Total Infos" ?
# yum update kernel\*
=============================================================================
Package
Arch Version Repository Download Size
Install Size
=============================================================================
Updating:
kernel-headers
x86_64 2.6.23.1-10.fc7 updates 678 k nnn
Removing:
kernel
x86_64 2.6.22.7-57.fc6 installed nnn 63 M
kernel
x86_64 2.6.22.9-61.fc6 installed nnn 63 M
kmod-ntfs
x86_64 2.1.28-3.2.6.22.9_61.fc6 installed nnn 310 k
kmod-ntfs
x86_64 2.1.28-3.2.6.22.7_57.fc6 installed nnn 310 k
Installing for dependencies:
kernel
x86_64 2.6.23.1-10.fc7 updates 16 M nnn
kmod-ntfs
x86_64 2.1.28-4.2.6.23.1_10.fc7 livna 95 k nnn
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 1 Package(s)
Remove 4 Package(s)
Total download size: 17 M
Is this ok [y/N]:
Downloading Packages:
(1/3): kernel-headers-2.6 100% |=========================| 678 kB
00:03
(2/3): kmod-ntfs-2.1.28-4 100% |=========================| 95 kB
00:00
(3/3): kernel-2.6.23.1-10 100% |== | 2 MB 01:11
-------------------------------------------------------------------------------
Staus: Downloading 3 Packages, Total Download Size nn, Total Install
Size nn, n:n Total ETA
-------------------------------------------------------------------------------
Running rpm_check_debug
Running Transaction Test
[...]
--
shrek-m