Fedora 9 Beta, PackageKit and system-config-printer

Richard Hughes hughsient at gmail.com
Mon Mar 17 16:53:10 UTC 2008


On Mon, 2008-03-17 at 11:40 -0400, Jeremy Katz wrote:
> The fact that the backends may have different capabilities doesn't
> mean you need to expose those details to the world with the frontends.
> There should be _one_ "install a new package by name" which can take
> files, package names, provides names,
> $whatever_other_crack_some_other_backend_supports.  And then the
> frontend code just says "does this backend support this method?  no,
> okay, keep going".

That's just not portable. I'm not sure "okay, keep going" would look
like as an API call.

If we are going to do "give me the package that provides XXXX" then it's
a new method that should be implemented separately, not just overloading
the generic Resolve() or InstallPackage() methods.

Richard.




More information about the fedora-devel-list mailing list