/srv/irclogs.ubuntu.com/2014/08/04/#juju-gui.txt

rick_h__morning05:52
huwshimirick_h__: Morning06:07
rick_h__huwshimi: hey, funny running into you there06:14
huwshimirick_h__: Yeah, strange to see you at this time :)06:14
huwshimirick_h__: How was the travel?06:14
rick_h__huwshimi: you know, time in a tin can flying through the sky06:17
huwshimihehe06:17
rick_h__working on catching up on sleep06:17
rogpeppemornin' all07:10
huwshimiMorning07:14
urulamamorning all07:21
rogpeppeurulama: hiya07:35
rogpeppe anyone with good http-fu know what's going on at line 1503 here? http://golang.org/src/pkg/net/http/server.go#L150313:19
jcsackettMakyo: do you know if a unit would ever *not* have a state outside of being uncommitted?14:45
Makyojcsackett, units should always have a state, I believe.  Is something going wrong?14:46
jcsackettMakyo: no, not at all. that's a good answer. :)14:46
jcsackettuncommitted units don't have agent_state, which makes sense.14:46
rogpeppeurulama, jrwren: https://github.com/juju/charmstore/pull/5214:46
jcsackettthe QA issue you found was b/c the condition for identifying uncommitted units isn't correct once the service is deployed.14:47
rogpeppeanyone know if frankban is around today?14:47
jcsackettbut since they don't have state, we can use that.14:47
jcsackettand that's always accurate.14:47
rogpeppeor bac14:47
Makyorogpeppe, frankban is out today on swap.14:47
rogpeppeMakyo: ah, thanks14:47
Makyojcsackett, ah, yeah, that makes sense14:47
jcsackettrogpeppe: bac is in nuremburg.14:48
MakyoBoo, forgot about that.,14:48
MakyoCI doesn't seem to be working for me.14:48
rogpeppejcsackett: ah, i'd forgotten about that 14:48
MakyoMaybe jenkins needs a kick in the pants14:48
rogpeppei guess i'm just not gonna land anything today14:49
* rogpeppe goes to the pub :-)14:49
* jcsackett laughs14:50
jcsackettrogpeppe: starved for reviews, or jenkins issues?14:50
rogpeppejcsackett: reviews14:50
rogpeppejcsackett: i think there's only one person around ( jrwren ) that can review the code, but i need two reviews for landing14:51
jcsackettrogpeppe: can Makyo or hatch sub in for today, or do you need deep knowledge of the code base? they're both go-literate, if memory serves.14:52
jcsackett(it's not ideal, but better than blocking)14:52
Makyojujugui call in 614:54
urulamarogpeppe: i'll try to do it14:55
urulamarogpeppe: but it's a huge one and with interruptions, it might take a while :)14:55
rogpeppeurulama: if you could, that would be great. unfortunately, it's a bit of a bad of bits.14:55
rogpeppeperhaps i should try to split it up14:56
rogpeppeanyone know of a good tool for splitting up branches?14:56
* urulama suggests an axe14:57
rogpeppelol14:57
Makyojujugui call now.15:00
jrwrenhttp://ci.jujugui.org:8080 its up15:18
jrwrenI have no answers for why it wasn't up.15:18
Makyojrwren, awesome, thanks15:19
kadams54jcsackett: finished QAing your PR15:34
kadams54Makyo: you mentioned running debug logging while setting the juju-gui-sourceā€¦ how do I do that?15:35
Makyojuju debug-log15:35
kadams54This is what I get: http://pastie.org/private/8kodvcgaorziu7fq9evxa15:38
kadams54Seems to be an error right off the bat, maybe in fetching the new source from git?15:39
kadams54guihelp: ^15:44
jcsackettkadams54: thanks.15:45
rick_h__hey all, anyone know what's the status of hatch's card and potential gui release?16:08
rick_h__jujugui ^16:09
Makyorick_h__, working on QAing now, then checking on some problems with the charm, then I'll see about starting release prep.16:14
rick_h__Makyo: awesome thanks. 16:14
rick_h__Makyo: what's up with the charm?16:14
urulamarogpeppe: i've looked your PR ... it's huge, for last parts /v4/stats.go and stats_test.go i need more time ... 16:15
Makyorick_h__, some folks are having trouble setting juju-gui-source - looks like it fails to start back up.16:16
MakyoGoing to research that.16:16
rogpeppeurulama: yes, i'm sorry about that16:16
rogpeppeurulama: i fixed lots of things in an organic way when trying to make the tests pass16:16
rick_h__Makyo: note that only works in trusty and not precise due to git changes16:16
urulamarogpeppe: yes, that's what i'm worried about16:16
urulamaneed to go to dinner16:17
rogpeppeurulama: i could spend a few hours splitting it up16:17
Makyorick_h__, Aha! Good to note.  kadams54 ^16:18
rick_h__Makyo: yea, would love to get details on the series and the string used for that field to make sure it's supposed to work16:19
rick_h__Makyo: so trusty + 'develop' should be trunk and be good to test with16:19
rick_h__and should come up, if not there's a log file to check in /var/log/juju/all-?16:19
kadams54rick_h__, Makyo: alas, I'm in trusty.17:16
kadams54I didn't see anything obvious in the all-machines.log file, but I'm going to give it another go, this time tailing both that and running debug-log17:16
* rogpeppe is done for the day17:20
rogpeppeg'night all17:20
MakyoCan't seem to deploy the charm at all, hmm.17:38
kadams54rick_h__, Makyo: And of course, this time, it appears to have worked for me. FWIW, I confirmed that my card, bug #1341653, seems to be fixed.17:40
Makyokadams54, Woo!17:40
MakyoI might be running into a juju bug, not sure.  Trying on other computer.17:40
kadams54I'm going to see if I can clear a few more cards out of the QA queue.17:42
MakyoYeah, seems to be something weird going on in tip, up and QAing juju-gui-source now.17:51
hatchMakyo juju-core is failing CI atm so you'd best to use a stable release 18:09
Makyohatch, so I found.18:09
MakyoNow go back to not working.18:09
MakyoIt's a holiday :)18:10
hatchhaha I am not working :) I have to do html's and css's for my dads website....bleh, I wonder if I could convince huw to do this for me lol18:10
hatchright Monday Holiday18:10
kadams54Provincial Day!18:10
tvansteenburghanyone in here familiar with the charmhelpers.contrib.jujugui python module?18:10
hatchjujugui https://twitter.com/FromAnEgg/status/496158671710466049 hahaha 18:11
tvansteenburghi have a MR to remove it, wondering if anyone here cares18:11
hatchtvansteenburgh I've never even heard of it :) what does it do?18:11
tvansteenburghnothing any more! muwhahaha18:12
hatchlol w00t18:12
urulamahi there, jujugui21:09
* urulama hears pings go all over the world ;)21:10
hatchhaha hey urulama how goes ze Germans?21:10
hatch(little Top Gear reference there)21:10
urulamaze Germanz are fine ... at least their bear and pork products are ;)21:11
urulamas/bear/beer21:11
* urulama now wonders what a bear tastes like21:12
hatchhaha21:12
hatchtastes pretty gamey 21:12
urulamayou had one?21:12
hatchof course21:12
hatchelk deer, etc etc21:12
hatchI live in the North remember21:13
hatchnorth of the wall ;)21:13
urulamasurvival of the fittest :)21:13
urulamai had deer and boar and whatnot, but not bears ... and we have a lot of them, just not allowed to eat them21:14
urulamaso how's it going? CI working now?21:14
hatchno idea, I'm off today21:15
* kadams54 is going to start referring to hatch at "that wilder".21:15
rick_h__howdy all21:16
kadams54urulama: I just landed a branch for juju-gui, so that CI seems to be working21:16
kadams54rick_h__: hey there21:16
urulamahatch: remember the talk about being away from computer ... now's probably the time then :)21:17
urulamakadams54: ok, good news 21:18
rick_h__Makyo: issues? no release it sounds like?21:19
hatchhey rick_h__ 21:20
hatchurulama haha, I'm sitting in the back yard on the swingy chair with a beer working on my dads website.....it's pretty day-ofish :)21:21
rick_h__hey hatch 21:21
Makyorick_h__, I think release is a go, pulling together changelog now.  May actually go out tomorrow.21:35
Makyo(was on the patio, sorry)21:35
hatchto submit forms on this vps I have to write a PHP script....22:15
hatchI don't even think I remember how to write a form submission script in PHP any longer lol22:16
hatchI can't even write it in python....22:17
hatchwhat kind of vps restricts to ONLY php22:17
hatchhaha22:17
MakyoSomeone landed a branch while I was writing the change log and now there's a conflict >:/22:38
huwshimiMorning23:02
huwshimihatch: Morning, in a test I have a beforeEach that sets "placeUnit: utils.makeStubFunction()". How would I go about having one test that has the real function there?23:24
Makyojujugui GUI release is done.  Going to get dinner prepped, then work on charm release.23:24
huwshimiMakyo: Yay!23:24
MakyoOn going through the change log, decided on 1.1.1, since much of our work was done behind a feature flag meant for a larger release.23:25
hatchhuwshimi have a code sample? From that one there it looks like you're just passing in a fake stub not the actual ecs object?23:25
hatchMakyo +1 Thanks for doing the release!23:25
huwshimihatch: Yeah, so it's stubbed out for all the tests, but it one test I don't want to stub it out...23:26
hatchhuwshimi well it looks like your not stubbing it out but passing a mock ecs in?23:26
huwshimihatch: https://github.com/juju/juju-gui/blob/develop/test/test_machine_view_panel.js#L22323:27
hatchhuwshimi ok yeah you're passing a mock in, you'll need to set the ecs to a real ecs object if you want to use the real placeUnit23:28
huwshimihatch: Ah ok, so any ideas on how to do that?23:28
huwshimiDo we do this anywhere else?23:28
hatchyou can't really 'just' use placeUnit because it relies on the ecs instance in a lot of places23:28
hatchwell what are you testing?23:28
huwshimihatch: OK, so I'm trying to test that a container token is created when placeUnit occurs23:29
huwshimiI'll push up my code23:30
hatchwell you don't really need to do that23:31
hatchyou just need to test that placeUnit is called with the proper data23:31
hatchthen there should be a test which takes said data and makes sure placeUnit does the proper stuff with it23:31
hatch^ huwshimi 23:31

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