[packagekit] Question on Search group UI

Richard Hughes hughsient at gmail.com
Thu Dec 13 10:50:43 PST 2007


On Thu, 2007-12-13 at 16:26 +0800, David Liang wrote:
> I'm trying to realize search group function in zypp.

Ahh, gotcha.

> The problem is the categories defination in zypp is more complicate.
> For example, a game package can be grouped as
> "Amusements/Games/3D/Race". But in pk-enum.c, it just "games".
> 
> I wondering if there is a way to construct the group gui to more levels
> defined by each backend. Or maybe I just need to map
> "Amusements/Games/3D/Race" to "games"?

You need to map Amusements/Games/* to games - see the yumBackend.py for
an example of the conversion that yum does.

Richard.





More information about the PackageKit mailing list