On Thu, 2015-11-05 at 16:38 +0000, Dimitri John Ledkov wrote:
> On 5 November 2015 at 15:48, Rodney Dawes <firstname.lastname@example.org> wrote:
> > One thing I notice, is that this list only includes runtime
> > dependencies, and not build time dependencies. To port things to Python
> > 3, it's not necessarily just a matter of porting the runtime deps, but
> > also build deps will need porting.
> > For ubuntu-sso-client, I would suggest not porting it, and if any code
> > needs to use an SSO client, the best options would be:
> True, porting ubuntu-sso-client would be a pain, or rather has proven
> to be a pain.
> > 1) Get a thin wrapper around the ubuntuone-credentials Ui to embed it
> > into the GTK+ online-accounts settings panel
> > a) get ubuntuone-credentials into main
> > b) switch anything needing an Ubuntu SSO account to online-accounts
> I think the trouble there was that we either need it in GTK, or to
> "embed" we'd have to rely on XEmbed which would not be accessible on
> e.g. Mir. Or am I wrong here?
For the Mir/Unity8 case, the QML system settings should be used AFAIK,
so not a problem there. The main problem here is the way online-accounts
works for communication between the control panel and the plug-in.
> > 2) Replace ubuntu-sso-client with the code that was in ubiquity for
> > logging in to U1 during install in a simpler log-in process
> Could do, however, I believe ubiquity code was accessing an "old" api
> which has been since sealed off, due to authentication / authorisation
> issues. Essentially a token was issued before an account was confirmed
> (and one couldn't do anything with the token really, until the account
> is confirmed)
No, ubuntu-sso-client is using the old API. The ubiquity code was using
the new API, but I don't recall how complete it was regarding 2FA and
> a gtk+ native online-accounts panel, seems like the cleanest, most
> maintainable and a quick solution here.
It is not quick at all, because it requires re-implementing all the UI
of the QML plug-in, in GTK+, and it would need to be done in C, and wrap
the libubuntuoneauth library which is Qt (but doesn't provide UI). If we
could get something working, where the QML plug-in could be embedded
into the GTK+ app, it should theoretically be the smallest change, and
> > On Wed, 2015-11-04 at 15:46 -0600, Barry Warsaw wrote:
> >> In today's UOS session on dropping Python 2 from the default
> >> installs/seeds/images, we captured a bunch of work items. For those of you on
> >> the session, please look at both the wiki and blueprint linked below, and make
> >> any additions or corrections you might find to my note taking.
> >> https://blueprints.launchpad.net/ubuntu/+spec/foundations-x-python3-only
> >> https://wiki.ubuntu.com/Python/FoundationsXPythonVersions
> >> You might also want to subscribe to the wiki page. Of course, we welcome any
> >> help in this important LTS goal, so please get in touch.
> >> Thanks,
> >> Barry
> > --
> > ubuntu-devel mailing list
> > email@example.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel