Chris Ridd wrote:
>> Unfortunately the Package Manager has it's classifications hard-wired.
>
> It is OK (ish) to hard-wire the category names.

Not really.

>> 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.
>
> I think you're suggesting that the package manager GUI ignores the 
> package's metadata, and uses these static files instead...

Correct.

>> (An interesting experiment would be to copy those two files to similar
>> names for your local repository).
>
> Ah, that made a difference. If I add an entry for my package to that 
> /usr/share/package-manager/data/canopus (canopus is my name for the 
> authority) the package manager GUI displays the package in the right 
> section.
>
> Oh dear. There's a bug for this?

Looking through the list at:*

 *http://tinyurl.com/64p5bs

there doesn't seem to be one that specifically addresses the need to
use the package meta-data.

The closest I could come was:
http://defect.opensolaris.org/bz/show_bug.cgi?id=5565

Feel free to add a new bug though.


The Package Manager do know about the problem though, and have
said they are going to rectify it for OpenSolaris 2009.04.

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to