On 1/25/12 8:36 AM, Shawn Walker wrote:
On 01/25/12 06:05, Liane Praza wrote:
On 1/24/12 5:08 PM, Shawn Walker wrote:
On 01/24/12 16:48, Liane Praza wrote:
This is looking good, Shawn. I have some mostly minor comments.

On 1/12/12 4:28 PM, Shawn Walker wrote:

END-USER EXAMPLES
=================
# pkg update -n
...
PACKAGE CHANGE SUMMARY
solaris
entire

I know you said you're not convinced yet, but this is a bit opaque to
me, especially as we get to the subsequent examples in END-USER. I'd
really wonder about combining them on the same line with some labeling.

Hmm. I was trying to avoid showing the same publisher multiple times if
multiple incorporations are shown to be updating; this is similar to the
current output you see from 'pkg update -nv'.

I'm open to suggestions here as I can't seem to find a display format
that is easy on the eye. Some possibilities I can think of quickly are
(note I purposefully omitted version text for layout clarity below):

One other possibility. What about the "package (publisher)" layout
currently used in pkg list? e.g. entire (solaris)? Looking through your
examples below, the thing that's hardest on the eye for me is when the
publisher is on a separate line than the incorporation, and with no
labeling. I end up having to engage my brain more to differentiate
what's the publisher versus what's the package (especially with
"entire"). And I very much want to know that information. Repeating the
publisher when necessary doesn't bug me, especially if it's on the same
line as the package.

consolidation/osnet/osnet-incorporation (on-nightly)
Installed:
Proposed:
Latest:

consolidation/ips/ips-incorporation (pkg5-nightly)
Installed:
Proposed:
Latest:

Other than that, format 3/4 is most appealing to me. I'm on the fence
about the whitespace between packages. It's probably useful, but I don't
feel super strongly.

Another thing to note is that I'm trying to fit all of this output in 80
columns so it doesn't wrap by default. That's why in many cases, the
actual version of a package will be shown on the following line if there
is a pkg.human-version. However, if there's enough room to fit both on
the same line, it will do that. I admit this makes the cases that would
wrap less readable in some regards, but that seemed preferable to
letting the text wrap.

Sounds reasonable.


Hmm; combining the ideas then (best viewed with a monospace font):

Example A
=========
Package: entire (solaris)
Installed: FCS Build 2 (0.5.11-0.175.0.0.0.2.0)
Latest: SRU 2 Build 3 (0.5.11-0.175.0.2.0.3.0)
Proposed: SRU 1 Build 2 (0.5.11-0.175.0.1.0.2.0)

Example B
=========
Package: entire (solaris)
Installed: FCS Build 2 (0.5.11-0.175.0.0.0.2.0)
Proposed (Latest): SRU 2 Build 3 (0.5.11-0.175.0.2.0.3.0)

Example B
=========
Package: consolidation/osnet/osnet-incorporation (solaris)
Installed: Update 1 Build 6 Nightly 18318 (0.5.11-0.175.1.0.0.6.18318)
Latest: Update 1 Build 6 Nightly 18756 (0.5.11-0.175.1.0.0.6.18756)
Proposed: Update 1 Build 6 Nightly 18339 (0.5.11-0.175.1.0.0.6.18339)

Package: consolidation/ips/ips-incorporation (pkg5-nightly)
Installed: Update 1 Build 6 Nightly 18318 (0.5.11-0.175.1.0.0.6.18318)
Latest: Update 1 Build 6 Nightly 18756 (0.5.11-0.175.1.0.0.6.18756)
Proposed: Update 1 Build 6 Nightly 18339 (0.5.11-0.175.1.0.0.6.18339)

Example C
=========
Package: consolidation/osnet/osnet-incorporation (solaris)
Installed: Update 1 Build 6 Nightly 18318
(0.5.11-0.175.1.0.0.6.18318)
Proposed (Latest): Update 1 Build 6 Nightly 18756
(0.5.11-0.175.1.0.0.6.18756)

Package: consolidation/ips/ips-incorporation (pkg5-nightly)
Installed: Update 1 Build 6 Nightly 18318
(0.5.11-0.175.1.0.0.6.18318)
Proposed (Latest): Update 1 Build 6 Nightly 18756
(0.5.11-0.175.1.0.0.6.18756)


I couldn't decide whether to use "Latest (Proposed)" or "Proposed
(Latest)" above. Bleh.

All of these look very reasonable to me. I think the only difference left in these whether to do:
Latest:
Proposed:

or

Proposed (Latest):

I'm tempted by the second form, but honestly, all of the above look good to me, so it's just a vague preference. I'm also slightly for Proposed (Latest) over Latest (Proposed), but that's not very strong either.

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

Reply via email to