Chris Ridd wrote:
> Does anything special need doing to pkg.depotd or packagemanager in
> 101rc2, to make them understand info.classification values?
>
> I updated my repo this morning with a package that has the same
> classification as SUNWcvs:
>
> set name=info.classification value="org.opensolaris.category.
> 2008:Development/Source Code Management"
>
> When the package manager GUI browses "Source Code Management" in the
> opensolaris.org repo, it sees SUNWcvs. But when it browses that
> category in my repo, it doesn't see my package.
>
> What am I missing?
>
Unfortunately the Package Manager has it's classifications hard-wired.
These are installed under /usr/share/package-manager/data. Under there
are currently two files called opensolaris.org.sections and opensolaris.org.
I don't know if it correctly handles classifications if you're preferred
repository isn't opensolaris.org. Hopefully John or Michal can answer that.
(An interesting experiment would be to copy those two files to similar
names for your local repository).
But does the correct classification show up with pkg? Try the following:
$ pfexec pkg set-authority -P -O http://<my-repository>:<my-port #>
my-repository
$ pfexec pkg info SUNWcvs
Name: SUNWcvs
Summary: The CVS version control system
Category: Development/Source Code Management
State: Installed
Authority: osol-re
Version: 1.12.13
Build Release: 5.11
Branch: 0.101
Packaging Date: Wed Nov 19 22:00:02 2008
Size: 1.16 MB
FMRI: pkg://osol-re/[EMAIL PROTECTED],5.11-0.101:20081119T220002Z
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss