/srv/irclogs.ubuntu.com/2012/12/17/#juju-gui.txt

gary_posterhey teknico, approved your holiday request13:18
gary_posterbenji, I was going to try and dupe teknico's report on your branch, unless you've already verified/duped.  have you?13:31
benjigary_poster: nope, I have been trying things bug was just about to give up and ask for a pairing session13:32
gary_posterok benji, I'll be ready in just a few minutes & I can at least try to dupe with you.  pairing, or talking, with teknico afterwards might make sense (and I have another call in an hour)13:33
benjik13:33
gary_posterSomething I meant to mention earlier to everyone: http://uistage.jujucharms.com:8080/juju-ui/version.js works now, and can be useful to confirm that you are verifying on QA what you expect13:37
gary_posterI'll try to remember to mention this on the call13:37
gary_postermm, I'll send an email13:38
hazmatg'morning13:43
hazmatgary_poster, where would i put the card for annotation support given our current stories?13:47
gary_posterhazmat, secondary story please (we need it there)13:48
gary_posterhazmat, I was just writing an email, but you know the answer to this and can share it in five seconds I suspect.  From the email draft:13:50
gary_posterOn a related note, note that our README is not rendered properly in the charm store (unlike, say, http://jujucharms.com/charms/precise/wordpress).  I saw that ReST is supported (see "Creating a README File" in https://juju.ubuntu.com/docs/write-charm.html) so we're not doing something else right.  Maybe we just need to move the charm's README.txt to README.rst?13:50
gary_posterReferring to http://jujucharms.com/~juju-gui/precise/juju-gui13:51
hazmatgary_poster, only markdown is supported for rich formatting (client side) in the store atm13:51
gary_posteroh ok hazmat.  So we should switch, maybe.  And maybe change the charm docs?13:51
gary_posterI mean https://juju.ubuntu.com/docs/write-charm.html13:51
hazmatgary_poster, we can add a card to the charm store for rst support, but its low priority13:52
gary_posterright13:52
hazmatgary_poster, we should switch and change the docs.. the gui is going to have the same issue rendering readme formatting13:54
gary_posterhazmat, there is no JS ReST parser AFAICT either.13:54
gary_posterRight was going to say the same thing13:54
hazmatie it needs a js renderer or pre rendered format13:54
* hazmat nods13:55
gary_posterI think charm docs should say "Markdown"13:55
gary_posterperiod13:55
gary_posterIf charm store and GUI don't support ReST, why would you write it?13:55
gary_posterand how can we say we support it?13:55
benjiindeed13:56
hazmatgary_poster, i agreed we should change it, it was originally written prior to these ecosystem of tools13:56
hazmatgary_poster, we could support it via  a static pre-rendered pipeline13:57
hazmatthat serves up the asset from the charm store13:57
hazmater.. browser ;-)13:57
gary_posterhazmat, sure, but what priority is that? :-)13:57
hazmatindeed13:57
gary_posterhazmat, I'll contact jorge and see if he wants a bug for this or if I should just keep this in a card for our own plans13:58
hazmatgary_poster, https://code.launchpad.net/~hazmat/juju/markdown-only-readme/+merge/14020314:02
hazmatnot sure where the docs went to14:03
hazmatthey used to be a series off of.. https://launchpad.net/juju14:03
gary_posterhazmat, awesome.  so I don't need to metion this to/convince jcastro then, and you'll get it merged?  or do you want us to help getting it merged?14:06
hazmatah.. got it.. its still there. i'm just inactive in the charmers team that owns it. fixed and done.14:06
gary_posterawesome thank you hazmat14:06
hazmatgary_poster, its merged, doc sites should update when their cron kciks in.14:06
gary_postergreat thanks again14:06
hazmatgary_poster, np.. thanks for the summary writes up... good morning reading. i pushed the login stuff into review.. 14:08
* teknico is back from lunch14:08
gary_postergreat hazmat thanks14:09
hazmatgary_poster, branch details are in the card if anyone's interested14:10
gary_postercool.  will look asap (other stuff in my queue atm)14:11
teknicoso we're switching the charm docs to markdown?14:14
teknicogreat, maybe that'll help me making a fool of myself slightly less often :-)14:14
gary_posterhazmat, one other question while I have you, in reference to the GUI hiding the GUI charm: you mentioned the GUI filtering by charm tag.  charm tags are not yet implemented, right?  So, for now, we'd need to filter by charm name?14:14
gary_posterteknico, not sure what you mean about making a fool of yourself less often, but glad you are OK with it :-)14:15
teknicogary_poster, referring to https://codereview.appspot.com/6945058/14:15
gary_posterteknico, lol, gotcha.  np.  Other topic: I have not yet tried to dupe the problems you saw in benji's branch.  I think I can try to do that in just a few minutes.  Maybe you and he can have a chat soon to investigate that and also discuss the Makefile issue you raised face to face...or however benji wants to resolve that.14:17
teknicogary_poster, yep, I was wondering whether I was the only one to see those prod test errors14:18
benjiteknico: do you have a moment to work on this?14:18
gary_posterright.  I did not follow the process and did not run the tests.  bad reviewer :-(14:18
teknicogary_poster, I reordered the cards in the primary ready to code lane, I wonder whether it helps or hinders :-)14:19
teknicobenji, sure14:19
gary_posterteknico, cool.  unfortunately I find that orderings sometimes don't stay long in the kanban board, but I like what you did on the face of it14:19
gary_posterthank you14:20
benjiteknico: cool; please run a "make clean && make prod" and then open chrome, clear the cache, and then open the front page of the app and see if there are any errors in the console (404s in particular)14:20
teknicogary_poster, I know I'm prone to tweak things too much sometimes, and people might be thrown off by it :-)14:21
gary_poster:-) np14:21
teknicobenji, ok14:21
teknicobenji, done, no 404 in sight14:24
teknicobenji, that's in your branch, not trunk, right?14:25
benjiteknico: great; now please stop the prod server and run "make test-prod"14:25
benjiteknico: yep, my branch14:25
teknicobenji, I see 404s on /juju-ui/assets/event-simulate.js and /juju-ui/assets/node-event-simulate.js14:26
benjia clue!14:26
teknicowhich is weird, because they are indeed included in test/index.html14:27
teknicouhm, I'm being silly14:28
teknicothey are indeed not in the place where they are requested from, in build-prod14:30
benjiyep, I think I know what is going on; one second14:30
benjiif I am right, this is further evidence that we really need to get our caching story straight14:31
goodspudWhoever is working on the login story, do you have the assets you need from our designers here?14:31
benjiif you want to try something for me while I do this you can stop the test server, start a devel server, reload the test page (it is ok if there are test errors for this excersize), stop the debug server, do a "make test-prod"14:32
benjiI bet the tests will pass.14:33
teknicobenji, trying14:33
benjithanks14:33
gary_postergoodspud, good question.  that will be benji, but he is looking at something else this second.  I was thinking that we would first try to do the corners in CSS (if designers could give the CSS to us it would save bunches of turn-around time but AFIAK that's not happening)14:34
gary_posterIf that doesn't work then we will need images for the corners14:34
gary_postergodspud, otherwise we shoudl have some dimensions of the box14:35
gary_posterooh, godspud, now you have more spudly powers14:35
goodspudgary_poster, I've been working on my super powers but spudly is all I can come up with for the moment14:36
goodspudThese things take time14:36
gary_poster:-)14:36
gary_postergoodspud, dimensions and font sizes of the header and so on would be convenient too...and info on the gradient and shadow14:36
benjilol14:37
goodspudgary_poster, I'll chase up Matt and Greg to get them to provide assets and dimensions, if not CSS if at all possible14:37
gary_posterthank you very much goodspud14:37
goodspudA pleasure14:37
teknicobenji, what you asked has two different problems. I tried reading between the words, but nothing changed :-)14:39
teknicoI'll wait for you to complete your intestigation14:40
benjiteknico: what were the problems?14:40
teknicobenji, 1) mentioning "devel" first and then "debug; 2) different ports on "proper" and test servers, so reloading the test page does not work14:41
teknico(I guess I meant "reading between the lines" :-) )14:43
benjiteknico: mmm, indeed; thanks for trying.  Meanwhile my test validated the idea so I'll have a fix in the branch soon for you to try again14:45
teknicobenji, great14:46
teknicobenji, you fixed it, great job! :-)14:58
gary_posterthanks teknico, benji.  have you two also resolved the Makefile discussion?15:01
teknicogary_poster, not yet15:01
benjiteknico: ok, the branch should work for you now15:01
teknicobenji, ^^ :-)15:01
teknicobenji, now, about that other small issue... :-)15:01
gary_postercool15:01
* benji looks back at the review to remember "the Makefile discussion"15:01
teknicobenji, about copying versus linking yui assets15:02
teknicobenji, I see that you added a disclaimer in comments15:03
benjiah!  I'm not against linking, it is just that the links previously created were not right; the prod and debug sites produced 404s15:03
benjiright, Gary and I decided that it wasn't worth the work right now to figure out how to get links instead of copies15:03
gary_posterbenji, btw did you make a bug for the prod CSS issues?  would like to have it on the board15:05
benjigary_poster: I don't think so.  I will do so now.15:06
teknicobenji, gary_poster, that decision doesn't feel right, given the history of changes15:06
gary_posterty benji15:06
teknicowhich does not mean it *is* not right, just that it does not *feel* so :-)15:07
teknicobenji, anyway, approved15:09
benjiteknico: the tweaked branch worked for you?15:10
teknicobenji, it did, as mentioned above15:11
teknicoand in the review15:11
benjicool, thanks15:12
benjiI need to file another bug I discovered during this debug session.  The devel server generates 404s for /juju-ui/assets/combined-css/rail-x.png on the trunk.15:13
gary_posterteknico (benji), symlinks vs. copies: I like the idea of symlinks for this.  however, benji found that the symlink approach we had was not working for these files.  I don't think that copies in this case are horrible--the Makefile is limited in what it can do in this case anyway, since we do not specify what files we actually care about--and I cared more about getting the prod tests working, so I was fine with a pra15:17
gary_postergmatic solution of reverting the change rather than investigating it.  I'd be fine with a bug to convert the copies to symlinks in the future, and I would thank whoever filed it, but I would triage it as low at this time.15:17
gary_posterOTOH, since we don't have any build tests, changes like this are more expensive than they might appear15:17
gary_posters/OTOH, //15:18
teknicogary_poster, when can we talk about build tests?15:23
gary_posterteknico, there's a card for weekly retrospective15:23
teknicogary_poster, great15:23
benjispeaking of build tests, while reading the make manual (I am easily entertained) I happened upon the --just-print, --question, and --what-if make options that might be useful for writing tests15:24
teknicobenji, I'm more easily entertained by searching for alternative build systems :-) (there actually went part of my weekend)15:26
teknicoand yes, I have read gary's blog posts, so I'm *not* raising the issue15:27
teknico(at least not right now ;-) )15:27
gary_posterbac bcsaller benji goodspud hazmat Makyo teknico call in 215:28
bcsallerMakyo: after you get off your next call ping me15:40
Makyobcsaller, alright15:40
Makyogoodspud, ping15:40
goodspudWhoops... missed the meeting15:41
goodspudis it over?15:41
MakyoYes, but you and i were going to talk about fancy relations.15:41
gary_postergoodspud, yes, but Makyo wants to talk to you now :-)15:41
Makyohttps://plus.google.com/hangouts/_/3bf1056afd2f9bc2b1f136097c5af5369a20031215:41
goodspudSorry guys. Chatting with Alejandra and we got distracted15:42
gary_posternp15:42
goodspudMakyo, joining15:42
hazmatMakyo, cool re recess, looks nice15:47
gary_posterhazmat, apologies if I missed it but did not see reply to following. in reference to the GUI hiding the GUI charm: you mentioned the GUI filtering by charm tag.  charm tags are not yet implemented, right?  So, for now, we'd need to filter by charm name?15:48
gary_posterAlso, you made a card titled "Error Collection" with description "Aggregate errors into collection."  I dragged that into "Needs Specification" because I didn't know what you meant15:49
hazmatgary_poster, charm name is what i meant15:49
gary_postercool hazmat thansk15:49
hazmatgary_poster, that's the javascript error collector15:50
gary_posterhazmat, oh! the OOPS thing15:50
hazmatgary_poster, yu15:50
hazmatyup15:50
gary_postergot it thanks15:50
gary_posterhazmat, I still thank that needs to be specced--either directly by you or with goals from you and a proposal by us--but I changed the card to hopefully clarify the goal better--it helps me anyway.15:54
gary_posterlet me know how you want to proceed on specifying that15:54
* gary_poster has to step away from IRC for a phone call15:58
gary_posterback in no later than an hour15:58
Makyobcsaller, ping16:01
bcsallerMakyo: gimme a sec, have to reboot, unity is acting out16:01
Makyobcsaller, sure16:02
bcsallerMakyo: let me open a hangout16:17
=== teknico_ is now known as teknico
goodspudgary_poster, I won't be able to attend the daily stand up tomorrow. Have to take the good woman to the eye hospital as part of a regular check up she has. 17:32
gary_posterok goodspud  thanks for heads up17:41
teknicohazmat, I still owe you a review, however, the lp:~hazmat/juju/rapi-login is not proposed, where am I supposed to write the review?17:57
hazmatteknico, good question..17:58
teknicohazmat, also, the card says: "prior branch for diff: lp:~hazmat/juju/import-export" but bzr cannot find it17:58
hazmatteknico, just pushed it17:59
hazmatimport-export17:59
tekniconot there yet, it'll maybe take a few minutes?18:00
hazmatteknico, merge proposal -> https://codereview.appspot.com/693506818:01
hazmatteknico, https://code.launchpad.net/~hazmat/juju/export-import18:02
hazmatnot import-export18:02
hazmatteknico, sorry about that. thanks18:02
teknicohazmat, no worries, updating the card18:02
teknicohazmat, about the wire protocol, point 4 includes 'result': 'success' , while points 5 and 6 use 'err': true, it looks a little weird18:05
hazmatteknico, that's in keeping with the error handling across the other api methods18:05
hazmatteknico, result: True would work as well18:06
teknicohazmat, one would think choosing one of 'result': ['success'|'failure'], or 'err': ['true'|'false'] would be preferable18:07
teknicoI don't know whether there's any such consistency in the rest of the api18:08
hazmatteknico, omission of err is false, we can change the result value18:08
hazmatteknico, for error handling there is absolutely18:08
teknicohazmat, great, so I'm just missing the bigger picture18:09
teknicohazmat, so this is pyjuju code, my review will likely not be extremely authoritative :-)18:10
hazmatteknico, error handling for other methods is an exception catch .. api context _on_error18:10
hazmatteknico, fair enough.. given the lack of pyjuju devs, its probably sufficient unless gary_poster is chiming in/reviewing as well.18:11
gary_postermm18:15
gary_posterhazmat, I trust teknico's review if that's all you'd like.  Ben is another option, of course, if you want a pyjuju dev.  But do what you think makes sense.18:17
gary_posterI'm happy to look at it, but would be in an hour or so, and I like the idea of you being able to land this and move on18:17
teknicohazmat, done, fwiw18:18
gary_posterbiab18:19
hazmatteknico, thanks18:24
hazmatbcsaller, do you have time to do a review on https://codereview.appspot.com/693506818:25
bcsallerhazmat: I can do that yes.18:25
bcsallerMakyo: going to take that review quickly18:25
Makyobcsaller, alright, poking around translate.18:26
hazmatbcsaller, thanks18:31
* hazmat lunches18:31
hazmathttp://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story18:40
hazmatbcsaller, responded, hopefully that elucidates the intended scope and purpose which i think is a bit smaller than your comments were referencing.18:54
bcsallerhazmat: I suspected that was the case18:54
hazmatbcsaller, main purpose is to have a node with a restrictive acl that can only be accessed if the ws client has successfully authenticated.18:55
hazmata followup branch will require the ws client to before using the rapi api18:55
bcsallerhazmat: yeah, thats what I was reading, but I wasn't sure of the scope18:55
bcsallersounds good, +118:56
gary_posterhazmat did you land rapi-login already? If so will move kanban card.20:38
gary_posterbac, I can pair a bit. maybe worth trying?  though you only have a few more minutes before youe EoD don't you20:38
bacgary_poster: juju-ui?20:39
gary_posterk20:39
hazmatgary_poster, not yet.. monday's are meetingful.. should be by EOD20:46
gary_postercool thanks20:54
bacgary_poster: i'm going for a walk.  will be biab21:29
gary_postercool21:30
hazmathmm.. merging out of order in bzr pipeline.. is non trivial21:55
hazmatgary_poster, did you want me to add the gui env api for login as well?21:58
hazmatwasn't sure if you already had that in your branch21:58
gary_posterhazmat, not my branch--benji will be doing it--but yes, please21:59
gary_poster(IOW, please merge it)21:59
hazmatack22:00
gary_posterhazmat, I did Markdown on a one-off and it rendered locally, but charm store is not happy (http://jujucharms.com/~juju-gui/precise/juju-gui).  Do I need to call the file README.md?  Looks like that's what the wordpress charm does...22:07
hazmatgary_poster, yeah.. it looks like it wants the .md22:09
gary_posterok cool thanks22:09
hazmatgary_poster, benji login merged to rapi-rollup fwiw22:15
gary_posterthank you hazmat 22:15
benjicool22:15
gary_posteryay http://jujucharms.com/~juju-gui/precise/juju-gui22:30
bacgary_poster: MP submitted.  lbox blew up so it isn't in RV.  one issue outstanding.22:56
* bac dinners22:57

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