[packagekit] Features discussion/request KPackageKit

Richard Hughes hughsient at gmail.com
Thu Nov 20 05:53:47 PST 2008


On Thu, 2008-11-20 at 14:33 +0100, Duncan Mac-Vicar Prett wrote:
> Thomas Goettlicher wrote:
> > Great! I didn't know this script.
> >
> >   
> I thought the GetDistroUpgrades method only returned the availability
> information? shouldnt the front end execute the script tself?

Yes, that's what happens. The script is only executed if the user clicks
to download a new upgrade.

> Shouldn't you use  bool Solid::Battery::isPlugged() here?

If you've got solid, you might as well use it...

> Actually that is also very package manager dependent. If you have a
> package supplementing some hardware modalias, and the system provide
> those, libzypp solver will automatically mark those packages as
> recommended. Therefore the only trick we do, is when you call
> WhatProvides with the hardware enum, we just solve and return
> recommended packages. This gives the chance that some package unrelated
> to the hardware is recommended, but this is not very likely to happen.

Right. I've not tested this at all with yum.

Richard.





More information about the PackageKit mailing list