On Mon, Jun 15, 2009 at 02:42:30PM -0700, Rich Burridge wrote: > Dan Price wrote: >> I don't think you really answered either of my questions. >> > > I just spoke with Danek on this. What's there (code in > solaris.py) at the moment isn't correct. It should be the > following (Danek please correct me if I get this wrong): > > * If an IPS package definition file has a > > summary "this is a package summary" > > line, it should add the following two lines to the IPS package manifest: > > set name=description value="this is a package summary" > set name=pkg.summary value="this is a package summary" > > If there is no "summary" line, then it'll look for a NAME field > in the SVR4 package manifest, and set those two lines based > on its value.
Right. The idea being that even old pkg(5) clients should be able to get the summary from the manifest. Eventually we'll want to phase this out. Perhaps remove it in the first build after the next release? >> 1) What metadata should be in entire? >> Just description? >> OR Both description and pkg.summary? >> OR Just pkg.summary? >> > > Assuming the fix for bug #9473 has been integrated, then if you > just want a short summary for entire, then you should have a > summary line. If you want both a short summary and a long description, > then your IPS package definition file should have both a summary line > and a description line. And so on... The "entire" package doesn't have an import file. So the answer to Dan's question, to match the policy stated above, will be "both". >> 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? > > With the proposed changes for bug #9473, then "pkg -s" will > print out the pkg.summary (aka the "description"). Currently > there isn't a pkg list option to print out the pkg.description. Nor should there be, likely. "pkg info" will probably want to spit it out, and the GUI will likely want to as well. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
