/srv/irclogs.ubuntu.com/2013/01/10/#juju-gui.txt

frankbangary_poster, bac: shields up, uistage is broken! there is a conflict in config.js: http://uistage.jujucharms.com:8080/juju-ui/assets/config.js . trunk is clean and works well. 12:10
frankbangary_poster: problem #2: we correctly use config-prod in uistage, but the login help does not mention the possibility to login using "admin"12:10
frankbangary_poster: problem #3: did someone delete juju-gui in launchpad staging? I encountered this error while trying to qa a juju gui release in staging: http://pastebin.ubuntu.com/1516565/12:12
frankbangary_poster: anyway, Nicola and I just made new stable and trunk releases including the login-ui work.12:13
* frankban lunches12:14
goodspudHey chaps. The demo site doesn't appear to be working.12:28
goodspudWhen we access it we just get the lovely canvas background12:28
bacgoodspud: yeah, i'm looking into it.  see frankban's messages above12:28
goodspudbac, ah12:28
bacgoodspud, frankban: back up12:33
goodspudbac ... not on this end12:34
bacgoodspud: really?  try again, harder.12:35
goodspudbac, please hold (presses refresh harder)12:35
goodspudbac, nope. Still no go. Works fine on Jovan's machine though12:37
goodspudI've even tried it in three different browsers12:37
goodspudHmmm12:37
bacgoodspud: hmm.  oh, i forgot to change "deny: goodspud"12:37
goodspud:)12:38
bacgoodspud: still no go?  what do you see, just the top and a blank canvas?12:45
frankbanbac: a comma is missing in config.js, at the end of "socket_url: 'ws://uistage.jujucharms.com:8081/ws'"12:47
bacfrankban, goodspud: fixed.  try again12:49
frankbanbac: works well12:49
bacgood12:50
frankbanbac: so I guess we are manually changing config.js in our uistage. If so, and since it's already manually changed, we could also address the problem #2 I mentioned above12:50
bacyes, we have changes to config-prod.js12:51
bacfrankban: how's that for #2?12:55
frankbanbac: cool, thank you12:56
bacfrankban: https://staging.launchpad.net/juju-gui exists12:56
bacgoodspud: can you try again?12:57
frankbanbac: hum, I will try again after lunch12:57
jovan2bac: it works for me, but good spud is out for lunch.12:59
bacjovan2: ok thanks12:59
gary_posterfrankban, thanks for the notes, and bac thanks for fixing up uistage.  I had some kind of weird message from staging when I tried to use it to, saying that the project does not exist, when it clearly does.  I don't know what is up with that. :-/13:07
* bac tries via lplib13:08
gary_postergoodspud, good ole' refresh works for me.  If that does not work for you, the next thing to try is to clear your cache13:10
bacyep, juju-gui exists via lplib to staging.  oddness.13:13
gary_posterbac, you mean you saw no error?13:18
bacyes, i mean i got a juju-gui object and it looks healthy13:19
* bac loves lp-shell via lptools package13:19
gary_posterbac, weird.  Thanks for investigating.  Maybe will look later at ye olde scripte from leonard richardson days that we are using13:20
gary_posterfrankban, teknico, (Makyo not here) if one or two of you could take benji's branch for bug 1090716, that would be wonderful.  He sent a handoff email to the old peeps list which I forwarded to the new list13:22
_mup_Bug #1090716: GUI should hide GUI charm <juju-gui:Triaged> < https://launchpad.net/bugs/1090716 >13:22
gary_postertherve, btw, charm now has a fix for the problem you encountered yesterday having to do with the juju ppa13:23
thervegary_poster, ah cool, thanks13:24
gary_posterwelcome, thanks again for raising the issue13:24
thervegary_poster, do you know what I need to deploy to get an annotate-enabled version?13:25
gary_postertherve, the default one you get has annotation enabled but on a different juju instance than the main one.  That sounds not ideal for your use case.  hazmat, what do you recommend that therve do, or what do you think we can do to make that less weird?13:27
thervegary_poster, yeah that's fine enough for now. I think I've found where the source code was13:29
hazmattherve, there's a branch in progress that changes the annotation structure in the delta stream. doesn't change the core api though13:29
thervehazmat, ok13:30
hazmatgary_poster, what's to do the ? the websocket has te annotation13:30
thervehazmat, I'm looking at how putting data in13:30
* hazmat needs a cup of coffee13:30
gary_posterhazmat, didn't follow that.  :-)13:30
hazmattherve,  ws.write(json.dumps({'op': 'update_annotations', 'context': 'mysql/1', 'data': {'foo': 'bar'}))13:31
thervehazmat, awesome thanks13:31
hazmatnp13:32
* hazmat checks to see if it works ;-)13:32
hazmattherve, s/context/entity13:33
gary_posterhazmat, answering the question I think you might have been asking: if therve is going to use the websocket to annotate then his code has to be told what the address of the GUI juju instance is, rather than addressing the default Juju bootstrap node.  I guess he can look for the GUI charm in status...13:33
gary_posterIs that what you'd suggest?13:33
thervegary_poster, temporarily, yeah13:33
hazmatlong term, the websocket is on the state servers in juju-core13:34
gary_postertherve, ok, cool.  I expect that's what we'll need for pyJuju forever, so the switch over would only come when we switch to Go.13:35
hazmatenvs bootstrapped with the pyjuju branch also have the websocket on the state server... the charm as a workaround for other pyjuju envs13:35
hazmattherve, what do you expect the user to tell you about their environment?13:35
hazmattherve, are you creating the env for them.. or are they registering it with you13:36
gary_posterright, I'd expect the landscape work would want to be as robust as possible, but maybe I'm wrong13:36
thervehazmat, the latter. They give an endpoint and credentials13:36
goodspudbac, was eating me a salad. All words now and I've got the lovely login screen appearing13:37
gary_postergood :-)13:37
hazmatthen their already telling you the ws endpoint.. it sounds like13:37
thervehazmat, right13:37
gary_posterah ok13:37
therveyeah I meant for now it may be a different node, but at the end of the days it shouldn't matter for us13:38
gary_postercool13:38
therveexcept if we end up doing some kind of discovery, but it's not in the plans yet13:38
gary_posterright13:38
hazmati think we can do better but let's save that for next cycle when juju-core is solid13:39
therveyeah13:39
teknicogary_poster, looking at benji's stuff14:06
gary_posterthank you teknico14:06
gary_posterfrankban, unit test passes :-P lp:~gary/charms/precise/juju-gui/login-help . Thank you!14:14
frankban:-) thanks gary_poster 14:15
gary_posterbcsaller, bac, frankban, teknico, Makyo needs one more review sometime this morning of https://codereview.appspot.com/7067057/14:17
gary_postersorry, this afternoon in Europe :-)14:17
teknicogary_poster, ok :-)14:18
goodspudLiking the new updates to Juju: Login screen is great, cursor changes are brilliant. Well done chaps.14:19
teknicogoodspud, thanks :-)14:22
=== rogpeppe1 is now known as rogpeppe
gary_posterbcsaller, added bug 1098202 and card for reinstating scrollwheel14:36
_mup_Bug #1098202: re-enable scrollwheel in environment view <juju-gui:Triaged> < https://launchpad.net/bugs/1098202 >14:36
bcsallergary_poster: thanks14:37
therverogpeppe, https://code.launchpad.net/~hazmat/juju/rapi-rollup14:37
gary_posterwelcome14:38
bachi bcsaller, i often see some odd formating on comments that you touched last.  could you look at service.js around line 624 and see if they look funny to you?14:44
bcsallerbac: the comment indentation is off14:46
bacbcsaller: yeah, i see that a lot.  is your editor set up funny?14:47
bcsallerbac: not that I'm aware of, fixjsstyle has been known to do that but I haven't run that in a while14:47
bacbcsaller: ok.  i've just seen several occurences lately so i thought you'd like to be aware.14:48
bcsallerthanks14:48
* gary_poster is quietly amused at imagining various ways one could have one's editor "set up funny"14:48
gary_posterFor some reason having a red clown nose always floating front and center of the editor as you try to work appeals to me14:49
rogpeppetherve: thanks14:50
gary_posterteknico, in a fit of earliness I have already joined the hangout for our call.  no rush at all, but whenever you want to come by in the next 10 minutes or so, please do.14:51
rogpeppetherve: ah, that's the one i've got - annotations have been added since i last pulled...14:51
teknicogary_poster, be there shortly14:52
gary_postercool14:52
teknicogary_poster, the place looks empty :-)14:59
bacgoodspud: did you ever got uistage to work?15:12
gary_posterbac, yes, goodspud reported success earlier and also said he liked how it looked15:21
bacah, ok.15:23
gary_posterbac bcsaller frankban goodspud hazmat Makyo teknico call in 215:28
gary_posterMakyo goodspud hazmat starting without you15:31
goodspudJoining...15:31
* hazmat sneaks away to hunt for coffee16:12
* gary_poster goes to dr16:13
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
bachazmat: i'm adding x,y annotations to services on drag end.  currently i'm just calling them 'x' and 'y'.  i notice now in your delta tests you use 'gui.x' and 'gui.y'.  thoughts?19:20
hazmatbac, i'd keep with the app prefix19:23
hazmati was going to suggest to therve that he use 'ls' prefix for landscape attrs19:24
bachazmat: ok.  makes sense.19:24
hazmatits a cleanly namespace thing19:24
hazmatbac, cool19:24
hazmatgary_poster, thanks re review19:25
hazmatmerging19:25
gary_postercool hazmat thanks19:25
hazmati'm getting pulled away to work on some webops stuff for the rest of the afternoon19:25
hazmatmerged and pushed to the rollup19:26
hazmatbac, heads up since your working w/ annotations.. the delta stream format just changed to have them under the 'annotations' key in the rollup revno 62219:28
gary_postermerged and pushed: ok thanks hazmat19:28
MakyoFixed #1097871 - going to run out to the store real quick for lunch, will add a test and propose after.20:05
_mup_Bug #1097871: Pending relation line does not follow cursor. <juju-gui:Triaged by makyo> < https://launchpad.net/bugs/1097871 >20:05
bacbcsaller: would you have time to do a quick review, or at least look at the question gary raises on https://codereview.appspot.com/7070069 ?20:07
bcsallerbac: yeah, I'll finish my review20:10
bacbcsaller: thanks20:11
gary_posterMakyo or bcsaller, do either of you have a minute to talk about the BoundingBox class in utils.js?  I'm not clear on why it is constructed the way it is, and I feel like I'm missing something important.20:36
bacthanks bcsaller20:36
bcsallergary_poster: you mean not using Y.Base?20:36
gary_posterbcsaller, no, constructing a Box inside of the BoundingBox, rather than putting the methods on BoundingBox20:37
bcsallerAhh, its a closure with some of its data protected20:37
gary_posteryeah20:37
bcsallerits a common patten in the d3 codebase20:37
gary_posterah ok.  seemed unnecessarily complex on the face of t, but I won't worry about it20:38
gary_posterthx20:38
bcsallerits very light weight, a Y.Base subclass does so much more20:39
gary_posterbcsaller, yeah, not advocating for Y.Base.  The mixture of the closure and the inner Box seemed like it could be simplified without loss into a BoundingBox20:40
gary_posteralone20:40
gary_posteragain, not worried about it20:40
* Makyo walkinates the dogalope.22:07
gary_posternight all22:26

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