[packagekit] Doing the GPG auth dance
hughsient at gmail.com
Mon Apr 14 17:11:20 PDT 2008
On Mon, 2008-04-14 at 15:58 +0100, Richard Hughes wrote:
> Do you agree? [N/y] n
> Did not agree to licence, task will fail
> Error: no-license-agreement : licence not installed so cannot install
> install-package runtime was 0.1 seconds
Right, so now we can detect when a EULA prompt is recieved. No, to
actually agree to the EULA and affect the backend, I think we have two
1) EulaAgreed() on packagekit which is stored locally, so that when the
backed requests IsEulaAgreed it can return the status of the current
eula_id. (note: locally == per-packagekitd instance, although I expect
the session to store it in gconf).
2) Adding EulaAgreed as a backend method, so that the backend deals with
storing the auth.
I'm erring on the first one, but I would appreciate any comments.
More information about the PackageKit