/srv/irclogs.ubuntu.com/2013/02/11/#ubuntu-installer.txt

=== StevenK_ is now known as StevenK
=== mmcc` is now known as mmcc
mmccHi, I'm trying to familiarize myself with ubiquity in order to help out on the ubuntu one plugin that mvo started - is there a README or wiki page somewhere with a description of how to set up a test environment for working on plugins?22:55
=== kentb is now known as kentb-out
xnoxmmcc: hello. It's mostly wiki.ubuntu.com/Ubiquity23:18
xnoxand pages from there.23:18
xnoxYou can run ubiquity from your host but it's not advised. It's better to boot into a VM and replaces files/packages in the life system and restart ubiquity.23:19
xnoxtry ubuntu is the easiest, while "install only" mode is less resource hungry.23:19
xnoxYou can switch to tty1 and stop lightdm, pkill -9 X and then modify files as needed (e.g. wget from host 192.168.122.1 and start ubiquity again with $ sudo start ubiquity)23:20
xnoxmmcc: I thought mandel was already working on the U1 plugin.23:20
xnoxsome of the code is here: https://code.launchpad.net/~mvo/ubiquity/ssologin23:21
xnoxmandel: did you have anything more?23:21
mmccxnox: thanks. I was following the notes in mvo's branch in a raring vm, but it appears to be missing some things23:29
xnoxmmcc: hm?23:29
xnoxmmcc: note that we build from lp:ubiquity branch23:29
xnoxand that ubiquity in addition to it's own source code embeds a few other packages.23:29
mmccI started from https://code.launchpad.net/~mvo/ubiquity/ssologin/+merge/13726423:30
xnoxSo to build .debs either: $ bzr bd _or_ ./debian/rules update-local && fakeroot ./debian/rules binary23:30
xnoxmmcc: mvo's work was work in progress and not completed, somebody needs to pick it up, test and fix up things that are missing / not implemented.23:31
mmccah, that sounds better. the comments that mvo wrote just had a few 'sudo cp' etc23:31
mmccxnox: yes, that somebody is me. mandel did start it but got moved around23:31
xnoxmmcc: Ok =) welcome on board. I can help you out with ubiquity side of things, as long as you fiddle with sso side of things enough for it to correctly authenticate, get the cookie/token and store it for the user correctly.23:32
mmccI will also have dobey helping, so do not despair :)23:32
mmccthanks! I believe mvo actually got pretty far with that. I'm still getting up to speed with how far, though - this assignment happened last thursday23:33
xnoxmmcc: yeah. he did do a bit. The visuals & wireframes have changed since then. I can help with hooking this new plugin into the correct places in the installer & integrate transition to it and from it to the shutdown. But I haven't run mvo's code yet.23:35
mmccxnox: do you have time for a few dumb questions or is it past EOD for you?23:38
xnoxmmcc: i just came from volleyball training =) and I have a bit of time for a quick Q&A.23:42
* xnox is reading email, RSS and other random stuff =)23:42
xnoxgo on =)23:42
mmccah, ok thanks. So I suspect the instructions on the wiki assume I'm using kvm23:43
mmccdo you know if anyone has tried using virtualbox?23:43
xnoxkvm, virtualbox, vmware all should work.23:43
xnoxvirtualbox both free and oracle edition.23:43
mmccok23:43
mmccso I'm not totally clear on what I would need to get from 192.168.122.1 , which you mentioned and is also on the wiki. That's a bridge to the host, correct?23:45
xnoxright. so boot into live cd -> try ubuntu.23:45
xnoxyou should get normal desktop23:45
xnoxcheck that you have internets.23:46
xnoxthen in the terminal you can either bzr branch or wget or whatever retrieve the new bits.23:46
xnoxthen you can either monkey patch into /usr/lib/ubiquity/plugins (it's all python ;-) ) or install/upgrade a proper/fully built .deb23:47
xnoxthen just launch ubiquity and see how far you get.23:47
xnoxthis typo of development cycle is a bit long, but it's easy enough to start with.23:47
mmccok, I see.23:48
xnoxyou notice that plugins in the begging have priorities, e.g. AFTER = 'language' WEIGHT=12 will move your plugin to be the second page (first page is language).23:48
xnoxthis is quite long-winded.23:48
mmcchmm, all this is slightly complicated by the fact that I'm working on a mac (mac os x host, linux VM)23:49
mmcc(the mac u1 client is what I was hired to work on, initially :)23:49
xnoxheh wel mac is almost a unix which is almost like linux.23:50
mmccclose enough for a lot of things, but unfortunately I think building a .deb isn't well supported :)23:50
infinityfink?23:51
xnoxmmcc: I know that ev uses mac os x host & he even had like a folder sharing between mac os x & the VM and then he would just script copying files over.23:51
xnoxmmcc: in that case just work on the python plugin & drop it into /usr/lib/ubiquity/plugins/23:51
xnoxthe only thing we need to do is skip past all the installation BS and go straight to user configuration.23:52
mmccinfinity: I haven't used fink in a long time, but I'm not sure it'd help me build a deb on the mac that could be installed in ubuntu... (but I could be wrong)23:52
* xnox ponders if one can execute oem-config from the live environment.23:52
mmccxnox: that leads me to another question I had - do I need to be using raring to work on this?23:53
mmccthe reason I ask is that the virtualbox guest additions didn't install correctly on raring, so the shared folder stuff doesn't work. (I use it regularly on quantal and it works great)23:53
xnoxmmcc: in the end it has to work on raring. It must be in python3, you can use python3-oauthlib (if you need oauth).23:55
xnoxmmcc: the diff between raring and quantal ubiquity is ~ 1000 in total, but the plugin interface didn't change that much.23:56
xnoxi think you should be ok using quantal.23:57
mmccok, thanks - I'll probably be able to make raring work, but it's good to know I'm not stuck.23:57
xnoxmmcc: mvo did a test-loader plugin such that one can load just one plugin and unit-test it.23:58
xnoxthat means that the bulk of U1 integration can be done on e.g. mac os x without the VM. with test driven development.23:59
xnoxbut you should be using/targeting python 3.323:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!