Tom Mueller wrote:
Shouldn't the attribute be "pkg.summary" in the get (line 792)?

I don't think so, but I'll let somebody more knowledgeable
with the pkg code also respond.

Thanks.

Rich Burridge wrote:
Hi all,

(This is for after OpenSolaris 2009.06).

(It's also in conjunction with the fix for bug #8829)

Looking for a code review of the proposed fix for bug #4395:

 http://defect.opensolaris.org/bz/show_bug.cgi?id=4395
 Use pkg.summary for "pkg info" output

Webrev is at:

 http://cr.opensolaris.org/~richb/pkg-4395-v1/

Tested by doing a "pkg info" on the modified SUNWiscsi package
installed on my system, which has now has a summary line, plus
a "pkg info" on a package which doesn't have a summary line.
Gratuitous newline added to make the output clearer.

$ cat ./runit.sh
#!/bin/sh
export PYTHONPATH=/export/home/richb/pkg/bugs/4395/gate/proto/root_i386/usr/lib/python2.4/vendor-packages (cd /export/home/richb/pkg/bugs/4395/gate/proto/root_i386/usr/bin; ./pkg info SUNWiscsi) (cd /export/home/richb/pkg/bugs/4395/gate/proto/root_i386/usr/bin; ./pkg info SUNWcsl)

$ ./runit.sh                                         Name: SUNWiscsi
Summary: This is a long winded package summary describing this package that extends over several lines and contains everything you need to know to understand what the package does
     Category: System/Hardware
        State: Installed
    Publisher: bug-8829
      Version: 0.5.11
Build Release: 5.11
       Branch: 0.111
Packaging Date: Mon May 11 15:46:33 2009
         Size: 777.64 kB
FMRI: pkg://bug-8829/[email protected],5.11-0.111:20090511T154633Z
                  Name: SUNWcsl
      Summary: Core Solaris, (Shared Libs)
     Category: System/Core
        State: Installed
    Publisher: osol-re
      Version: 0.5.11
Build Release: 5.11
       Branch: 0.111
Packaging Date: Sat Apr 18 18:41:14 2009
         Size: 43.98 MB
         FMRI: pkg://osol-re/[email protected],5.11-0.111:20090418T184114Z

Thanks.

_______________________________________________
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