Hello Danek,

Sunday, August 24, 2008, 7:03:24 AM, you wrote:

DD> On Sun, Aug 24, 2008 at 04:09:03AM +0100, Robert Milkowski wrote:

>> Hello pkg-discuss,
>> 
>>       If I do 'pkg list -a' I will get all available versions of an
>>       each package in a repository - it's rather annoying.
>> 
>>       In 99% of cases end user is probably interested only in a most
>>       recent versions.
>> 
>>       I quickly "hacked" pkg tonight so if you do 'pkg list -a' it
>>       will provide only most recent version of a package if it is not
>>       installed and all versions for installed packages (assuming it
>>       is possible to have multiple versions of the same package to be
>>       installed).
>> 
>>       What do you think?

DD> Something definitely needs to be done about this, as the problem is only
DD> going to get worse over time, but I don't think we have a good handle on
DD> what the right solution is.  We still need an option to list every version.
DD> But the most common operation might involve showing the version that's
DD> installed as well as the latest version, or the version that you'd upgrade
DD> to if you upgraded the package.  Or maybe the first or last version of each
DD> range where the release value was identical (so you'd see 4.3.7, 4.3.9,
DD> 4.3.10, etc, but just one of each, even though there might be multiple
DD> instances).

    What I did is that unless you specify -v you will get all
    installed versions and only most recent one of packages in any
    other state. If you specify -v you will get everything.
    
    ?

-- 
Best regards,
 Robert Milkowski                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to