webrev: http://cr.opensolaris.org/~bpytlik/ips-4260-v2/
resyncs with the gate and modifies the category specific search code to make use of the methods that info required. If it's needed, I'll file another bug to track the change to the indexing code. Brock Brock Pytlik wrote: > This includes categories in the output of info. > > webrev: > http://cr.opensolaris.org/~bpytlik/ips-4260-v1/ > > Bug: > 4260 pkg info should print the classification > http://defect.opensolaris.org/bz/show_bug.cgi?id=4260 > > Sample output: > $ pkg info -r example_pkg > Name: example_pkg > Summary: > Category: Applications/Sound and Video (org.opensolaris.category.2008) > State: Not installed > Authority: local > Version: 0.5.11 > Build Release: 0.5.11 > Branch: 2.0 > Packaging Date: Wed Oct 29 00:29:07 2008 > Size: 0.00 B > FMRI: pkg:/[EMAIL PROTECTED],0.5.11-2.0:20081029T002907Z > > > And another sample in case we ever have more than one category system: > $ pkg info -r example_pkg > Name: example_pkg > Summary: > Category: Applications/Sound and Video (org.opensolaris.category.2008) > bar (foo) > State: Not installed > Authority: local > Version: 0.5.11 > Build Release: 0.5.11 > Branch: 2.0 > Packaging Date: Wed Oct 29 00:29:07 2008 > Size: 0.00 B > FMRI: pkg:/[EMAIL PROTECTED],0.5.11-2.0:20081029T002907Z > > > Thanks, > Brock > _______________________________________________ > 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
