Merge lp://qastaging/~mardy/gnome-control-center-signon/provider-data into lp://qastaging/gnome-control-center-signon

Proposed by Alberto Mardegan
Status: Merged
Approved by: Alberto Mardegan
Approved revision: 136
Merged at revision: 133
Proposed branch: lp://qastaging/~mardy/gnome-control-center-signon/provider-data
Merge into: lp://qastaging/gnome-control-center-signon
Diff against target: 156 lines (+40/-12)
6 files modified
configure.ac (+3/-1)
debian/control (+1/-1)
libaccount-plugin/account-plugin.pc.in (+1/-0)
libaccount-plugin/oauth-plugin.c (+21/-9)
tests/data/MyProvider.provider (+11/-0)
tests/test-account-plugin.vala (+3/-1)
To merge this branch: bzr merge lp://qastaging/~mardy/gnome-control-center-signon/provider-data
Reviewer Review Type Date Requested Status
David King (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+145786@code.qastaging.launchpad.net

Description of the change

Read authentication settings from .provider file

When configuring the account, also read all the authentication parameters defined in the .provider file, and merge them with those explicitly defined by the plugin binary.

Also, add a dependency on GModule, from which we are using g_module_make_resident().

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
David King (amigadave) wrote :

12 @@ -105,6 +106,7 @@
13 [$LIBACCOUNTS_GLIB_REQUIRED
14 $LIBSIGNON_GLIB_REQUIRED
15 $GLIB_REQUIRED
16 + $GMODULE_REQUIRED
17 $GTK_REQUIRED])

If you depend on a module but do not expose the symbols publically, also add the dependency to Requires.private, for example:

http://bazaar.launchpad.net/~amigadave/gnome-control-center-signon/switch-mockup/revision/134

75 + account_service = ag_account_service_new (account, NULL);
76 + auth_data = ag_account_service_get_auth_data (account_service);
77 + if (auth_data != NULL)

rather than handling a NULL auth_data here, I would rather bump the libaccounts-glib dependency in configure.ac. This also suggests that it might be a good idea to switch to a post-release version bump strategy for libaccounts-glib, so that one can depend on the (unreleased) 1.8 rather than being inaccurate and depending on 1.7. More detail at:

https://live.gnome.org/MaintainersCorner/Releasing

review: Needs Fixing
136. By Alberto Mardegan

Update dependencies, fix .pc file

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
David King (amigadave) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches