On Fri 12 Jun 2009 at 02:25AM, Rich Burridge wrote:
> Dan Price wrote:
> >On Thu 11 Jun 2009 at 08:43AM, [email protected] wrote:
> >
> >>Author: Rich Burridge <[email protected]>
> >>Repository: /hg/pkg/gate
> >>Latest revision: b2aee412ba0dc19c0827b80adb34de95dd802cf0
> >>Total changesets: 1
> >>Log message:
> >>4395 Use pkg.summary for "pkg info" output
> >>8829 solaris.py should be able to add pkg.summary attributes
> >>
> >
> >So I'm following up based on my work on build_entire_incorporation.
> >
> >Is 'description' now dead completely? I can change
> >build_entire_incorporation to use pkg.summary. But I was a
> >little confused by the earlier thread about description vs.
> >summary. It seems like pkg list -s is still using description,
> >and not summary, so I assume it is not fully gone.
> >
>
> description is still there. See lines 746-756 in solaris.py.
> If an IPS package doesn't have a "summary" line and just a
> "description" line, it'll use that instead (see lines 786-787 in
> .../src/modules/client/api.py).
Rich,
I don't think you really answered either of my questions.
1) What metadata should be in entire?
Just description?
OR Both description and pkg.summary?
OR Just pkg.summary?
2) We're saying that 'pkg list -s' uses description and not
pkg.summary? Why shouldn't we do the same algorithm in list -s
as you do in the API? Or was this an oversight, and needs fixing?
-dp
--
Daniel Price, Solaris Kernel Engineering http://blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss