|
=== mattuk1972_ is now known as mattuk1972 |
|
=== _mup__ is now known as _mup_ |
|
[11:45] <dguerri> this might not be the right channel… but.. is there some docs about the juju RAPI? |
|
[11:52] <teknico> dguerri, hi |
|
[11:54] <dguerri> hi, teknico |
|
[11:55] <teknico> dguerri, not that I know of |
|
[11:58] <frankban> dguerri: you could find some info on setting up the rapi-rollup agent in the documentation included in juju-gui: http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk/view/head:/HACKING |
|
[12:03] <dguerri> thanks frankban but I'm thinking about writing a ruby binding for the juju restful API |
|
[12:09] <frankban> dguerri: it's a websocket API, it makes use of good rest principles, but still it's not a rest API. Unfortunately, my I am not aware of a place where the stream is documented. |
|
[12:10] <dguerri> mmmh, so it might not be the right interface for a lang binding … |
|
[12:12] <bac> morning frankban. how goes the effort? |
|
[12:19] <frankban> bac: it's under review, you can glance at https://codereview.appspot.com/6977043/ . Tests results are different based on who runs the suite. |
|
[12:20] <bac> frankban: oh, that's good. keeps people on their toes |
|
[12:20] <frankban> dguerri: I guess it depends on what you want to achieve |
|
[12:20] <frankban> bac: :-) |
|
[12:23] <bac> frankban: is lp2kanban busted? i see your defect in done-done has a bug but it isn't populated |
|
[12:23] <frankban> bac: it seems so |
|
[12:25] <frankban> bac: the same for other two cards in "ready to code" |
|
[12:25] <bac> yep. i'll look into it |
|
[12:38] * frankban lunches |
|
[13:06] <bac> frankban: lp2kanban is undead again |
|
[13:11] <gary_poster> hey benji. I thought a fun improvement I could tackle today in very limited time might be to update the release docs a bit. if that sounds ok to you and you are available to talk through things with me so I can pick your brain sometime, lemme know |
|
[13:11] <benji> gary_poster: sounds like a plan |
|
[13:11] <gary_poster> cool |
|
[13:12] <gary_poster> ty |
|
[13:16] <gary_poster> bcsaller, did you see what I meant about the rietveld review? In a bit I'll make my own diff |
|
[13:17] <frankban> bac: cool thanks |
|
[13:17] <bac> it is not very robust wrt ill configured boards and projects |
|
[13:18] <gary_poster> bac, what cam we improve for poor configuration |
|
[13:18] <gary_poster> thank you for fixing btw |
|
[13:18] <bac> gary_poster: i just added some exception handling around the call to the board processing. so if someone (<cough> green) isn't configured their processing stops but other boards continue |
|
[13:19] <gary_poster> heh |
|
[13:19] <gary_poster> ok cool thanks bac. you shot a note to gmb too? |
|
[13:19] <bac> i've pinged him, waiting for him to return from lunch |
|
[13:19] <gary_poster> cool |
|
[13:20] <bac> brits and their ill-timed lunches |
|
[13:20] <gary_poster> Europeans and their ill-timed lunches! Americans and their ill-timed desire to sleep through till the morning! |
|
[13:20] <gary_poster> :-) |
|
[13:24] <benji> Humans and their ill-timed biological needs. |
|
[13:54] <bcsaller> gary_poster: I was able to fix it, still don't know why it happened before |
|
[13:54] <gary_poster> bcsaller, cool, reviewing, thanks. |
|
[14:01] <gary_poster> teknico, you are going to start bug 1074413, I'm guessing |
|
[14:01] <_mup_> Bug #1074413: GUI charm should require HTTPS connections to the environment by default <deploy-story> <juju-gui:Triaged> < https://launchpad.net/bugs/1074413 > |
|
[14:02] <gary_poster> bac, I made room for you on secondary story to start tests ofthe pan/zoom module, based on bcsaller |
|
[14:02] <gary_poster> 's branch in review |
|
[14:02] <gary_poster> hazmat if you could land your branch that would really help us keep the flow moving |
|
[14:04] <hazmat> gary_poster, eta 1hr |
|
[14:04] <gary_poster> thanks |
|
[14:09] <teknico> gary_poster, yep |
|
[14:10] <bac> gary_poster: ok |
|
[14:18] <bac> gary_poster: there is a card for bug 1083935 but it is blocked by 1077050 and 1077051. only the latter seems to be fixed. unblock it and carry on? |
|
[14:18] <_mup_> Bug #1083935: Environment pan/zoom code is not tested sufficiently <juju-gui:Triaged> < https://launchpad.net/bugs/1083935 > |
|
[14:34] <gary_poster> bac, yes, that's based on plans that have been superceded. You are still blocked on Ben's branch, but since you are working from it, it's ok |
|
[14:34] <gary_poster> bcsaller, quick checkin? |
|
[14:34] <bcsaller> yeah |
|
[14:45] <bac> hi bcsaller, i just grabbed your current branch. when i try to run the tests i get a time out on the first test and it stops. anything different about running tests with your new work? |
|
[14:47] <bcsaller> bac; left a .only on one of the test that _is_ having issues, reproposed the branch w/o that , sorry |
|
[14:48] <bac> bcsaller: np, will grab new version |
|
[14:50] <bac> bcsaller: cool, it now works except for that one test failure |
|
[15:11] <frankban> gary_poster: hum... it seems that our debug server does not contain everything needed. I see this in the js console after switching to staging in a deployed charm: http://pastebin.ubuntu.com/1452506/ |
|
[15:12] <gary_poster> frankban, ack on call will look soon |
|
[15:16] <frankban> gary_poster: thanks, and... problems also in the production server: http://pastebin.ubuntu.com/1452512/ |
|
[15:16] <gary_poster> teknico, ^^^ ? |
|
[15:17] <gary_poster> will look asap |
|
[15:17] <teknico> gary_poster, looking |
|
[15:20] <teknico> frankban, so, what files are missing? |
|
[15:24] <frankban> teknico: I don't know, my understanding is that https, refusing to load external insecure resources, exposes a problem we have: our releases don't contain everything required by the GUI, and the YUI loader tries to fetch libraries from the net (e.g. ellipsis, markdown, timer) |
|
[15:24] <teknico> ah, I see |
|
[15:25] <gary_poster> sorry I didn't QA enough to catch that |
|
[15:25] <gary_poster> teknico, previous call ran over, sorry. talk after standup? |
|
[15:25] <teknico> gary_poster, sure |
|
[15:25] <gary_poster> frankban, teknico we may need to revert the https code to let frankban proceed :-/ |
|
[15:26] <teknico> gary_poster, right. I still did not manage to see tests complete successfully :-/ |
|
[15:28] <gary_poster> teknico, I am afraid that this is going to be a very serious problem |
|
[15:28] <gary_poster> bac bcsaller benji frankban goodspud hazmat Makyo teknico call ni 2 |
|
[15:28] <frankban> gary_poster: I am not blocked, and I already merged trunk and resolved conflicts. And, AFAICT, this is a bug of the GUI, not of the charm. However, is uistage broken? |
|
[15:28] <gary_poster> frankban, ui stage is not broken |
|
[15:29] <gary_poster> because not served from charm, or from httos |
|
[15:29] <gary_poster> https |
|
[15:29] <gary_poster> but this means that the charm is now unusable |
|
[15:29] <frankban> gary_poster: yes |
|
[15:30] <gary_poster> yes the bugfix goes in the gui |
|
[15:30] <gary_poster> but meanwhile the charm is broken |
|
[15:30] <gary_poster> frankban, bcsaller starting at X:31 :-) |
|
[15:30] <frankban> gary_poster: so you are right, better to revert the changes. Even better if someone can confirm what I see. |
|
[15:40] <hazmat> teknico, http://bazaar.launchpad.net/~hazmat/juju/rapi-rollup/view/head:/juju/agents/api.py#L153 |
|
[15:41] <teknico> hazmat, great, thanks |
|
[15:54] <Makyo> bcsaller, I think I figured out the resize thing. |
|
[15:54] <bcsaller> Makyo: ha, sweet |
|
[15:55] <Makyo> bcsaller, it's a little unfortunate :| Resize events are only fired when bound using Y.on(), which we're not doing with the module event binding because of publish. If I bind it in initializer in mega.js how it used to be bound, it works. |
|
[15:56] <bcsaller> Makyo: look at the change in the yui bindings in d3-comp though, it should cover that case, thats where I was getting stuck |
|
[15:59] <Makyo> bcsaller, Ah, I see it now. Passing window as context gets the event to fire, at least, but then this is set to the YUI window node, rather than the module. Is that the problem? |
|
[15:59] <bcsaller> the handler won't be able to pull the state it needs to run I think |
|
[16:01] <goodspud> hazmat, let me know when you are free to talk about PPAs, login, etc |
|
[16:01] <hazmat> goodspud, ack, 5m max |
|
[16:01] <hazmat> eta |
|
[16:01] <goodspud> cool |
|
[16:09] <hazmat> goodspud, juju-ui hangout |
|
[16:10] <Makyo> bcsaller, after target = Y;, add handler.context = null; and it works. |
|
[16:10] <Makyo> Not...sure why it doesn't like the context in there. |
|
[16:11] <bcsaller> Makyo: changing the context on a window event breaks it maybe... that is odd |
|
[16:16] <gary_poster> teknico, would you like to have a call, or postpone to tomorrow, or...? |
|
[16:18] <Makyo> bcsaller, does that get us closer to where we need to be? |
|
[16:18] <bcsaller> Makyo: I think, let me finish testing it |
|
[16:19] <teknico> gary_poster, a call today would be better, I'll get back to you in a few minutes, thanks |
|
[16:19] <bcsaller> Makyo: yes, thanks alot, that working |
|
[16:19] <Makyo> Whew |
|
[16:20] <bcsaller> Makyo: the test is still failing, but I can track that down now that the event is properly handled |
|
[16:22] <bcsaller> Makyo: got it, going to push again :) |
|
[16:22] <frankban> gary_poster: re tls, e have another problem: we want, in the GUI to fetch data from http://jujucharms.com/ |
|
[16:24] <bcsaller> gary_poster: makyo found the issue and I've pushed the updates, should I go ahead and land it now? |
|
[16:37] <teknico> frankban, I guess we can ask webops to enable https://jujucharms.com/ :-) |
|
[16:46] <teknico> gary_poster, re: call, main thing would be making tests work, if you could help me there it'd be great, otherwise we can postpone |
|
[16:55] <gary_poster> bcsaller, please land, yes |
|
[16:55] <gary_poster> thank you |
|
[16:56] <gary_poster> frankban, :-( hazmat do you have control over jujucharms.com? Can you set up a cert and give us https access? |
|
[16:57] <bcsaller> gary_poster: woot :) |
|
[16:58] <gary_poster> bcsaller, reminder to please make the bug/card to fix the initial prod test run, or ask me to (happy to) :-) |
|
[16:59] <gary_poster> teknico, https://codereview.appspot.com/6977043/#msg5 has Francesco's charm debug notes. They are very good. |
|
[17:00] <teknico> gary_poster, yes, I read that email and saved it for future reference :-) |
|
[17:00] <gary_poster> :-) |
|
[17:00] <teknico> gary_poster, at first sight it did not help with my problem though, I'll have another look |
|
[17:01] <gary_poster> teknico, pair for a few minutes? |
|
[17:01] <gary_poster> up to you, only if you want to |
|
[17:01] <hazmat> gary_poster, i do .. what do you need? |
|
[17:01] <teknico> gary_poster, sure |
|
[17:01] <hazmat> gary_poster, i'm a little confused |
|
[17:01] <hazmat> gary_poster, g+ for a few minutes ;-) |
|
[17:01] <gary_poster> hazmat, GUI over https needs to talk to jujucharms |
|
[17:01] <gary_poster> ok :-) |
|
[17:01] <hazmat> hmm |
|
[17:02] <hazmat> it would be good to do so.. yes |
|
[17:02] <hazmat> but required.. not sure.. |
|
[17:02] <hazmat> does the browser toss up any thing for async ajax request |
|
[17:02] <hazmat> if its not https from an https page? |
|
[17:02] <hazmat> well not required atm is the questoin |
|
[17:02] <gary_poster> don't think so, in Chrome anyway. frankban, ^^ ? |
|
[17:03] <hazmat> if not then its more a pending task that we can toss in the kanban .. just trying to determine immediacy of action |
|
[17:03] <gary_poster> I mean, I think it fails silently. frankban has immediate experience |
|
[17:03] <hazmat> hmm.. i guess the websocket is a subresource that fails .. so its similiar |
|
[17:04] <gary_poster> right |
|
[17:04] <hazmat> but thats still a bit different since that what's we wanted encrypted |
|
[17:04] <frankban> hazmat: each request to connect to jujucharms is blocked by the browser, including charm info (e.g. one of the service detail tabs). |
|
[17:04] <gary_poster> frankban, silently blocked, yeah? in chrome? |
|
[17:05] <gary_poster> I see silent blocks in chrome, generally, and warnings you can bypass in FF |
|
[17:05] <hazmat> the issue with the websocket was its encrypted but with an non user auth'd cert |
|
[17:05] <hazmat> hmm |
|
[17:05] <frankban> gary_poster: in chrome yes, errors can be seen only in the js console |
|
[17:05] <hazmat> frankban, what's the error msg in the console? |
|
[17:06] <frankban> hazmat: similar to this one, but pointing to jujucharms.com: http://pastebin.ubuntu.com/1452506/ |
|
[17:06] <hazmat> we're sending cors headers but their use case is the reverse.. |
|
[17:07] <hazmat> frankban, gotcha |
|
[17:07] <hazmat> ok so its immediate. checking cert prices |
|
[17:09] <frankban> gary_poster: commented the code enabling TLS in the charm, last test run and then I'll land the branch |
|
[17:09] <gary_poster> thanks frankban |
|
[17:18] <teknico> gary_poster, progress! I see machines running already :-) |
|
[17:18] <gary_poster> teknico, excellent :-) |
|
[17:46] <gary_poster> frankban, do you have a plan for attacking the gui https bits we talked about?I might be able to push it forward after your EoD if you do. If not, no worries |
|
[17:48] <frankban> gary_poster: I think a plan could be to found a way to configure the YUI loader so that it never tries to download dependencies from the outside world |
|
[17:48] <frankban> s/to found/to find/ |
|
[17:48] <gary_poster> frankban, right. That's what thiago tried at one point. That's probably the thing to try first |
|
[17:53] <bac> bcsaller i started reading your code to understand what you did and then ended up doing a review. |
|
[17:53] <bcsaller> bac: thanks, its submitted, but I can make changes in the next branch if need be |
|
[17:53] * gary_poster restarts then lunches |
|
[17:53] <bac> bcsaller: ok, that's be good |
|
=== gary_poster is now known as gary_poster|away |
|
[17:56] <goodspud> Happy Yule Time Hugs everyone. Enjoy your holidays. I'm out of here. |
|
=== gary_poster|away is now known as gary_poster |
|
[18:45] <gary_poster> benji, when you have a quick sec to explain/remind what the expected release pattern is, please lemme know |
|
[19:04] <frankban> gary_poster: the branch finally landed \o/ . It seems to me that some modules (like gallery-ellipsis or gallery-timer) are not included just because they cannot be found under node_modules/yui. |
|
[19:04] <gary_poster> yay frankban |
|
[19:04] <gary_poster> hm |
|
[19:05] <gary_poster> frankban, so they are not in the compressed file either |
|
[19:05] <gary_poster> so perhaps we just copy them over and serve them |
|
[19:05] <gary_poster> I'll try that :-) |
|
[19:05] <gary_poster> if I have time |
|
[19:06] <gary_poster> thanks and have a good evening frankban |
|
[19:07] <frankban> gary_poster: it seems so (they are not in all-yui.js). you too |
|
[19:19] <benji> gary_poster: I am back from lunch and available at any time. |
|
[19:21] <gary_poster> thanks benji. ony 9 min till next call, so maybe later :-) |
|
[19:21] <benji> gary_poster: k |
|
[20:26] <gary_poster> bcsaller, ping |
|
[20:27] <bcsaller> gary_poster: hey, whats up? |
|
[20:28] <gary_poster> hey bcsaller. I am doing exploration on the https issues and messing around with things. modules-debug.js gives this warning, which I vaguely recall: |
|
[20:28] <gary_poster> / The "requires" property should not be used here because the javascript |
|
[20:28] <gary_poster> / minimizer will not parse it. |
|
[20:29] <gary_poster> juju-topology requires files here, and then dupes those in its own definition |
|
[20:29] <gary_poster> Is it OK with you to rip out the ones in modules-debug, since AFAICT they are a dupe, and can't be used? |
|
[20:29] <gary_poster> (when compressed) |
|
[20:31] <bcsaller> gary_poster: yeah |
|
[20:31] <gary_poster> cool thanks bcsaller |
|
[20:31] <bcsaller> thank you |
|
[23:52] * hazmat gary_poster fingers crossed |
|
[23:52] <hazmat> whhops |
|
[23:52] <hazmat> happy holidays folks |
|
|