/srv/irclogs.ubuntu.com/2013/11/05/#juju-gui.txt

rick_h_huwshimi: it's not in widgets. All templates are in juju.templates? /me has to check00:07
rick_h_var templates = Y.namespace('juju.views').Templates00:07
rick_h_huwshimi: ^^00:07
rick_h_it's part of the "build all the templates at once" that kind of makes it have to be in views.Templates to work00:07
huwshimirick_h_: Oh awesome. I copied and pasted but somehow got that wrong :)00:09
gary_posterjujugui, https://codereview.appspot.com/21440044 needs one review.  Hopefully I won't be around to look at that review until tomorrow. :-)03:41
=== gary_poster is now known as gary_poster|away
bacrick_h_: morning11:52
rick_h_bac: morning12:06
bachey rick_h_, nm, false alarm doing qa.  the correct version of the deployer didn't install for me.12:21
rick_h_bac: oh, that's not good. Did deps not update?12:26
bacrick_h_: i'm about to have to run to the vet.  i'm proposing a change to charmworld to do logging when baskets are rejected.12:26
bacrick_h_: i don't know.  i removed the canary file and re-ran 'make deps' and then it was good12:26
rick_h_bac: ok cool. thanks12:26
bacrick_h_: when broking local/lib/python.../juju-deployer only had a deployer.py file12:26
bacnone of the rest of the package12:26
rick_h_bac: hmm, ok. Yea that was the old 0.1.1 version I replaced in an earlier branch. 12:27
rick_h_jujugui morning crowd, review request when the time opens up please https://codereview.appspot.com/2137004412:42
benjirick_h_: I'll take a look12:42
rick_h_benji: thanks12:43
=== gary_poster|away is now known as gary_poster
benjigood morning gary_poster; re. YAML vs. JSON: JSON is a subset of YAML, so unless our YAML parser is broken it should work12:58
rick_h_benji: that was my thought. I know the proof stuff 'just worked' that way. To inline the yaml it almost turns into json12:59
gary_posterbenji, ah ok, good to know, thanks12:59
gary_posterbenji, rick_h_ I was thinking we should review my notes and strategize in a few minutes?12:59
benji+112:59
rick_h_gary_poster: sure thing, I've got the deployer code down and matching up email to source code atm13:00
gary_postercool.  will ping in about 5 or 10.  thank you13:00
gary_posterbenji, rick_h_ now ok?  If so, https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.j0rk5d371ph8331ijtf48t2uj013:15
gary_posterbenji, rick_h_ forgot one other suspicious thing to keep an eye out for: when I first did a ps auxwww | grep python, there were three instances of the same server.  My guess/hope is that these were from the multiprocessing stuff, but another possible sharp corner to be aware of13:32
benjihmm, ok13:32
bacjujugui: question about patching. i need to do this:13:59
bacwith patch.object(job, 'proof') as proof:13:59
bacbut the method returns two things *and* i want to check calling args14:00
bacthe default object fails as it unpacks too few things and that form doesn't seem to allow a lambda14:00
benjibac: you can provide your own double that will be called and can do whatever you want and return whatever you want14:00
bacbenji: so just forgo the loveliness of assert_called_with and hand-roll it?14:01
benjibac: that's the only way I know to do what you want14:01
bacok, thanks14:02
benjiit is bad design, you have to opt out of the goodness to do something slightly unusual.  A better design would grow with you.14:02
bacbenji: mind looking at http://paste.ubuntu.com/6364840/ and see if you can suggest a way to make it work?14:10
bacwhat i have doesn't work b/c the scope isn't the same when the mock machinery actually calls it.14:11
benjibac: first you have to port the entire codebase to Python 3 and then replace the "global" keyword with the "nonlocal" keyword 14:12
benjibac: if you don't have time to do that before lunch, you can make called_with a list and append the value to it to capture it14:12
baci bet that won't work.  it still won't be in scope.  /me tries14:13
benjiit will14:13
benjitrust the master14:13
benjithe problem isn't that it isn't in scope, it is that there is a new scope and your assignment is shadowing the outer scope's value instead of replacing it14:14
bacyou were right, i was wrong.14:14
baca blind man could tell you that14:14
bacwhat the hell14:14
bacbenji: but when i break in the original there was no called_with14:15
benjibac: I bet you had the "global" declaration in there, in which case it was grabbing called_with from the module namespace, but there wasn't one there14:16
bacnope, i added the global later14:16
benjihmm, I'm out of ideas then14:17
bacbenji: review? https://codereview.appspot.com/21880043/14:24
benjibac: sorry, pairing with Rick right now14:24
bacwell, that's bad as rick_h_ was my next choice!14:25
rick_h_lol14:29
bacbenji, rick_h_: this branch is blocking QA and release of charmworld.  it is very short.  if you can squeeze it in i'd really appreciate it.14:29
gary_posterCan I review reasonably?14:30
benjibac: ok, we'll take a look14:30
bacgary_poster: oh, i thought you were gone.  you're all red in my client14:30
gary_posterthat scared everyone away ;-)14:30
bacsure, anyone can do it14:30
gary_posterok cool14:30
baci'm not being pissy just anxious to move on14:30
gary_postersure, that's what they all say14:30
baci was pissy when they told me at 9am the vet wouldn't be coming in until 11.  that resulted in them agreeing to drive jojo home after the appointment.14:32
benjibac: LGTM14:32
bacty14:32
bacbenji: when in rome14:35
benji:)14:35
gary_posterhey rick_h_ , has your deployer file url branch landed?  I don't see it in staging.  If it is there, I will try to use it in the GUI14:52
rick_h_gary_poster: no, I was updating per review this mornign and haven't submitted it yet due to the burning barn14:52
gary_posterrick_h_, oh ok.  mm.  wasted work though.  how much effort to get that in?  can bac take it, maybe?14:53
rick_h_gary_poster: give me 3min to finish it up and hit rv-submit]14:53
gary_posterrick_h_, awesome, given. :-) thanks14:54
rick_h_gary_poster: submitting to the lander now. will take a min for it to run it through/merge it15:01
gary_postercool, thank you.15:02
rick_h_gary_poster: ok, merged in successfully. Not sure how long it'll take staging to pick it up15:09
gary_posterawesome, thanks15:09
rick_h_gary_poster: so just using the deployer_file_url attribute in the api response should be good for that url15:09
gary_postercool15:09
gary_posteron it15:09
hatchhey all15:13
rick_h_party15:14
hatchhow's things?15:14
rick_h_on fire :)15:14
hatchgood on fire or bad on fire? haha15:14
hatchwhen are our stand-up now that the time has changed 15:18
rick_h_hatch: in 45min15:18
hatchoh ok cool . I didn't want to be Kate tomorrow if it was earlier for me or something 15:18
hatchgreat picture from Robbie on the twitters :) 15:19
rick_h_hatch: linky15:25
* bac reboots charmworld staging due to memory issues15:25
hatchrick_h I'm on my phone at this conf so I can't but it was within the past 24h15:26
rick_h_hatch: cool, see it15:27
hatchrick_h there is a typescript talk this afternoon...thought you'd enjoy that :P15:29
gary_posterjujugui call in 1015:50
Makyojujugui call in 215:58
MakyoAll throughout the call, the dogs play.  As soon as the call stops, they crash. Go figure. http://ubuntuone.com/gallery/56atUQ5IHr3CkOXeT605zL/IMG_20131105_091512.jpg16:19
gary_posterHey Makyo.  Feel like taking a break to make a video? :-)  We have a request from ODS16:28
Makyogary_poster, sure.  What for?16:28
gary_posterForwarding16:29
gary_posterMakyo, sent16:32
MakyoGot it, thanks!16:33
gary_postercool16:36
gary_posterthank you16:36
Makyogary_poster, do they want a version of jcastro's talk in video form, then?  Drag the havana/swift bundle in simulator, while showing real deployments in EC2?16:48
jcastromark's talk you mean? he did that during the keynote16:48
jcastro(that was very cool by the way)16:49
gary_posterMakyo, yes16:50
* gary_poster is glad staging was not down at the time16:52
gary_posterthat appears to be the issue now16:52
jcastrooh I thought you guys planned for all that16:57
jcastroso basically he did it off the cuff?16:57
rick_h_what did he do? /me hasn't managed to watch the video yet. He used comingsoon?16:58
gary_posteryeah he did it off the cuff.17:01
gary_posterrick_h_, will forward17:01
rick_h_gary_poster: cool, setting up in the background to listen to while deploys run17:01
gary_posterjujugui, small and easy: https://codereview.appspot.com/2198004317:06
gary_poster(I hope :-P)17:07
Makyogary_poster, like https://docs.google.com/a/canonical.com/document/d/1mXcYaNHWP85o11UoiQZTXhgn5vt-5eU27fWgHFbIKGA/edit?usp=sharing  ?17:48
gary_posterMakyo, sounds great!  Thank you17:55
MakyoCool, on it, then.17:55
gary_posterrick_h_, you around?  Would like to verify two apiv2 -> apiv3 changes.  First, when searching, what was an api call with 'charms?text=foo' is now 'search?text=foo'.  Second, what was 'http://localhost/api/2/charm/mysql-1/icon.svg' is now 'http://localhost/api/3/charm/mysql-1/file/icon.svg'.  Does that look right?17:59
rick_h_gary_poster: not sure on the search one. Looking18:00
gary_posterthanks18:00
rick_h_gary_poster: that looks correct18:03
gary_posterawesome thanks rick_h_ 18:03
gary_posterjujugui, I now have https://codereview.appspot.com/22000043 , which removes the charmworldv3 flag and APIv2 class.  That's in addition to https://codereview.appspot.com/21980043/ , which still needs some reviewing love.  I'm now going to try and get https://code.launchpad.net/~ya-bo-ng/juju-gui/linkify-charm-descriptions/+merge/192852tweaked and merged, and then I'm moving to changelog...18:20
rick_h_gary_poster: k, looking at the first one18:20
gary_posterthank you rick_h_ 18:20
rick_h_gary_poster: should we decode jujucharms.com/bundle/%7Ejorge ?18:24
rick_h_the ~18:24
gary_posterrick_h_, oh yeah I was going to and forgot, thanks18:25
rick_h_gary_poster: ok, LGTM on that one with that18:25
rick_h_gary_poster: also we need to make sure we switch off staging back to manage soon (don't want to have that fall through the floor)18:25
gary_posterrick_h_, +1.  Once bac gets charmworld trunk deployed to manage then I think we can18:26
bacgary_poster: jcsackett found a problem with charmworld that got turned on yesterday in staging.  he's going to revert it.  having that done is a blocker for updating production.18:31
gary_posterack thanks for update bac18:32
hatchrick_h_, hey once I add those tests to that IE fix branch can it be landed? Did you QA? 19:08
rick_h_hatch: no19:11
hatchoh ok, think you'll have time for that today? or are you swamped?19:11
rick_h_on fire sorry19:12
hatchalrighty np I wont rush to finish the tests today then :)19:12
* hatch hands you a bucket of water19:12
hatchjust in case you get too hot :)19:12
bacjujugui: review por favor: https://codereview.appspot.com/2179004519:18
gary_posterbac, would do it but I think one of the charmworld people would be better for those topics19:19
bacabentley: i just wrote my first migration for charmworld.  would you mind taking a look?  https://codereview.appspot.com/2179004519:20
abentleybac: Sorry, I'm gonna be a while.19:36
bacabentley: ok.  let me see if sinzui is available19:36
abentleybac: No, we're working on some stuff right now.19:37
bacoh19:37
rick_h_gary_poster: ping for 'wtf is going on' catchup? https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.j0rk5d371ph8331ijtf48t2uj020:24
abentleybac: I think when es-updates creates a new index, it uses an old index, not mongodb, as its source.  And it does this only when there is an incompatible schema change.20:48
bacabentley: so you're saying the old data will remain in es?20:49
abentleybac: Yes.20:49
bacabentley: advice on the right way to proceed?20:49
abentleybac: I think drop all the bundle entries from elasticsearch.20:51
abentleybac: The bundles are going to disappear until the next ingest and that's okay, right?20:52
bacyes, that's what we want20:52
abentleybac: So yeah, I think that's the thing to do.  But do you need to delete the bundles at all?20:53
bacabentley: many of the bundles that are in charmworld have errors so we'd like for them to be removed so that after the next ingest only error-free bundles are presented.  does that answer your question?20:55
abentleybac: Just raises more questions, I'm afraid.  The policy with charms is that proof failures do not prevent them from being stored and displayed.20:57
abentleybac: The store was what determined whether a charm was acceptable to display.20:58
abentleybac: We did at one point hide charms with proof errors, but stopped doing that because proof errors did not mean that the charm was unusable.21:00
abentleybac: I believe marco is changing it so that errors indicate that charms are unusable.21:01
bacabentley: The store does not know about bundles.  It is our decision for the first release of bundles to reject those with errors.  At a later date, when we've had time to update the UI, we will store those in error and show the problems.21:01
abentleybac: If it were me, I'd hide those with errors, rather than preventing them from entering the store.  What happens when proof changes and some of the bundles currently in the store start to fail proof?21:04
bacabentley: that's a good point.21:06
abentleybac: Anyhow, that's my 2 ยข.  You do need to delete bundles from elasticsearch, but changing the way you handle errored bundles can wait.21:09
bacabentley: thanks, i really appreciate your input.21:10
abentleybac: np21:10
gary_posterbenji, hey.  I exported from comingsoon and got this: http://pastebin.ubuntu.com/6366975/21:28
* benji looks21:28
gary_posterbenji, it looks like it is right.  I wonder if this is because jujucharms.com is old21:28
benjiooh, that's good21:28
gary_posteror if people are exporting from pyjuju or something21:28
benjimight be, at least it means we are closer to a global fix than we though21:28
gary_posterright21:28
gary_posterso, you agree that we appear to already be in good shape here, right?21:29
gary_posterin terms of our release goals21:29
rick_h_gary_poster: replied to your email, but correct. So we're just on the charm and deployer bits to move forward 21:45
gary_postercool thanks Rick.  I'm writing a status email for the peeps list21:46
huwshimiMorning21:59
bachi huwshimi21:59
gary_posterhey huwshimi 22:00
gary_posterbenji, re your card "Not-quite-private-enough charms were loaded into charmworld.  People want them out.": that is in urgent already22:01
gary_posterdeleting22:01
benjigary_poster: k22:01
benjiI searched for a card with that issue number and couldn't find one, so I made that one22:01
bacgary_poster: aaron suggested some changes so could you do a final of https://codereview.appspot.com/2179004522:01
gary_posterbac on it22:02
gary_posterbac, sorry, oven fire and other excitement.  back and then must run. trying to finish...22:13
gary_posterbac LGTM 22:14
* gary_poster running22:15
=== gary_poster is now known as gary_poster|away
huwshimirick_h_: Would it be a bad idea to have custom templates per instance of the dropdown widget? As in do something like TEMPLATE: Y.namespace('juju.views').Templates[this.get('template')]; (which doesn't work as is... but you get the idea)22:19
huwshimiAnother option would be for the widget to not handle the template at all, but just handle the show/hide22:21
huwshimiI guess that might work well with the need for rather different content for each dropdown...22:23
=== gary_poster|away is now known as gary_poster
=== gary_poster is now known as gary_poster|away

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