On 08/20/12 16:40, Liane Praza wrote:
On 08/19/12 23:50, Shawn Walker wrote:
Greetings,

The following draft webrev and sample output is for the following bugfix/RFE:

7134154 install/image-update/uninstall -n uninformative
Sample output:
https://cr.opensolaris.org/action/browse/pkg/swalker/pkg-7134154-1/pcs_samples.txt

I just took a quick glance through, so my comments might not be comprehensive.

- Will this use a "human-friendly" attribute if set?  Can we see the
  proposed output for that, if so?

- I'm vaguely wondering if it's useful to print the Installed version if
there are updates to do. Like in the last example, maybe it should just
  say the proposed lines.  If there are no updates, Installed is always
  useful.

But, I'm happy to hear others' take on that. Could argue it either way.
  I think I mostly don't need the "what I have" info if I'm updating
  somewhere, and I can obviously always get it with pkg list/info.

- Frozen error messages are a real bummer... Not your doing, but I'm a bit
  surprised the solver doesn't diagnose when something's frozen and
  explicitly give that as cause rather than dumping the "no solutions to
  satisfy constraints" message.
Well, it does if you specify a version.

###############################################################################
# Update with 'entire@latest' with frozen U1 build 20 entire
###############################################################################
$ pkg update -n entire@latest
Creating Plan (Solver setup): -
pkg update: No matching version of entire can be installed:
  Reject:  pkg://solaris/[email protected],5.11-0.175.1.0.0.22.1:20120811T031139Z
  Reason:  This version is excluded by a freeze on entire at version 
0.5.11,5.11-0.175.1.0.0.20.0:20120709T191431Z.

Package Status Summary (No changes made)
             Package: entire
  Installed (Frozen): 0.5.11-0.175.1.0.0.20.0
              Latest: 0.5.11-0.175.1.0.0.22.1

Did you miss that example or did you want that output also in the case were all the user does is 'pkg update -n'?

Brock


Generally, though, this is a real improvement in optics about what an update did. Thanks for tackling phase 1.

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

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

Reply via email to