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?

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

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

Reply via email to