/srv/irclogs.ubuntu.com/2013/09/22/#juju-dev.txt

rogpeppethumper: hiya21:23
thumpermorning rogpeppe21:23
thumperworking sunday night?21:23
rogpeppecarmen's away...21:24
rogpeppemanaged to do a bit of slightly off-piste hacking on saturday21:24
thumperheh21:24
rogpepperesult is this CL; review appreciated: https://codereview.appspot.com/13249054/21:25
rogpeppethere are some cool things that it makes possible21:25
rogpeppefor instance it's easy to use it to generate API client-side code automatically.21:36
rogpeppeor to allow API clients to find out what calls are available21:38
rogpeppei also think it makes sense just from the p.o.v. of the structuring of the rpc package too, BTW - it becomes less monolithic, and that part (which is a significant part of the rpc package logic) can be more easily tested independently.21:59
rogpeppethumper: but YMMV of course21:59
thumperI'll take a look, but this is somewhat outside my current experience messing with go/juju22:03
rogpeppethumper: that's ok, i actually just want you to marvel at this, which took only an hour to write this afternoon, after i thought of it: http://paste.ubuntu.com/6143236/ :-)22:16
rogpeppethumper: it generates API client code for our entire API.22:17
rogpeppethumper: output looks like this: http://paste.ubuntu.com/6143244/22:18
rogpeppethumper: it actually compiles, but i haven't tried using it22:18
thumperheh22:19
thumperinteresting22:19
rogpeppethumper: the text/template package is actually surprisingly powerful22:20
thumperI don't see why the whole docker thread is on three different mailing lists I'm on22:21
thumperI get every email three times FFS22:21
rogpeppethumper: that's because they're so anxious that you read the mailing lists that they subscribed you three times :-)22:22
thumperno, I'm on all three lists22:23
thumperand the email is sent to three different lists22:23
thumperrogpeppe: are you not getting them three times?22:23
thumperjuju-dev, cdo and cloud?22:23
rogpeppeto: Canonical Clouds <cloud@lists.canonical.com>,22:24
rogpeppe cdo@lists.canonical.com,22:24
rogpeppe canonical-juju <canonical-juju@lists.canonical.com>22:24
rogpeppethumper: i'm not sure22:24
rogpeppethumper: my inbox is a mess currentyl22:25
rogpeppethumper: well, both my inboxes22:25
thumperthere are two cross list conversations atm22:25
rogpeppethumper: i hadn't actually read any of the thread. interesting.22:31
rogpeppedavecheney: yo!22:31
davecheneyrogpeppe: hey22:35
thumperwallyworld_: thanks for finishing off that logging branch23:00
wallyworld_np at all23:00
wallyworld_was good to get it landed23:01
* thumper got sidetracked starting kvm work fixing lxc tests23:30
wallyworld_how's the kvm stuff going?23:31
thumperwallyworld_:  https://codereview.appspot.com/1382804323:33
thumperwallyworld_: just starting really23:34
wallyworld_looking23:34
thumperwallyworld_: I have been focusing primarily on helping you and axw get your things in23:34
thumperand doing kvm on the side23:34
wallyworld_thank you :-)23:34
thumperas it isn't going to make 1.1623:34
thumperhoping to have it available shortly after23:34
thumperdefinitely prior to SFO23:34
* thumper crosses fingers23:34
wallyworld_mass folks will be happy23:35
wallyworld_maas23:35
thumperbut I want to make sure that the simplestream tools things and null provider stuff gets in23:35
wallyworld_thumper: why does the PatchEnvironment  call followup with a call to cleanup but not the SetPatch calls?23:45
thumperwallyworld_: it is in setup suite23:45
thumperthe PatchEnvironment in the test is a test cleanup23:46
thumpernot a suite cleanup23:46
thumperI'm yet to decide on wording for the PatchEnvironmentForSuite name23:46
thumperor PatchValueForSuite23:46
thumperperhaps those are good enough23:46
wallyworld_"the PatchEnvironment in the test is a test cleanup"  --- isn't the patch env called from setup suite. i don't quite get what you are saying that it is a test clean up23:49
wallyworld_with this call "s.PatchValue(&lxcObjectFactory, s.Factory)" is SetupTest, i can't see how the old value is ever restored??? since no cleanup is added23:51
wallyworld_s/is/in23:51
thumperah, the PatchValue is a call on the test23:55
thumperwhich automatically adds the cleanup23:55
thumpersee testbase.CleanupSuite23:55
* thumper -> gym23:56
=== thumper is now known as thumper-gym

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