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

gary_posterjujugui, quick review of small deployer export fix if anyone is up for it: https://codereview.appspot.com/1472504400:10
rick_h_gary_poster: paring with huw atm. Will be reporting a bit late tomorrow fyi since you're around :)00:10
gary_posterrick_h_, cool thank you :-)00:11
* huwshimi owes rick_h_ beer00:21
rick_h_gary_poster: that stupid error catching promise thing got us big time. More than just syntax error, any error got caught. We'll have to kill that or find a better way in a hurry. 00:21
rick_h_huwshimi: all good, you're doing work so I don't have to :) carry on!00:21
gary_posterrick_h_, :-( ack00:21
huwshimirick_h_: At the very least not call everything a API error :)00:22
huwshimi*an00:23
bachi rick_h_11:55
rick_h_bac: morning12:00
bachey rick_h_ could you review this mostly mechanical branch? https://codereview.appspot.com/14486046/12:00
rick_h_bac: sure thing, behind this morning due to a late start but have it opened up to go through.12:01
bacthanks12:01
rick_h_ah, my old friend 'old chunk mismatch' :/12:02
bacreally?  weird12:02
baclet me repropose12:02
rick_h_bac: all good, it's small enough to read ok on LP12:02
bacyeah, but yeah, but i wanted to try 'rvsubmit'!12:03
rick_h_bac: lol, then resubmit away :)12:03
rick_h_bac: put a LGTM on it. 12:06
bacrick_h_: reproposing didn't help.12:06
bacrick_h_: on LP?12:07
rick_h_bac: yea, I've tended to have to push to a new branch name and submit under the new branch 12:07
rick_h_bac: no, on reitveld12:07
bacugh.  ok, thanks12:07
rick_h_bac: so you should be good to go to try rvsubmit right?12:07
bacyes, i think12:07
rick_h_bac: cool, yea just LGTM'd and noted I read it on LP12:07
bacty12:07
bacrick_h_: seems to be happy.  note plugin is rvsubmit but command is 'bzr rv-submit'12:13
bacrick_h_: huh, your LGTM made it through to LP but not as an approved vote.  will be interesting to see what the lander does with that.12:15
bacrick_h_: worked fine12:20
rick_h_bac: cool, good to know12:36
antdillonrick_h_, Is the message on the onboarding cr for me?12:46
rick_h_antdillon: that's me updating the branch with your changes from yesterday12:47
rick_h_sorry, getting a late start to the day12:47
antdillonrick_h_, Ah cool, just checking your not waiting on me12:47
rick_h_antdillon: no, I'm getting a late start to today12:48
rick_h_the only thing left is to get with you on testing12:48
rick_h_we appreciate the work and I'd be happy to add tests to the code. 12:48
rick_h_antdillon: but if you're interested I'd also be happy to help wallk you through or pair program on them as well12:48
rick_h_antdillon: your choice on how you are for time and interest12:48
antdillonrick_h_, That would great, I'd like to see how test work12:49
antdillonrick_h_, Dont have much today just QA'ing ubuntu.com for tomorrow12:49
rick_h_antdillon: ok, I've got to change locations here in a sec and will ping you back in 20ish12:49
antdillonrick_h_, Awesome thanks12:49
rick_h_antdillon: https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.rsa4k6d5ht2nreuas4g8694668?authuser=1 when you want to get started13:12
gary_posterrick_h_, do you remember why we don't like mod_deflate/gzip encoding on server?  I don't, but I'm pretty sure this has something to do with operational concerns13:29
gary_posterbtw frankban, I meant to say that we probably ought to make a separate project for the quickstart.  If you want me to do it, let me know.13:39
rick_h_gary_poster: well my question was, is that due to the explotation of https + gzip that came out o the sercurity conference earlier?13:40
rick_h_gary_poster: I've not ping'd IS to see what their feeling is on that stuff13:40
frankbangary_poster: yes thanks, last time I didn't have all the required permissions to complete the task myself. re gzip: http://breachattack.com/ ?13:41
bachey rick_h_, if you have time could you have a look at huw's new branch?  i see there is a problem (logged it on rv) but don't know the solution.  if you have thoughts that would help him it would eliminate a 24h cycle.  https://codereview.appspot.com/14739045/13:42
frankbanguihelp: I need two reviews + one QA for https://codereview.appspot.com/14441074 (python, quickstart). Thanks!13:43
bacfrankban: i'll look13:44
frankbanthanks bac 13:45
gary_posterI'll take the other one, frankban . luca__, I am trying to work through a reply to your machine view email.  I'll get it to you today, but if you want a faster discussion, let me know and we can have a hangout13:47
rick_h_bac: looking13:49
luca__gary_poster: I don't mind having a hangout, if your free.13:49
frankbanthanks gary_poster 13:49
gary_posterfrankban, rick_h_ right breachattack.com, thank you both13:50
gary_posterfrankban, ok will make project after I review your branch and other stuff.  luca__ I have a call in 39 but if we can move fast then let's do it.  I'll make a hangout13:51
gary_posterluca__, https://plus.google.com/hangouts/_/calendar/Z2FyeS5wb3N0ZXJAY2Fub25pY2FsLmNvbQ.rsa4k6d5ht2nreuas4g869466813:52
rick_h_bac: it looks like there's no default rule that .sprint.normal is display: block in the css13:56
bacrick_h_: sprite.normal ?13:57
rick_h_bac: he sets .sprite.normal to display: none on hover/active, but it never gets set back to block13:57
rick_h_bac: in that diff, in the .less file13:57
rick_h_bac: so the issue is that the 'clickable' icon is not visible to click on the second time around13:57
bacrick_h_: ok.  will you add that to the rv?13:57
rick_h_bac: sure thing, did you have the branch pulled down? A one line diff and you can test it out13:58
bacrick_h_: i do13:58
rick_h_bac: in stylesheet.less http://paste.mitechie.com/show/1046/13:59
rick_h_bac: ok, not one line, but you get the point. See if that fixes it please13:59
* bac trying14:00
bacrick_h_: no affect14:03
rick_h_bac: ok, I'll pull it down in a sec and try to see if I can figure it out. Quite the nest of CSS there14:03
bacyeah14:04
rick_h_gary_poster: antdillon is on his way to becoming a JS testing guru. :) 14:04
gary_posterrick_h_, antdillon , awesome  :-)14:04
antdillonrick_h_, Thanks!14:17
antdillonrick_h_, Feel like I've leveled up ... on level 0.01 now :)14:17
rick_h_antdillon: :) you'll be cursing at failing tests in no time14:17
antdillonrick_h_, Already am14:18
* frankban bbiab14:22
rick_h_bac: it looks like a browser issue. They don't always clear :active when you click. As the link is still the 'active element' It gets set, and something else must clear it. Kind of like :blur14:25
rick_h_bac:  so doing this in css is probably a non-starter unless we ditch the :active version14:25
baci see14:25
rick_h_bac: after all, how long would you see it in the course of a single click14:25
rick_h_it would flash the :active state if that14:26
rick_h_bac: will write up something for the MP 14:26
bacrick_h_: thanks14:26
rick_h_bac: ok, replied. Let me know if that is muddled/confusing please14:33
gary_posterhey jcastro, if we want a google doc for a blueprint do we just make one in the 14.04 specs  folder?  Do I link it to the blueprint as well?15:04
jcastroI think so?15:05
gary_posterI guess I just put it in the spreadsheet15:05
gary_posterok cool thx jcastro 15:05
jcastrotrying to sort out summit right now sorry15:05
jcastrothis whole blank schedule with less than a week to go is flippin' me out15:05
bacrick_h_: it wasn't muddled at all15:08
gary_posterjcastro, I bet.  :-(  at least the software is super snappy...15:09
gary_posterbac, could you do qa for frankban?  I'm swamped.  I will get to his review now, but I don't want him waiting on me beyond that if I can help it.15:21
bacgary_poster: sure15:21
gary_posterthank you very much bac15:21
bacjujugui does anyone here use lastpass?  any luck getting it to work in saucy?15:22
gary_posterbac, I do, and it ha worked fine without fiddling15:22
bacgary_poster: huh.  i see different problems in firefox and chromium with neither working.15:23
frankbangary_poster, bac: just re-proposed with the change bac requested, and fixed a typo.15:25
bacfrankban: thanks.  shouldn't affect my qa, ;)15:25
frankbanbac: no15:25
frankban:-)15:26
Makyofrankban, need another review?15:29
MakyoOr has someone else claimed it?15:29
frankbanMakyo: no thanks, gary_poster is doing it15:29
MakyoOkay, cool.15:29
bacfrankban: how long do you estimate the qa of quickstart should take/15:29
MakyoWill look anyway, to keep up with qs15:29
frankbanMakyo: yeah, thanks15:30
frankbanbac: ~10 minutes for each successful quickstart run. in my qa instruction, I forgot to mention that you have to destroy the environment between the last two steps15:31
frankbanbac: but if you don't, quickstart should still exit gracefully with an error15:31
bacgreat15:31
frankbanMakyo: I presume there is a way (manage.jc.com?) to retrieve the URL of the last revision of the gui charm, this is something we should do in quickstart15:32
Makyofrankban, yes, request with version HEAD15:32
MakyoEr..15:33
MakyoThat will give the charm info.15:33
MakyoFromwhich I suppose you could check out the charm from lp15:33
frankbanMakyo: http://manage.jujucharms.com/charms/precise/juju-gui/json ?15:34
MakyoBut just juju deploy juju-gui will get latest from charmstore, right?  15:34
Makyohttp://manage.jujucharms.com/api/2/charm/precise/juju-gui-HEAD15:34
rick_h_frankban: api right, use api v3 if you can. It's feature flagged and will be the default once we release bundles15:35
rick_h_Makyo: you can leave off -HEAD and it'll get latest15:35
rick_h_or not...wtf15:36
MakyoOh, alright, cool. Just remember a bug where doing that would try to get the juju charm with version 'gui'15:36
frankbanrick_h_: Internal Server Error on http://manage.jujucharms.com/api/3/charm/precise/juju-gui15:36
frankbanwith or without HEAD15:36
rick_h_http://staging.jujucharms.com/api/3/charm/precise/apache2 works so we've got a bug then 15:36
rick_h_http://manage.jujucharms.com/api/3/charm/precise/apache2 also works15:36
rick_h_bac: known bug with juju-gui? ^^15:36
gary_posterfrankban, LGTM with ignorable trivial.  Thank you!15:43
frankbangary_poster: thanks15:44
frankbangary_poster: you aere right in your comment. I think, instead of adding a comment, I could use "juju status --format yaml": it's the default, but this way it's explicit and it should prevent the program to stop working if they change the default15:46
gary_posterfrankban, ah, sounds nice15:46
frankbangary_poster: I cannot use the jujuclient there: I do that step to ensure we have a state server which exposes an API to which then jujuclient will connect15:48
gary_posterfrankban, ah! of course, makes sense. should have realized.15:48
gary_posterrick_h_, https://bugs.launchpad.net/charmworld/+bug/1240576 is kinda critical, yeah?15:48
_mup_Bug #1240576: charm without a version and a - in the name throws an error. <charmworld:New> <https://launchpad.net/bugs/1240576>15:48
rick_h_gary_poster: yea, just creating cards for that one and one to bundles as well15:48
rick_h_gary_poster: they're kind of related so fix might go together. 15:48
Makyojujugui call in 1115:49
rick_h_Makyo: cheater! lol15:49
gary_posterrick_h_, ok thanks.  you mean bundles can't have hyphens?15:49
gary_posterMakyo, lol15:49
rick_h_gary_poster: #122917915:49
_mup_Bug #1229179: Revisionless bundle requests raise ValueError <oops> <charmworld:Triaged> <https://launchpad.net/bugs/1229179>15:49
gary_posterah, ok thanks rick_h_ 15:49
Makyo0:)15:49
gary_posterlol15:49
bacthose should be critical b/c i have to room with sinzui next week15:49
rick_h_lol15:50
gary_posterI concede today's game to Makyo15:50
MakyoIt's my day to run it anyway, heh15:50
gary_poster:-)15:50
bacfrankban: qa was a-ok15:53
frankbanbac: great thank you15:53
gary_posterMakyo, is https://bugs.launchpad.net/juju-gui/+bug/1238190 fixed?  I think t might be15:54
_mup_Bug #1238190: while launching a service, the canvas re-centers the deploying charm repeatedly <juju-gui:Triaged> <https://launchpad.net/bugs/1238190>15:54
Makyogary_poster, I think so, but it'15:54
MakyoIt will fall under today's work if not.15:54
gary_posterok15:55
gary_posterjujugui call now16:00
rick_h_jujugui need a second gui review of antdillon's onboarding branch https://codereview.appspot.com/14700043/17:01
rick_h_behind the feature flag onboard17:01
gary_posterrick_h_, I'll try to do it quickly17:21
gary_posterhey rick_h_, did you have a discussion with ant about not showing the onboarding if the app starts in a fullscreen mode?  This seems a bit tricky18:45
gary_posterI mean, the desired behavior seems a bit tricky18:45
gary_posterIt feels like the desired behavior is a bit like this:18:45
gary_poster"If, the first time we go to the sidebar mode, we are at the root, then show onboarding"18:46
gary_posterbut even that has subtle things that make me unhappy18:46
gary_posterI think I'm going to propose "If we are in sidebar mode at the start then do the onboarding" as another constraint18:48
gary_posterjust made comment to rv wth my suggestion, including patch19:02
rick_h_gary_poster: yea, good point. Originally it was looking for / (before feature flag) and so it was only tied to showing in sidebar19:10
rick_h_gary_poster: so you're right, will have to get at url, check things out19:10
rick_h_gary_poster: maybe even move it to part of the subapp/browser.js code so that it can just check viewmode and such. 19:10
* rick_h_ had a thought about that yesterday, but wen tmeh19:11
gary_posterrick_h_, cool.  patch I landed does good things except for knowing a bit too much about viewmode19:11
gary_posterI mean19:11
gary_posterI didn't land it19:11
gary_posterI put it in rv19:11
rick_h_gary_poster: right19:11
rick_h_thanks!19:11
gary_posterthanks rick_h_ :-) ttyl19:12
gary_posterso...problem #1 is small: my new compression appears to be excluding uncompressed source for some reason.  I need to investigate.19:39
gary_posterproblem #2 is more interesting.19:39
gary_posternot all charms are being obtained19:39
gary_posterby the whole endpoints thing19:40
gary_posterand I'm guessing the promises are swallowing the problems19:40
gary_posterthe symptom is that the gui falls over when trying to draw an inspector19:40
gary_posterbecause it expects the charm to be there19:40
gary_posterin db.charms19:41
gary_posterand it is not19:41
bacoops, my connection dropped and i didn't notice20:12
rick_h_gary_poster: ok, yea the inspector uses the store's promise charm method to get the charm20:26
rick_h_gary_poster: so that might be eating things there20:26
gary_posterrick_h_, yeah it is.  Also problem appears to be (one problem appears to be?) that the API socket is falling over on the juju core side20:27
gary_posterrick_h_, from api server log: http://pastebin.ubuntu.com/6247538/20:27
rick_h_ugh on that one20:27
gary_postereyah20:27
gary_posterwow, app.onLogin can be called be called before app.initialize20:42
gary_posterweird20:42
gary_posterjujugui, if you didn't see on juju-dev, I filed https://bugs.launchpad.net/juju-core/+bug/1240708 .  Thumper will be investigating after he fixes local provider again22:00
_mup_Bug #1240708: API server falls over repeatably during AllWatcher Next, killing GUI <juju-core:New> <https://launchpad.net/bugs/1240708>22:00
bacthx22:00
bacgary_poster: so there was nothing special about omgponies' set up but scale?22:01
huwshimiMorning22:01
bachi huwshimi22:01
gary_posterbac, that's my current hypothesis, yeah bac. :-/22:01
bacgary_poster: that's, uh, ungood22:02
gary_posteryeah, that's how I felt about it22:02
bachuwshimi: rick and put notes on your merge proposal about the import/export icons22:02
gary_posterhey huwshimi 22:02
* gary_poster runs away again22:03
huwshimibac: Ah great, I'll take a look.22:03
huwshimigary_poster: If you return I have a question :)22:03
huwshimigary_poster: About what to actually display for the config/options of the charms on the bundle22:03
gary_posterhuwshimi, I'd suggest merely the changed values, and then link to the full charm detail22:04
gary_posterif someone wants to see description and detail22:04
gary_posterhuwshimi, does that make sense?22:04
gary_posterby which I mean, do you agree with that from a user persepctive?22:05
huwshimigary_poster: OK, but we have two parameters on the charm, one called 'config' and one called 'options' and 'config' isn't populated for any of the wiki bundles22:05
huwshimigary_poster: Also, do we need to display unit counts etc?22:05
huwshimiMaybe I need a real bundle example...22:06
gary_posterhuwshimi, unit count: yes.  to get a bundle example, build something in coming soon and export.  I'll make a quick example22:06
gary_posterhuwshimi, http://pastebin.ubuntu.com/6248029/22:08
huwshimigary_poster: is that just an environment export (is that the same thing as a bundle?)22:09
gary_posterhuwshimi, envExport key becomes data key in the charmworld doc you are looking at22:09
huwshimigary_poster: I'm sorry, I don't follow :)22:10
gary_posterhuwshimi, yes to both questions.  charmworld gives you a lot of extra information about the bundle (like charm_metadata and author and whatever) but the data key is this export, but in json format22:10
gary_posterhuwshimi, this is the source of benji's bundle: http://bazaar.launchpad.net/~benji/charms/bundles/wiki/bundle/view/head:/bundles.yaml22:11
gary_posterhe called his bundle "wiki"22:11
gary_posterin the export I showed it is envExport22:11
huwshimigary_poster: Ah right, and can I just drag and drop that on the gui?22:11
gary_posterthe charmstore converts benji's input22:11
gary_posterhuwshimi, yes you can22:11
huwshimigary_poster: Ah great.22:12
gary_posterhuwshimi, now look at http://bazaar.launchpad.net/~benji/charms/bundles/wiki/bundle/view/head:/bundles.yaml22:12
huwshimigary_poster: So it looks like we only want to display the 'options' data22:12
gary_posterif you scroll to bottom of that output you will see "data" key22:13
huwshimigary_poster: I'm not sure what 'config' even is looking at that....22:13
gary_posterthat "data" key is the same as the source of that bazaar page I showed you22:13
gary_posteranyway, yes, options22:14
gary_posterand constraints22:14
huwshimigary_poster: You linked to the same page :)22:14
gary_posteroh huwshimi sorry! http://staging.jujucharms.com/api/3/bundle/~benji/wiki/wiki22:14
huwshimiah cool22:14
gary_posterscroll to the bottom of *that*22:14
gary_posterand data key contents == wiki key contents from bazaar page22:15
huwshimi:)22:15
gary_poster:-)22:15
gary_posterhuwshimi, s'ok?22:15
huwshimigary_poster: OK that's all great. I can fix that up now.22:15
gary_postercool thanks huwshimi!22:16
huwshimigary_poster: Rick and I talked about there actually not being much info to display per charm at the moment so we thought it might be easier to land a first run with just a table with the charm and details side by side. That way we don't have to worry about a hiding/showing interface yet...22:17
gary_posterhuwshimi, +122:17
huwshimigary_poster: Great!22:17

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