[packagekit] [PATCH] Allow plugins to override PolicyKit action IDs

Richard Hughes hughsient at gmail.com
Tue Jul 16 07:03:15 PDT 2013


On 16 July 2013 14:07, Colin Watson <cjwatson at ubuntu.com> wrote:
> much the same way that
> Matthias handles the Listaller plugin - is that OK?  I realise it means
> I have to keep up with PK API changes.

Yes, that's fine. I can provide a pkgconfig file if that makes things easier.

> That's a point I hadn't thought of, but I think it can be handled with
> just a bit more care in the plugin: only change the action if all
> packages requested belong to the plugin.  If the user asks to install
> both Click packages and system packages in a single transaction, then we
> can ask for admin auth (or whatever's configured) and that will be
> adequate for both.

Sure, I guess that works.

Richard.


More information about the PackageKit mailing list