[packagekit] [PATCH] set packagekitd proxy environment variables

Richard Hughes hughsient at gmail.com
Mon Sep 13 09:04:27 PDT 2010


On 13 September 2010 16:09, Michael Meeks <michael.meeks at novell.com> wrote:
>        Sure. I wonder if making backend_setup_network a backend method (cf.
> pk-backed-yum) and calling it in the core before each of the relevant
> methods might work ? though I guess that method is called inside many of
> the thread worker functions so perhaps not. Anyhow,

I think a general per-transaction ->setup() vfunc might be a very
useful thing indeed, e.g:

_init()

_setup()
_get_updates()

_setup()
_get_details()

_finalize()

If this is what you mean, then patches welcome :-)

Thanks.

Richard.



More information about the PackageKit mailing list