[packagekit] Properties and Supported

Richard Hughes hughsient at gmail.com
Fri Feb 15 10:35:33 PST 2008


On Fri, 2008-02-15 at 18:07 +0100, Sebastian Heinlein wrote:
> Am Freitag, den 15.02.2008, 15:00 +0000 schrieb Richard Hughes:
> > On Fri, 2008-02-15 at 08:57 +0100, Sebastian Heinlein wrote:
> > > have you already thought about implementing a common GetProperty method
> > > in PackageKit? There are always special needs by distributions, e.g.
> > > support life time of a package.
> > 
> > I think a general getter is too loose in API definition. What parameters
> > do you want to get at per-package?
> 
> I would like to have origin

What's origin?

> , licence

GetDescription()

> support

Which is?

> section

Like group?

> tags

Which are?

> , supported mime-types and codecs.

Why do you need this in the UI?

> Why did you decide to hardcode the list of groups? Should the frontends
> not be able to deal with flexible groups/sections?

Well, the backend can choose the group enums. We can't have a free
choice as the fronend has to be able to localise the selection as the
daemon runs in the C locale.

> > > It would be nice to have a supported and third party filter in
> > > PackageKit. But this could also be decided in the frontend.
> > 
> > Can you define supported and third-party for a general case? Then we can
> > work on how these filters could map to others like yum (where livna is
> > unsupported) in a more general sense.
> > 
> > But overwise, adding more filters is a good thing to do.
> 
> This issue affects mainly company driven distributions that don't make a
> difference between a professional and community edition, e.g.
> Canonical/Ubuntu.

Sure. supported and ~supported seems a sane thing to add. Better names
welcome.

> In Ubuntu we mark applications that are not officially part of Ubuntu as
> third party applications. This helps to promote software from the
> partner repository and also allows user to easily identify alien
> software that could also be a source of problems.

So we only need one filter? i.e. distro certified and non-supported?

Richard.





More information about the PackageKit mailing list