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

Richard Hughes hughsient at gmail.com
Wed Jul 17 05:24:14 PDT 2013


On 17 July 2013 12:48, Colin Watson <cjwatson at ubuntu.com> wrote:
> My current implementation looks like this, FWIW:

Looks about right to me.

> On 0.7, this also requires backporting part of
> e37591aee89839b44119669b4faa2164511e051a from master, to call
> pk_transaction_set_full_paths before pk_transaction_obtain_authorization
> in pk_transaction_install_files; and of course it will require extra
> code to handle the InstallPackages case when I get that far.  But the
> general idea is simple enough.

e37591aee89839b44119669b4faa2164511e051a is quite invasive and breaks
API, it can't be backported to the *stable* 0.7.x

> Is there anything else I need to address before this could go into
> master?

I think it's fine to push your patch to master. I also think it might
be a good idea to update to 0.8.x in Ubuntu as otherwise it's going to
be very hard to backport all the functionality you need.

Richard.


More information about the PackageKit mailing list