Hi all, I'm looking for a review of the fix for bug #4483:
http://defect.opensolaris.org/bz/show_bug.cgi?id=4483 Need to create the GUI Package Manager opensolaris.org file from the existing package classifications. Webrev is at: http://cr.opensolaris.org/~richb/pkg-4483-v1/ The problem is that the GUI Package Manager currently uses its own data file of package classifications for the pkg.opensolaris.org repository (/usr/share/package-manager/data/opensolaris.org), rather than the package classifications provided as meta-data in the package manifests. That means that we currently need to keep this in sync with all the new packages as they are added to the repo, and with any changes in package classification. The new .../src/util/distro-import/gen_os_file.py script does that. It will read all the package classifications out of the .../src/util/distro-import/<NN>[common,sparc,i386]<package_name> files and use them to construct the opensolaris.org file. If more than one is found, it uses the one from the latest build. I've also added a .../src/util/distro-import/Makefile target called guiclassification:. Note that this is not automatically hooked up to any of the targets that build a distribution, but would need to be run as a separate command: $ cd .../gate/src/util/distro-import $ make guiclassification This will automatically update the opensolaris.org data file in the pkg workspace at ../../gui/data/opensolaris.org. Note also that this is (hopefully) just a stop-gap for the OpenSolaris 2008.11 release. It is expected that the GUI Package Manager team will adjust their code to get the package classifications out of the package manifests (rather than keeping their own separate data file), for the next OpenSolaris release. Thanks. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
