Hi all,
(This is for after OpenSolaris 2009.06).
Looking for a code review of the proposed fixes for
bug #8970 and bug #8976:
http://defect.opensolaris.org/bz/show_bug.cgi?id=8970
Add some classifications to the 'studio' import file.
http://defect.opensolaris.org/bz/show_bug.cgi?id=8976
Adjust gen_os_files.py script to allow multiple classifications per
package.
Webrev is at:
http://cr.opensolaris.org/~richb/pkg-8970-8976-v1/
Changes are in four parts:
* Changes to the Studio IPS package definition file to add in extra
classification lines.
* Changes to the solaris.py script, to handle multiple classifications per
package.
* Changes to the gen_os_files.py script, to allow multiple classifications
to be written out to opensolaris.org file, used by the GUI Package Mgr.
* The updated opensolaris.org file with multiple classifications for the
sunstudioexpress file.
Doing a "pkg info sunstudioexpress" on an installed package (like
sunstudioexpress) with multiple classifications now shows:
$ pkg info sunstudioexpress
Name: sunstudioexpress
Summary: Sun Studio Express - C, C++, & Fortran compilers and Tools
Category: Development/C (org.opensolaris.category.2008)
Development/C++ (org.opensolaris.category.2008)
Development/High Performance Computing
(org.opensolaris.category.2008)
Development/Integrated Development Environments
(org.opensolaris.category.2008)
Development/Suites (org.opensolaris.category.2008)
State: Installed
Publisher: bug-8970
Version: 0.2009.3
Build Release: 5.11
Branch: 0.111
Packaging Date: Mon May 18 17:28:10 2009
Also copying the new opensolaris.org and opensolaris.org.sections
files to /usr/share/package-manager/data and blowing away the cache:
$ pfexec rm -rf /var/pkg/gui_cache/
and then restarting the GUI Package Manager, showed sunstudioexpress
in all the above categories.
Thanks.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss