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

=== mattuk1972_ is now known as mattuk1972
benji___bcsaller: I had a couple questions about your review of https://codereview.appspot.com/6909046; I put them in comments13:14
=== benji___ is now known as benji
BradCrittendengary_poster: ping13:34
gary_posteryo, BradCrittenden 13:34
=== BradCrittenden is now known as bac
bacgary_poster: could you have a look at my review at your leisure?13:34
gary_postersure bac, I'll do it now.13:35
bacgary_poster: leave added to c.a.13:49
gary_posterbac I just gave you an approve but I meant to wait to approve until after I tried it out13:49
gary_posterok will look bac13:49
bacgary_poster: i'll wait13:49
bacjust let me know when the branch is ok13:50
gary_posterok13:50
gary_posterbac, I accepted Dec 1913:50
bacok13:51
bacthanks13:51
benjiI am going to assume that bcsaller is not in this morning and that we can clear up any remaining issues with his review of https://codereview.appspot.com/6909046/ later and land my branch.14:01
bcsaller benji: I'm here, but its fine if you want to land it, nothing would prevent that 14:02
benjibcsaller: oh, did you see my message at 13:14 (UTC)14:03
bcsalleryeah, just got in, in time for the second message14:03
bcsallerbenji: the jist was I thought we either needed more detail to track revno's in CHANGES or less and just record the current revno in a single file w/o the need to parse it, but I don't feel strongly 14:04
benjito what use would we put the current revno stored in a file?14:05
bcsallerbenji: to what use is the description? I think they both honor the same intent, to help recover a significant point in time14:06
bcsalleroh, the current on14:06
bcsalleronly14:06
bcsallercan't type today14:06
bcsallerumm, that would be the only thing that makes it onto the version page14:06
bcsallerw/o the need to grep and so on14:07
benjithe description is so end users can see what (materially) changed between releases14:07
bcsallerbenji: and I was thinking in that case that being able to pull the associated revno would help in testing vs a particular revision 14:07
bcsallerthey are tearing down the scaffolding on the building across the street today, its pretty distracting, sorry14:08
benjibcsaller: I think tags would be an easier way to handle that; we can accosiate the release version number with a particular revision directly and not have to worry about keeping up with revnos (and the race involved in doing that)14:09
bcsallerbenji: agreed, if we switch to that its better all around14:09
benjicook, I will make a card to "Add instructions on tagging releases to the release procedure"14:10
benjis/k/l14:10
teknicohi all, I'm trying to make tests run under the production environment, per #108710714:19
_mup_Bug #1087107: Tests should be runnable on the production build of the code <juju-gui:In Progress by teknico> < https://launchpad.net/bugs/1087107 >14:19
teknicothere are 78 failures, apparently caused by incorrect test setup14:19
teknicoI need some help from someone who's familiar with the way tests run, and what they need14:20
bcsallerw/o knowing any details I suspect that the deps are not being included in the proper order so some modules fail to resolve14:21
bcsallerthat should show up in the dev console though14:22
teknicobcsaller, when I run "make test-prod" there are no errors in the Makefile output, and then none in the node server log14:24
bcsallerteknico: no, it would be in the browsers console14:24
teknicoexcept for the usual 404 on favicon.ico (which is weird), and another one on /juju-ui/assets/slider-base/assets/skins/sam/thumb-x.png14:24
teknicooh, ok14:24
bcsallerif I'm correct its not that the work failed, its that it failed to do the right work14:25
teknicobcsaller, yes, there are hundreds of messages in the browser console, and the failures in the page itself also seem to hint to problems with test setup14:26
bcsallerteknico: yeah, I think the dep ordering was never right in prod, and thats what we needed to test was working properly 14:27
teknicobcsaller, oh well, at least we have failing tests now :-)14:28
bcsallerindeed 14:28
teknicoI wonder whether I can land a branch with 78 test failures, though :-)14:29
bacgary_poster: for some reason my emacs config went nuts recently wrt to tabs.  i've tamed it now.14:37
gary_postercool bac14:37
teknicogary_poster, hi, so you're there? you look away14:38
gary_posterI am here teknico14:38
gary_posterI see holiday requersts :-)14:39
teknicogary_poster, yes, all the end of year stuff14:39
teknicogary_poster, I'm kind of stuck wrt to ^^, what do you suggest?14:39
teknicogary_poster, namely, I enabled tests on the production environment, and there are 78 failures14:40
teknicothey run though :-) shall I land that branch?14:40
gary_posterbcsaller or hazmat, goodspud asks "Can the GUI charm automatically run a script to launch the GUI in a browser?"  My answer would be "AFAIK it would be difficult to do this productively, and quite surprising to a juju user."  Would you agree?14:40
hazmatgary_poster, we can do a jitsu command.. jitsu gui which does the write thing14:41
hazmatright even..14:41
gary_posterteknico, right, I saw that.  I think you could land it, because our existing test command still passes, right?  I wouldn't mark the bug as fixed14:41
gary_posterhazmat, yes.  goodspud replied to your comment about that in this way: "Tom Haddon (IS) has indicated they won't be using Jitsu because they can't rely on any of it's features being supported"14:42
teknicogary_poster, yes, "make test" passes (equals to "make test-debug")14:42
gary_posterhazmat (https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0AlIM--9A1RkTdFFyZ0JHZ2R2LTVoZFhidHpvYldIc1E&disco=AAAAAFJ5Z1g&pli=1#gid=0)14:42
gary_posterteknico, yeah, I think it is OK to land, but the bug won't be fixed until we actually have the tests passing.14:43
teknicogary_poster, well, the bug says "Tests should be *runnable* on the production build of the code", not "Tests should *pass* on..." :-)14:43
gary_posterteknico, :-P14:44
gary_posterteknico, next you will be sending me a printout of the production build of the code, with you running on top of them and holding a printout of the tests14:44
teknicogary_poster, :-D14:45
teknicogary_poster, isn't the idea to compartimentalize things? separation of concerns? divide and conquer? :-)14:45
teknicogary_poster, seriously, I do think it's a valuable distinction, even if it was not completely intended :-)14:45
teknicogary_poster, but ok, I'll leave the bug open14:45
gary_posterteknico, compartmentalize, yes!  that's why I said it is good to land.  I'm also ok with you filing a separate bug for the passing and marking this bug fixed.  It brings some value--the value to work on the next bug. ;-)14:46
teknicogary_poster, ok, I'll do that then14:47
gary_postercool14:48
goodspudgary_poster, hazmat - I'm trying to find an easy way to launch the GUI and thought automating that process would be the nicer experience, but open to thoughts and suggestions. Tom said they couldn't rely on features in jitsu always being supported so they would find other ways to do things that it could do14:50
gary_posterack goodspud. we could provide the jitsu command as a standalone script, I guess, but that is a first step towards recreating jitsu14:53
hazmatgoodspud, there will likely be juju implementation agnostic subset of jitsu supported in the future. but in the abesnce of that, .. introducing a new command to juju-core is possible, but no guarantees till core signs off and gives a timeline.14:53
hazmatpossibly a juju open unit_name command14:53
hazmator juju go unit_name14:54
gary_posterteknico, approved all your holidays, thank you.  You get Jan 1 off too, right?  That was not in your approval list FWIW14:54
teknicogary_poster, oh right, it's a national holiday, I'll input that too14:55
gary_posterthanks14:55
goodspudhazmat, gary_poster - are the juju-core team open to bribes? :)   I do quite like the "sound" of "juju go..."15:19
gary_poster:-)15:19
gary_posterI haven't actually heard of that approach tried yet...15:19
goodspudbac, are you free after today's meeting to talk through the process of setting up juju/juju-gui  on machines here with an up to date branch so we can help with testing and feedback?15:22
bacgoodspud: sure15:23
goodspudAwesome15:23
bacgoodspud: how long until your EOD?15:23
goodspud2.5 hours, although I have a meeting in my diary for the last hour of that15:23
goodspudHappy to talk now if you are free too15:24
bacgoodspud: ok.  i may take 15 minutes after our meeting to grab a bite to eat before chatting with you.  would that be ok?15:24
goodspudbac, certainly would be15:24
hazmatgoodspud, sent an email to juju-dev requesting it.. tbd15:27
goodspudhazmat, cheers!15:29
MakyoCall now?15:30
baci'm there!15:30
gary_posterbah sorry15:31
gary_posterbac bcsaller benji goodspud hazmat Makyo teknico call now15:31
teknicolet's all jump in GvR's time machine!15:31
hazmatbac, can you do ssh-import-id hazmat15:35
hazmatbac, on uistage15:36
bachazmat: done15:36
hazmatbac, thanks15:37
teknicobenji, can you please move your mic out of your breathing flow? thanks :-)15:40
benjiteknico: thanks for the heads-up; the world needs a solution to open mics on video calls15:41
teknicobenji, indeed, as long as it is not from apple :-P15:41
benjiheh15:41
benjiI will be buying one of these at some point: http://whirlwindusa.com/catalog/black-boxes-effects-and-dis/miclineinst-switchers/mic-mute15:42
bacgoodspud: do a G+ hangout at the top of the hour?15:43
teknicobenji, wow, pro footswitch :-)15:43
goodspudbac. yes. 15:43
benjithe PP model looks good; but what I would *really* like is a hybrid with a push-to-talk button for large groups and a latching switch for times when you are doing one-on-one talks with people15:45
teknicobenji, nice, it's also latching, just like the switch on your average $20 chinese headset ;-)15:45
teknicobenji, yes, using the headset latching switch as push-to-talk takes some state-managing attention :-)15:46
benjiyep :)15:46
hazmatbac, the uistage stuff should be fast again with nginx i suspect15:48
hazmatpython simple http server was never meant for this use case imo15:49
hazmatits pretty slow15:49
benjibcsaller: where is the review for 1077067?  No review is linked from the card and no branch is linked to the bug.15:51
bcsallerbenji: https://codereview.appspot.com/6867072/15:51
benjithanks15:51
hazmatbac, should be faster now.. just switched simplehttpserver for nginx15:54
bacgoodspud: hi16:01
goodspudbac, 2 secs....16:01
bacgoodspud: ok, spinning up the hangout16:02
bacgoodspud: https://plus.google.com/hangouts/_/2917c88c62c0938e080426c3ee1a2280dea330c1?authuser=0&hl=en16:02
=== mattuk1972_ is now known as mattuk1972
bacgoodspud: you went away16:06
bacgoodspud: you went away, again16:16
bacgoodspud: hello...london...you there?16:19
goodspudbac. sorry about that - computer said "no" and crashed.16:24
bacoy16:24
bacgoodspud: https://plus.google.com/hangouts/_/2917c88c62c0938e080426c3ee1a2280dea330c1?authuser=0&hl=en16:24
goodspudbac, hmmm, now you are invisible16:26
bacgoodspud: still there?16:31
goodspudbac, apologies for the interruption. VMware keeps crashing my machine. I'll get that sorted then come back to you another time to get things up and running16:47
bacgoodspud: ok.  you may be able to make progress on your own following the README16:48
goodspudbac, I'll go through the instructions and let you know if I have any issues16:48
bacgoodspud: just let me know when you'd like to try again.  tomorrow would be good sometime after your lunch16:48
goodspudbac, will do16:49
gary_posterteknico, bac and I are trying to quickly review your branch so you can land before your EoD17:14
teknicogary_poster, great, thanks17:14
teknicogary_poster, re: the standard review markers we recently discussed, are they documented somewhere? I don't remember what they are :-)17:20
bacteknico: done17:20
teknicobac, gary_poster, applying and landing, thanks17:21
gary_posterteknico, we should document them in docs/process.rst .  They are currently recorded in https://canonical.leankitkanban.com/Boards/View/102529849 .  I am on the hook for writing them up on a blog post or similar.17:22
teknicogary_poster, that's the kanban board, where within it? :-)17:25
bacgary_poster: lp2kanban is currently down17:26
teknicoMakyo, I wanted to list myself as reviewer of https://codereview.appspot.com/6905059/ , but cannot find the card17:30
Makyoteknico, It's 'build-prod overwrites juju_config'17:30
teknicooh wow, that one, right there :-)17:31
MakyoI figured a puzzle in the name of the bug would help...uh...something. Heh17:33
gary_posterteknico, sorry https://canonical.leankitkanban.com/Boards/View/102529849/10321544417:42
gary_posterbac, ok. you working on it?17:42
gary_posterotherwise we can get someone soon17:43
bacgary_poster: i don't understand.  are you talking about teknico's branch?  i approved it a while back17:44
bac13:20 to be exact17:44
bacgary_poster: oh, you mean lp2kanban?17:45
bacyes, i'm working on it after i get my branch landed.17:45
gary_posterbac, lp2kanban, cool thx17:45
hazmatteknico, gary_poster, so uglify2 supports source maps.. ie. it could enable debug prod story17:49
hazmathttp://lisperator.net/blog/uglifyjs-v2-news/17:49
teknicohazmat, does it have source maps for both js and less/css?17:50
hazmatteknico, just js i'd imagine17:50
teknicohazmat, here's a nice survey of available source maps tools: https://github.com/ryanseddon/source-map/wiki/Source-maps:-languages,-tools-and-other-info17:52
hazmatteknico, cool17:53
teknicohazmat, gary_poster, in order to do QA on uistage, how do I check the currently deployed revision?17:54
bacteknico: not a satisfying answer but it is 27417:57
teknicobac, yeah, thanks for the fish anyway :-)17:57
bacteknico: is that the rev you wanted?17:58
teknicobac, yes, my branch is on 27317:58
bacexcellent17:58
hazmatpossibly we could do some for of bzr var properties for revno.  needs a plugin i assume18:04
hazmatala cvs or svn  rev id substitution in a file18:04
hazmatnot sure if such a thing exists18:05
hazmatwe could just add it to the makefile to generate18:05
gary_posterteknico, hazmat, I think something exists now, thanks to benji's make dist branch.  looking...18:13
gary_posterteknico, hazmat, benji, there's a build/juju-ui/version.js target which would include what teknico wants, but benji, it is no longer hooked up to anything.  I think the base build ought to make that file and hook it into both debug and prod18:17
gary_posterhazmat, uglify2/source maps: sounds great18:18
* benji returns from lunch and reads the backlog.18:58
benjiI guess we need tests for the Makefile18:59
BradCrittendengary_poster: the green kanban board is causing an exception because there is no default card type.  where is that set?19:29
gary_posterBradCrittenden, click the gear on the top right to configure the board.  Click "Card Types" in the new window.  look in the right column for a "default" checkbox19:30
=== BradCrittenden is now known as bac
bacgary_poster: i don't see 'card types'.  perhaps i don't have permission19:31
gary_posterbac on our board or theirs?19:31
bacours19:31
gary_posteroh, weird.  looking19:31
gary_posteryou should have the same powers as I...19:31
bacgary_poster: what is our default card type set to?19:32
gary_posterbac, we are both Managers.  Want to hang out on juju-ui for a sec and screenshare? our default type is "Task" (yellow)19:33
bacgary_poster: sure19:33
bacgary_poster: you making a hangout?19:34
gary_posterbac, juju-ui19:34
* bac dogwalk20:48
* Makyo dogwalk, also.22:06
goodspudgary_poster, hazmat - if you have any comments or thoughts on the visuals for the login screen, add them to the image and I'll get Matt C to work through them in the morning. If all is good then I'll get him to provide assets23:27

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