/srv/irclogs.ubuntu.com/2012/11/22/#ubuntu-installer.txt

xnoxinfinity: stgraber: so the nfs thing is blocking automated cdimage qa. Any updates, or is it blocked on the massive initramfs merge =/14:29
stgraberxnox: infinity said he'd take a look. In theory we can workaround it in casper by adding the 3 modules I mentioned the other day, so we could do that if it's urgent14:30
xnoxstgraber: yes, please. It's not urgent-urgent, but high. Up to now we still don't have automated ISO testing on the same level as we had throughout quantal cycle.14:31
stgraberxnox: do we have a bug number for this?14:32
cjwatsonurgent> why not just add the relevant modules to initramfs-tools rather than either working around it in casper or waiting for the giant merge ...14:33
xnoxstgraber: I don't believe we have one, apart from "jenkins bulb is red"14:34
stgraberhmm, good point. Let me see how to add those to initramfs-tools directly, once I find a packaging branch that's up to date...14:35
stgraberoh, it's just one revision behind, I can fix that easily14:36
xnoxstgraber: note that the initramfs-tools version number is currently faked.14:37
stgraberxnox: yeah, I just meant that ubuntu:initramfs-tools is at 0.103ubuntu0.1 instead of 0.103ubuntu0.214:37
xnoxstgraber: oh _that_ revision =)14:37
xnoxyeah QA are eager to get a working build.14:38
stgraberoh fun, the branch is busted in a similar way as ifupdown... so won't be able to fix it14:38
stgraberbug 104239614:39
ubot2Launchpad bug 1042396 in bzr-builddeb (Ubuntu) "bzr-builddeb fails to import-dsc with native package on Ubuntu 12.04" [Undecided,New] https://launchpad.net/bugs/104239614:39
stgraberwill just do a manual upload14:39
jibelre urgent: it's blocking PS from running autopilot tests on hardware for raring.14:40
* Laney wibbles14:44
Laney./tests/run-pep8 gives a load of errors and fails the build for me locally, yet there aren't any commits (besides mine) since the release14:44
Laney(in ubiquity that is)14:44
stgraberyeah, the new pep8 is complaining a lot more14:45
xnoxLaney: get fixin ;-)14:45
stgraberfor example it now requires exact indentation when breaking a line14:45
Laneyseems to be all about indentation14:45
xnoxcan it autofix those?14:45
stgraberright, that's what I've noticed too14:45
stgraberxnox: I doubt it, manually fixing those required quite a lot of magic for me in some other scripts14:46
cjwatsonPerhaps --ignore= that for now14:46
xnox*sigh*14:46
stgraberxnox: as you actually need to break strings in half now to make it happy14:46
stgraber(you can no longer get away with doing print( and then the string at the beginning of the next line without indent as it'll report a no/or-missing indent)14:46
stgraberhmm, the initramfs-tools versioning is terribly confusing... 0.103 was introduced in quantal with 0.103ubuntu0.2 which is a SRU looking version number, yet it never was a SRU14:47
stgraberI guess I'll go with 0.103ubuntu1 then just to avoid messing with a potential SRU in quantal...14:48
stgraberah, or not, changelog suggests it was done on purpose...14:48
stgraber  * NOTE: Not an actual merge, just a cherry-pick and reving the14:49
stgraber    version number to avoid having to touch the Breaks in klibc-utils14:49
cjwatsonYeah, make it 0.103ubuntu0.3 or whatever it is please14:49
xnox^^^ "<xnox> stgraber: note that the initramfs-tools version number is currently faked."14:49
stgraberalright, uploaded14:50
Laneyis d-i/update-control the file to edit to change ubiquity BDs?15:19
cjwatsonyes15:19
* Laney got rather distressed when his changes were clobbered15:19
Laneyta15:19
* cjwatson starts in on thegiant pile of pep8 corrections15:21
cjwatsonjust mentioning since there's probably no point in >1 person doing this15:22
stgraberhave fun :)15:37
* stgraber gets back to fixing his other projects...15:38
xnoxLaney: what are you coding for ubiquity?15:42
xnox=P15:42
Laneyporting the webcam wotsit to gstreamer 115:42
xnoxLaney: thanks a lot =)15:43
stgraberyay, I won't be touched-it-last on that stuff anymore!15:43
Laneyheh15:43
Laneyit has Evan's name on it :P15:43
* xnox is confused why ev is not all over the webcam plugin =))))))15:43
stgraberwell, the last one who had to spend a week figuring out why the installer would hang on some laptops was me :)15:43
* Laney fakes the commit logs15:44
stgraber(tracked down to a regression in gstreamer causing some kind of infinite loop)15:44
xnoxstgraber: because the rest of us do not click to hw enable webcam on laptops while testing =)))))15:44
stgraberxnox: I don't actually have a single machine with a webcam builtin15:44
evjust because I wrote it, that doesn't mean I should be held accountable for it ;)15:44
stgraberxnox: I had to debug that one connected over ssh to London, working with gema's netbook15:44
stgraberev: yes it does ;)15:45
evshhhh you15:45
* cjwatson tries to remember where the recommendation to indent closing brackets/braces in arrays/dicts came from15:45
xnoxstgraber: 8-)15:45
cjwatsonI always thought it was a bit bizarre but something somewhere enforced it and I thought it was PEP-815:45
cjwatsonbut I don't see it there any more15:45
evpylint maybe?15:45
xnoxpyflakes ?15:45
evI recall that being used way, way, way back in the early days of ubiquity15:46
evor at least warnings being suppressed in comments15:46
xnoxit will be hilarious if the new pep8 conflicts with pylint & pyflakes15:46
eveverything conflicts with pylint15:46
evthat's kind of the point15:46
evWARNING: THERE'S SOME CODE HERE15:46
stgraberyeah, pylint just doesn't like you writting code, the only way to make something pylint-compliant is to not write it at all (IIRC pylint is happy when passed an empty file)15:47
evlol15:47
evI'm so amused that you've checked this15:47
xnoxev: maybe pylint should be one of the judges at the figure skating.15:47
cjwatsonpyflakes doesn't seem to care15:47
cjwatsonand I don't give a shit what pylint thinks :)15:47
stgraberactually, no, it's not happy with an empty file, you need an empty file with a docstring apparently nowadays :)15:47
stgraberC:  1,0: Missing docstring15:48
Laneypylint isn't very happy with pylint's code15:48
xnoxstgraber: so what empty __init__.py is bad?15:48
stgraberxnox: yep15:48
evlol15:48
stgraberxnox: echo '""" This file is empty """' > __init__.py15:49
stgraberthen pylint is happy :)15:49
cjwatsonaha, it's in the Launchpad Python style guide15:51
cjwatsonthat explains it15:52
* cjwatson outdents a ton of stuff then15:52
cjwatsonOK, ubiquity should be fine with pep8 now16:27
stgrabercjwatson: hey, pep8 question for you as I'm guessing you've seen more of it than I did :)20:18
stgraberparser.add_argument("--union-type", "-U", type=str, default="overlayfs",20:18
stgraber                    choices=("overlayfs", "aufs"),20:18
stgraber                    help=_(20:18
stgraber"type of union (overlayfs or aufs), defaults to overlayfs."))20:19
stgraberpep8 now complains about the last line as it's outdented20:19
stgraberthe problem is that moving it to the line above will make the line length to be > 79 chars, so just trading pep8 errors really :)20:19
stgraberdid you get any of those in ubiquity? and if you did, how did you "fix" them?20:19
stgraberan ugly hack would be to split into multiple strings and then just put them one per line below the help=_( block but that's ugly and I'm pretty sure gettext won't like it20:20
stgraber(commited an ugly "fix" to LXC for now, but I'm really not fond of having to use string concatenation to workaround this...)20:26
cjwatsonstgraber: splitting the string is the usual answer, and I don't see why gettext wouldn't like it as long as you concat by just putting the strings logically adjacent to one another rather than with +22:08
cjwatsonI'm fairly certain I've seen that working with gettext all over the place elsewhere22:08
cjwatsonyou can also give yourself more space by using the hanging indent style rather than the visual indent style22:09
cjwatsonwhich I initially found a bit ugly but now find much easier to read as it tends to be more consistent22:10
cjwatsonand is definitely more practical with multiple nested indentations22:10

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