Shawn,
Here's a webrev to adjust Package Version Info. Should now handle the
various scenarios. The strings have been adjusted along the lines you
suggested, namely Installable Version -> Upgradeable Version as
appropriate and Details text explains that they "may be" able to install
or upgrade the package having run an "Updates".
http://cr.opensolaris.org/~jmr/pm_13234_package_version_info_updates_11Dec_110pm/
13234 PM Package Version Info failing in certain instances
JR
John Rice wrote:
Ok some examples:
We need to show the user:
Installed:
Installable: <-- what will go on their system, established from the plan
Latest: <-- what's the latest in the repository, only show this, if
Installable is not equal to Latest.
Ah, so "installable" here really means "updatable to". If you are using
the word installable when describing this version to the user, might I
suggest changing it to "Upgradable To" or something related to
upgrade/update?
Perhaps something like:
Installed Version: V1.0-126
Latest Build Version: v1.1-126
Latest Distribution Version: V2.0-127
In short, trying to differentiate between build updates and distribution
updates.
That way they can better understand why when upgrading a package from
0.3 which has a later version of say 0.5 in the repo they can only go
to 0.4.
Yes, this is something Bart struggled with when writing error messages
for the new solver when it can't upgrade.
The plan will tell them they can go to 0.4, but we want to see if this
is the latest version or not. If it is not then we flag this to the
user and explain that they can only get the latest version 0.5 by
doing the equivalent of an image-update in the GUI using Updates.
It isn't necessarily true that an image-update will allow them to get a
newer version. That entirely depends on if the package is incorporated,
etc. The best you can do is tell the user that they *may* be able to
upgrade to the newer version by performing an "update all".
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss