/srv/irclogs.ubuntu.com/2012/07/11/#launchpad-yellow.txt

bacmorning gmb10:55
bachi frankban.  welcome back.  hope you had fun.10:55
frankbanhi bac, thanks, and yes, the EuroPython was cool10:56
gmbHi bac.10:56
gmbAlso: hi frankban; I forgot you were back this morning.10:57
bacgmb: can we call you Graham Green(e) now?10:57
gmbArf.10:57
bacbuh dump dump10:57
bacthough i do quite like his books10:57
gmbAh.10:57
gmbSo you mean the writer. good.10:58
gmb There's a few of them :)10:58
bacah, yes10:58
bacoh, i don't know the others10:58
gmbbac, Native American actor for a start.10:58
gmbAlso a British comedian10:58
bacthough i think i have tried to read 'brighton rock' about three times and never can finish10:58
gmbbac, frankban: Can one of you take a gander at https://code.launchpad.net/~gmb/lpsetup/death-to-doctests-in-subcommands/+merge/114393?11:11
bacgmb: you have a conflict in the MP11:22
gmbCrap.11:22
gmbForgot to merge trunk.11:23
bacgmb: btw, i've claimed the review11:24
bacgmb: can you do a very quick review for me?  https://code.launchpad.net/~bac/lp-tarmac-configs/tarmac-approvers-list/+merge/11439711:25
gmbbac, Sure.11:25
bacgmb: please vote but do not approve the MP.  that way it will be self-testing11:25
gmbbac, Fixed conflicts and pushed.11:25
gmbbac, Okay.11:25
bacgmb: why not add the cleanup of the file in the setUp?11:26
gmbbac, Because not all the tests create the file. The cleanup will then error because the file doesn't exist.11:27
bacgmb: also, i think if you make one big mask by ORing together all of the expected file modes and then XOR with the actual file mode you can do the test in one go.11:27
gmbbac, Ah, good point. I'll try that.11:28
bacgmb: gotcha11:28
gmbbac, I've voted to Approve.11:28
bacgmb: also, the text conflict you just fixed may break your tests.  i removed the insertion of the trailing \n.  even if your tests don't break, you could remove the strip() and ensure the contents are the same.11:29
gmbNoted, thanks.11:33
gary_posterfrankban, welcome back!12:08
frankbangary_poster: thanks, it's good to be back12:08
gary_posterbac benji frankban gmb, http://tinyurl.com/yellowsquad12:08
gmbhttps://tbe.taleo.net/NA3/ats/careers/requisition.jsp?org=CANONICAL&cws=1&rid=50112:15
gmbPrzemysław Pająk12:45
gmbgary_poster, https://tbe.taleo.net/NA3/ats/requisitions/RequisitionView.jsp?act=view&id=502&et=REQU&actionId=1.12:54
gmbI don't think you're on it as a hiring manager, though, so you might need to ping Alice.12:54
gary_posterOh ok thanks gmb12:54
* gmb -> lunch12:55
bacgary_poster: for testing purposes, would you vote 'Approve' on this MP that graham has already reviewed?  https://code.launchpad.net/~bac/lp-tarmac-configs/tarmac-approvers-list/+merge/11439714:00
gary_posterbac, done14:00
bacthanks14:01
gary_posterbac, dunno if you saw frankban's blessing for removing public and private key args to inithost.  I made a card.  Probably easy to do (or you could fold it into your current work, if that makes sense)14:25
bacgreat14:25
frankbangary_poster: have you found something about -s not returning a flat list?14:55
gary_posterfrankban, no sorry, on calls14:55
frankbangary_poster: np14:56
gary_posterfrankban, if, as a non-root user, you pass multiple steps to a command that must switch to root access, and it works, just move on.  I looked for the email and it didn't help.  What I just said is what I remember15:32
frankbangary_poster: ok cool15:32
bachi frankban, if i add 'ignore-files=disabled*' to the lpsetup setup.cfg file then nosetest does not report the test failures and complains about distribute.  i've poked at it but cannot figure out why it is unhappy.  thoughts?15:41
bacwere we all aware, where 'we' == 'us' - 'me', that the handler listing was order-dependent?15:46
bachi benji, in the README.rst file for pocket-lint you specify sinzui's ppa.  it appears in the normal repos so is there any reason to require the ppa version, other than shininess?15:51
benjibac: it may be that in flailing about to find the right package name I got confused and believed that it was only in sinzui's ppa.  If it is available in the regular places, then that is fine too.15:52
baccool15:52
benjiWe can delete the PPA bit or make that a sidebar ("If you want an ultra-fresh version of pocketlint, get it from...")15:52
frankbanbac: same error here, if the goal is to ignore TestCase.disabled_* tests you can try to add to setup.cfg: exclude=handle_testing|disabled_ . Ignoring whole files is broken here too :-/16:06
bacfrankban: i'd wanted to disable whole test files16:06
bacfrankban: chmod +x works, but it is very easy to overlook16:07
frankbanbac: interesting, it seems to work if you comment the line with-doctest=1 (in setup.cfg). Could you confirm?16:16
bacfrankban: yes, it works for me the same way.  i note that passing --with-doctest on the command line causes the same problem16:18
bacin conjuction with ignore-files16:19
bacgary_poster: can you sanity check this diff for my unbreaking lpsetup branch?  http://pastebin.ubuntu.com/1086450/16:34
gary_posterbac, on call; looking16:35
frankbanbac: that distribute error is not print by nose, it's present in distribute_setup.py#15316:41
frankban* not printed16:42
bacfrankban: yes, but it is odd it is triggered dependent on the nose options16:42
frankbanbac: it works for me if I add "where=lpsetup" to setup.cfg (or -w arg)16:47
bacfrankban: that is odd16:51
bacthanks for looking into it16:51
frankbannp, and I agree it's odd16:53
gary_posterbac, why did you remove sinzui's ppa?17:05
gary_posterI think it is still necessary17:05
gary_poster(remove from README)17:05
bacpocket-lint is in the precise repo, i'm pretty sure17:05
gary_posterbac, was not for me17:06
gary_postermaybe I installed it with wrong name or something17:06
bacPackage: python-pocket-lint17:06
bacVersions:17:06
bac0.5.30-0ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages) (/var/lib/dpkg/status)17:06
gary_posterok bac, dunno.  I just had to do this in the past few days.  no idea.17:07
gary_posternot worrying about it17:07
* bac just trying to streamline17:07
bacgary_poster: i'm reverting my vm to the clean snapshot and will then try a install-lxc.17:08
gary_posterok17:08
bacwell, i have reverted but i'm not bringing my baseline vm up-to-date.  i think it was pre-release precise so i have lots of packages to install17:09
gary_posterbac, I have only skimmed so far (looks good) but Karyn tels me I have to take lunch and have a break, and she is right17:15
gary_posterI'll review and ping when I return of that's ok17:15
gary_posterif17:15
bacgary_poster: enjoy your lunch.  is it really 1:30?17:27
benjiwhy did we move initialize_lxc into init-host?  that seems like an odd thing to want17:40
gary_posterbac, yeah, it was.  Been busy.  BTW, I am skeptical that it will accomplish anything, but you might want to look in on #launchpad-dev18:27
gary_posterbenji, the biggest driver for that move is the data center.18:28
bacgary_poster: who was that masked man/woman?18:29
gary_posterbenji, in the data center, the webops people will not have root in the lxc host18:29
gary_posterbut they will (hopefully) have root in the container18:30
benjihmm, but "normal" people won't want that, right?  wouldn't that be better as a seperate subcommand?18:31
gary_posterTherefore, making init-host able to initialize the Launchpad "host" even when it is an LXC container gives them the maximum amount to share with us18:31
gary_posterbeyond that, technically it is initializing the Launchpad host whenever it is an LXC container18:31
gary_posterbenji, notice that it will only happen if it is running in LXC (call_initialize_lxc I think?)18:32
benjiah! that's different18:32
gary_posterAnd everyone should want it when their Launchpad host is an LXC container18:32
gary_posterbac, I dunno.  Laura mentioned that we were looking for juju help, on the basis of our "please help!" section in the blog18:33
gary_posterthis person replied that they would help with juju18:33
benjioh, so there is some mechanism in the framework that constructs function names from step names and calls "call_initialize_lxc" and uses that to determine if the step should be called or not18:33
gary_posterAt the least we applied indirect pressure to SpamapS ;-)18:33
bacbenji: yep18:34
gary_posterif they exist18:34
benjithat's... irritating <0.5 wink>18:34
* benji hasn't enguaged in frational winkery in quite a while, it's refreshing18:35
gary_posterbac, I missed Bulgaria in my search :-P18:37
gary_postersorry bac.  I meant gmb, ^^^18:38
bacgary_poster: i'm sure i should understand that18:38
bacoh18:38
bacmaybe not18:38
gary_poster:-) it was re candidate search18:38
bacbulgaria might be a new country for us18:38
bacas will PR...sort of18:39
gmbgary_poster, Is the TL call still on the conference no., or is it a hangout these days?19:18
gary_postergmb, hangout.  I'm the whatever it is today, so I'll include you in the ping with the url19:19
gmbThankee.19:19
gary_posterbac, finally, to http://pastebin.ubuntu.com/1086450/ :20:33
gary_posterdocstring in line 202 maybe should include note that the command is desired to go away?  Maybe?  Wdyt20:34
bacgary_poster: cool.  my testing revealed some problems.  re-doing20:34
gary_posterbac, oh ok20:34
gary_postershould I wait20:34
bacgary_poster: proper MP is up, if you're interested20:34
gary_postersure bac20:34
bacno, they were trivial (but fatal)20:34
gary_posterok cool20:34
baccannot test install-lxc due to lp-setup in container from package issue20:34
baci made a card for that20:35
bacgary_poster: https://code.launchpad.net/~bac/lpsetup/fix-inithost-install-lxc/+merge/11448620:36
gary_posterlp-setup in container from package: bac, right, thanks.  (There is a temporary work around fwiw, which involves running individual steps and installing the code manually inbetween starting the container and running all the commands in the container)20:37
gary_poster(and I have a hack in mind to make this work in the future)20:38
bacgary_poster: i'm doing the workaround20:38
gary_postercool20:38
bacgary_poster: my tarmac branch didn't land b/c rockstar's tarmac was broken.  he's taking care of it now.20:40
gary_posterbac, heh, great20:41
bacyummy tarmac chow20:41
gary_posterbac, make_launchpad has install arg.  Does anyone ever not pass True to it?20:44
gary_posterAFAICT no20:44
gary_posterwhich suggests a cleanup :-)20:44
gary_posterIs there a compelling reason to separate setup_launchpad and make_launchpad?  unclear.  don't care a lot though.20:45
gary_posterAs already mentioned, I think IWBNI finish-inithost had a docstring (and help text?) that indicated that it was slated for eventual removal20:47
gary_posterbac, install_lxc should not include inithost.SubCommand.initialize_lxc_step20:49
gary_posterthat is run in the lxc container for this story, when we run setup_lxc (which calls inithost in the container)20:49
bacgary_poster: IWBNI?20:50
gary_posterit would be nice if20:50
bacoi20:50
gary_poster:-)20:51
gary_posterbac, otherwise looks good to me20:51
bacgary_poster: ok.  you noting that stuff in the MP?20:51
gary_posterbac, yes20:51
bacthanks for the suggestions20:52
gary_posterthank you!  Nice to have this working again20:52
gary_posterbac, review made20:55
bacgary_poster: wait, i think finish-init-host is hosed20:55
gary_posterbac, ok20:55
gary_posterbac, could it be inithost.SubCommand.initialize_lxc_step ?20:55
bacit is running locally, not in the container.  no one calls it in the container as far as i can tell20:55
gary_posterAs I said, that shoud not be run20:55
gary_posteroh20:55
gary_posteryes, that needs to be run with ssh in the container.  Sorry for missing that.20:56
bacgary_poster: well it needs to run in the 'host', whether that is the container or your 'real' machine20:59
gary_posterbac, right.  for install-lxc, it needs to be run in the container, I mean20:59
bacgary_poster: right, but if you are running the steps manually you can't do it unless we add a wrapper21:00
gary_posterwhy bac?  I don't understand.  Woud quick call help?21:00
gary_posterl21:00
bacsure21:01
gary_posterbac, I'm in yellowsquad21:01

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