/srv/irclogs.ubuntu.com/2013/07/29/#juju-gui.txt

=== schwuk_away is now known as schwuk
=== schwuk is now known as schwuk_away
=== schwuk_away is now known as schwuk
gary_posterteknico, bcsaller could you please make sure that you have your London tickets approved, purchased, and entered on https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0AtC9etoysSQldFRfYU0zZjE5WThuNUVWRXlEVmQwOVE#gid=8 by EoD today?  (Same goes for me)12:26
bachi benji, i landed my branch that borrowed from yours and then made some changes.  you may see mild conflicts.12:47
benjibac: ok, thanks for the heads-up12:47
teknicogary_poster: will do. got a sec for a quick call re: vacation?12:55
gary_posterteknico, sure, come on by guichat12:57
teknicogary_poster: travel request submitted, waiting for approval and booking code13:11
gary_posterteknico, approved13:13
teknicogary_poster: got the code, thank you13:14
teknicoehi jujugui! tired of all that javascript? there's a nice and long python diff waiting for you at https://codereview.appspot.com/12022044 but hurry, only two seats left! ;-)13:14
gary_posterjujugui, we have one critical task that I'd like someone to focus on: try to figure out why redeploys of the jujugui charm to jujucharms do not successfully inform browsers to clear their caches, and fix it.  this is a "drop what you are doing" sort of task unless you are near tying something up, that should be wrapped up tomorrow so we can deploy Wed.13:23
gary_posterjujugui, meanwhile, in addition to Nicola's review request (https://codereview.appspot.com/12022044) we also have Kapil's (https://codereview.appspot.com/11966044/) and Huw's (https://codereview.appspot.com/11999043/)13:24
benjigary_poster: I'm merging a branch now and could take this up.  I'm also annoyed at the cache issue, so there's anger I can harness ;)13:25
gary_posterjujugui, finally, another urgent task is that IE 10 unit tests are failing, .13:25
gary_posterbenji, cool thanks :-)13:25
gary_posterI'll put your head in the card benji13:25
gary_posteron13:25
benjik13:25
bacteknico: i'll do your review.  have an orange stand up in a few minutes though13:26
gary_posterbac, I don't think you do.  combined standups start today13:26
rick_hbac: do we? Are we trying the joint standups this week?13:27
bacgary_poster: oh, right. cool!13:27
* bac fixes calendar13:27
teknicobac: thank you13:27
teknicohazmat: looking at your proposal, unclear on how to review it :-) (also, I cannot find its card, is there one?)13:29
gary_posterteknico, no card, please create in maintenance13:30
gary_posterteknico, you should try finding a charm with a bool13:30
gary_posterin the congig, make an environment with it, export it13:30
gary_posterold version should have issue described by related bug, new should not. extra credit if you try running it through the deployer13:31
teknicogary_poster: yeah, but even before QAing it, I was wondering how to understand the change by looking at it :-)13:33
teknicoit'd be nice to be able to look at a diff on non-minimized code13:34
gary_posterteknico, first line of the compressed file should tell you where to find the diff source, and related yaml parser issue.  if it is insufficiently clear, that's something for the review.  after you've tried to figure it out, if you are still unclear let me know and I'll try to clarify.  I don't want to spoil your blank-slate impressions though: we should be aiming for clarity for someone in your shoes13:36
teknicogary_poster: oh, right, thanks, I'll try to put together the change13:37
gary_postercool teknico 13:37
adeuringgary_poster: when/where is the standup? I don't see it in my google calendar13:39
gary_posteradeuring, thank you for reminding me.  I just invited orange squad to the meetings.  Friday is a different time than the others.  we always meet in http://tinyurl.com/guichat .  Look good?13:42
hatchmorning all13:43
gary_postermorning hatch13:43
adeuringgary_poster: sure13:43
gary_postercool adeuring 13:43
hatchgary_poster: in a few minutes I can start on huw's review13:50
gary_posterthanks hatch13:51
gary_postertrying to disconnect/reconnect for better network; back in a sec, hopefully13:52
gary_posternope, no real improvement13:52
gary_poster:-/13:52
hatchit didn't show you dc/rc :)13:53
hatchit got to 10C last night....summer is over :(13:54
* hatch straps his snowboard on and sits on the stairs waiting13:56
gary_posterheh13:57
gary_posterteknico, doing your second review13:58
teknicogary_poster: thank you13:59
bacteknico: your branch looked good.  doing a QA deploy now.14:01
hatchrick_h: saw your q in #yui, any progress?14:01
rick_hhatch: yea, some progress. I'm buried into the ns-routing code atm14:03
rick_hwheee! lucky monday!14:03
hatchoh alright - keep in mind that the majority of that code is the yui router code with some stuff injected into it14:03
rick_hhatch: yea, but I'm into how we parse/split/combine urls atm14:03
rick_hhatch: so all our own doing :)14:03
hatchahh -14:04
rick_hhave the bug fixed now but getting #bws-configuration#bws-configuration in the url :)14:04
rick_hhatch: but thanks for checking in14:04
hatchnp - I may be able to lend a hand with the routing stuff if you run into any 'wtf' areas :)14:05
rick_hhatch: just hard to trace. still have double dispatch along with a couple of passes through the code for the orig url vs incoming and such. #needmoarcoffee14:05
hatchmy coffee is watered down for some reason....not impressed - might have to take a walk to a coffee shop14:06
hatchgary_poster: as far as QA'ing Huw's branch goes - is this supposed to be an incremental branch? I have found a few 'bugs' but they aren't critical14:10
gary_posterhatch, not sure it is supposed to be incremental, but we can treat it as such.  +1 on getting this landed and then either shooting Huw/list an email with qa issues, or if they are trivial putting something together quickly yourself14:11
hatchgary_poster: we should have a "sprite all the things" card so that we don't forget in the future :) because all of these new icons are being added un-sprited14:20
gary_posterhatch, oh suck. :-/  ok, will do.  I assume you'll mention that to Huw as well, so that in future branches he does these with sprites14:21
gary_posterdone fwiw, in maintenance: high14:22
adeuringsinzui: could you have another at my MP from friday?14:23
hatchyup will do14:23
sinzuiadeuring, I am just giving your my r=me14:24
adeuringsinzui: coll, thanks!14:24
rick_hwoooooooooooo! it works!14:25
sinzuiadeuring, you can approve the review to merge it.14:25
adeuringsinzui: ack14:26
sinzuiorangesquad. I think we need to build a new staging env14:26
gary_posterrick_h, yay!!! :-)14:27
gary_posterteknico, LveryGTM with comments14:27
teknicogary_poster: thanks, replying14:29
sinzuiadeuring, I would like you to work on https://bugs.launchpad.net/charmworld/+bug/119978014:31
_mup_Bug #1199780: search requests errors when a charm has no last_change <charmworld:Triaged> <https://launchpad.net/bugs/1199780>14:31
adeuringsinzui: I started already ;)14:31
sinzui:)14:31
sinzuiadeuring, I am moving the card to the juju-gui board14:32
adeuringsinzui: ok14:32
hatchgary_poster: reviewed/replied to huw's branch - I can fix the code issues and take a stab at the qa ones to get it landed if you like14:32
hatchI could also investigate the IE10 failures14:33
gary_posterhatch, big +1 on landing Huw's branch with fixes, thank you.  IE10: you ok with that, or would you rather someone else look at it?  You've certainly paid your dues there :-)14:34
hatchhaha well there looks like there is a CI failure and an intermitant IE failure14:35
hatchI don't know how long the fixes in huw's branch will take (shouldn't be too long though) so if someone else can pick it up first that'll be fine :)14:35
MakyoI just started the IE10 stuff, but haven't gotten much farther than turning on the VM14:35
gary_posterhatch cool, thanks.  Makyo, awesome, thanks.14:36
MakyoMocha desperately needs a stop button.14:41
gary_posterheh14:42
gary_posteryes14:42
* rick_h runs make test-debug and ducks14:45
hatchrick_h: so in your new branch the #'s will be gone?14:48
hatchfrom the tabview14:48
rick_hhatch: no14:48
rick_hhatch: they'll be there still since we need them for the charm browser side14:49
hatchahh, hmm14:49
rick_hhatch: but the big lesson here is that the tabview doesn't add the #, the Y.App does14:49
rick_hwhich took me a LONG time to figure out and quit blaming the wrong code14:49
hatchohh from the <a>'s?14:49
rick_hhatch: riiiiight14:49
rick_hwhich is why all of this is a routing issue, not a tabview/browser subapp issue14:49
hatchsee a's are bad14:50
hatch:P14:50
rick_hoh hush14:50
hatchlol14:51
hatchsorry coudln't resist14:51
hatchrick_h: I'm guessing that has something to do with the pjax stuff14:52
rick_hhatch: well, it's the Y.App wanting to update the url without a reload14:52
rick_hhatch: ah, yea...that might be part of it as well I guess. using hash for content/page id14:52
hatchyeah - pjax listens to all a's and then updates the url directly without clicking14:53
hatchwithout redirecting i mean14:53
rick_hright14:54
hatchso i'd say first place to start would be monkey patching pjax out of there14:54
hatchI remember we left it in because it didn't appear to cause us issues14:54
hatchwe were wrong :)14:54
rick_hheh, no. The fix is actually not bad. I've got it all working just needs tests. 14:54
hatchoh cool14:54
rick_hhttps://code.launchpad.net/~rharding/juju-gui/routing-issues/+merge/177401 for diff14:54
rick_hthat and hash comes after QS in a url14:55
rick_hdoing it the other way is un-good14:55
hatchwhile this is a good fix its really just bandaiding the real problem14:55
rick_hHmmm, I'm not 100% sold ont hat14:56
rick_herr that14:56
hatchbecause that hash shouldn't be added to the url at all14:56
hatchwe don't use pjax14:56
rick_hyes it should!14:56
rick_hwe want to generate a unique url so you can link directly to the readme of a charm14:57
rick_hit's part of the UX design.14:57
hatchohh, hmm that should probably be /precise/ceph-13/readme then14:58
hatchat least imho14:58
rick_hthat we can debate perhaps, but it's not a different resource to view the readme14:58
rick_honly a small section of content changes14:58
rick_hwhich is what anchor tags are for14:58
hatchthat's arguable because webapp not website14:59
rick_hI agree it's arguable14:59
rick_hjust don't agree with your side :)15:00
hatchlol15:00
bacteknico: i tried to deploy the charm with your changes and got an install error. investigating still.15:00
hatchthis is the url from the inspector though :8888/#bws-readme  which is no good15:00
rick_hhatch: agree, and it's an easy fix. 15:01
rick_hwe just have to catch the click event when deployed via the inspector and halt15:01
rick_hhatch: but only when done through the inspector, so we need an init flag for it15:01
teknicobac: uhm, I run "make ftest" before proposing without errors...15:01
hatchsure - so why wouldn't we remove the pjax and then enable it, instead of disable it15:01
hatchit's a side effect that we just happen to be using in a single place in the app15:02
rick_hhatch: either we disable it and add it for browser or leave it and disable it for inspector. 15:02
rick_heither way we have to work around this stuff. 15:02
hatchI'm saying we manually add the hash when we need to15:02
hatchlook how long it took you to find the source and you wrote the code haha15:02
rick_hand none of that is the router code's fault? That is improperly parsed QS and hashes?15:03
rick_hand I didn't write the router code :P15:03
hatchwell when I 5why it I get to pjax15:04
rick_hbecause the hash is added via pjax. Then we improperly hanled hashes in our routing15:04
teknicobac, gary_poster: reproposed with changes that address your remarks15:04
rick_hif you remove pjax, we're still handling them wrong in routing. 15:05
hatchthat's not how 5why's works15:05
hatchlol15:05
rick_hI thought 5why was a typo :/15:05
hatchI'm not saying we handle them properly (although I don't know what the issue in router is)15:05
* rick_h hits the web for wtf 5why is15:05
hatchoh hahaha15:05
hatch5why's is a technique for determining the root cause of a problem15:06
hatchit also exposes issues along the way15:06
rick_hyea, I see. I'll write up my 5why's later after I get these tests in15:07
hatchon a different angle....should we pass the viewlets container to the render method?15:07
hatchhttps://codereview.appspot.com/11999043/diff/1/app/views/viewlets/charm-details.js15:08
hatchsee that as to why I think so...15:08
rick_hhatch: so isn't that the slot name? Or is it not?15:09
rick_hthe viewletManager should handle this I'd think when you show/hide a slot15:09
rick_hand not the viewlet itself15:09
rick_hthough the way things work 'render' !== 'show'15:09
rick_h:/15:09
hatchyeah hmm ok this method should be slightly refactored then15:11
rick_hhatch: +115:11
hatchrender should handle generating the content15:11
hatchshould only*15:11
rick_hhatch: yea, I'd look to the viewletManager for controlling the slot visibility imo if possible15:11
rick_has part of the showSlot() stuff15:11
hatchyep and it does15:11
rick_hhideSlot15:11
rick_hoh, then why is this necessary?15:12
* rick_h isn't caught up. 15:12
hatchnot sure15:12
hatchhaha15:12
rick_hbut agrees with refactor of it15:12
* hatch looks further15:12
adeuringrick_h: about bug 1199780: How is charm['code_source'] dictionary used? Can we simply drop charm['code_source']['revision'] and charm['code_source']['last_log'] if it is not avaliable, should we set it to None/null? (Note that this can also happen with the data for related charms)15:13
_mup_Bug #1199780: search requests errors when a charm has no last_change <charmworld:Triaged> <https://launchpad.net/bugs/1199780>15:13
rick_hadeuring: sec, looking to be sure15:14
rick_hadeuring: so we'd have to refactor to add sanity checks it exists. We don't have a 'if model.get('code_source') as it seemed you'd have to have source to have a branch/pushed/etc. 15:15
adeuringrick_h: right, but we can have charms whose LP brnach is deleted. And then we have this situation15:16
hatchrick_h: if you're going to leave pjax in can you put a comment in the tabview code which explains where the hashes are coming from15:16
hatchI figure that's the logical place someone might look in the future15:16
rick_hadeuring: right, so we'd have to update the front end to handle it being option. Right now it doesn't. 15:16
rick_hhatch: sure15:16
adeuringrick_h: OK... What about js using the text "not available"?15:17
rick_hadeuring: it's expecting a nested object. So no matter what it's changed to we need to adjust15:17
rick_hadeuring: if we don't have it then I'd say we leave the value out. 15:17
Makyojujugui: IE10-able folks, need some reviews/test runs for a fix https://codereview.appspot.com/12033043/15:17
rick_hthen we can look if we can provide a decent default that prevents too much work15:17
adeuringrick_h: OK15:17
bacMakyo: i can review.  can run tests with some pain if really necessary.15:20
hatchMakyo: I can run the tests15:20
hatch.....and are you serious? this was the cause....ugh IE15:20
Makyobac, how about hatch runs the tests, and you sanity check? :)15:20
bacsure15:21
hatchMakyo: is the flags fix because window.flags was undefined at that part?15:21
Makyohatch, yeah, for running that suite in isolation.15:21
hazmatfor folks working on charmworld.. with elastic search.. came across this library this weekend, made working with elasticsearch much more pleasant and pythonic. http://elasticutils.readthedocs.org/en/latest/15:22
hazmatbuilds on top of the py connector library we're already using.15:23
hatchMakyo: I wonder if we should have a follow-up branch which adds window.flags to every suite and then cleans it up after every suite15:24
Makyohatch, I put that in the MP.15:24
hatchoh.... /me learns to read15:25
bacMakyo: nm my comment about the same.15:25
* bac learns to read too15:25
hatchMakyo: sorry, windows 8 keeps crashing15:26
hatchI just did an update so,.....ya know15:26
Makyohatch, I feel your pain, yeah15:26
hatchhey Windows....nice of you to boot up15:30
hatchI used to be afraid to do Linux updates, now I'm afraid to do Windows ones, my how the times have changed15:31
hatchmake test-server15:32
hatchblarg15:32
sinzuijcsackett, I am looking at the charmworld board. I think card 3.1 is done and card 3.2 is coding and already represented on the juju gui board.15:36
jcsackettsinzui: you're right; i've moved 3.1 to the done-done.15:37
jcsackettsinzui: do you want us updating this board as well?15:37
sinzuijcsackett,  thank. you. I am dismantling the board. moving work to jujugui when it isn't already there15:42
hatchMakyo: lgtm'd15:43
Makyohatch, thanks15:44
jcsackettsinzui: dig.15:45
jcastrohow long after I feature/unfeature should it show up on the site?15:48
rick_hjcastro: pretty quick. We might hit a cache on the production site but the 'change' is instant as far as the data is concerned15:49
sinzuijcastro, I think the squid cache is the factor in play15:49
jcastrook15:50
gary_posterjujugui, orangesquad, call in 8.  please update kanban now for a quick overview call.15:53
gary_poster7, that is :-P15:53
hatchwoah....new board15:53
hatchgary's been workin15:53
gary_posterheh15:58
gary_posterjujugui orangesquad call in 215:59
gary_posterin guichat15:59
rick_hjujugui I can haz critical review please? https://codereview.appspot.com/1203604316:00
gary_posterMakyo, you here?16:01
hatchrick_h: critical as in negative? :P16:01
rick_hcritical as it bugs are marked critical16:01
hatchyup I'll take one16:02
hatchteknico: I heard that there is no Alfredo sauce in Italy? And that you don't put chicken in pasta.....true?16:05
rick_hjcsackett: can you link the branch? I tried to click the bug in the card to get to the review but failed 16:07
bacjcsackett: where is your mp for that card?16:07
jcsackettrick_h: yeah, i haven't been good about linking to bugs.16:07
bac:)16:07
jcsackettrick_h: one sec, i'll go find it.16:08
rick_hjcsackett: ty16:08
jcsackettrick_h: https://codereview.appspot.com/12031043/16:08
teknicohatch: what?!? and, what?!?16:10
hatcha friend of a friend has a friend from Italy and they claim that there is no 'Alfredo' sauce and that you don't put chicken in your pasta16:11
jcsackett10 minutes on a call with that many people. nice!16:11
hatchwe pro!16:11
hatchbcsaller: rick_h making hangout16:11
bacjcsackett: done, thx16:13
hatchthat's so odd - the camera was reversed during that call compared to the guichat ones16:24
teknicohatch: I know of no "Alfredo" sauce and of no recipe for putting chicken in pasta16:33
hatchcrazystuffs16:34
hatchhere - Italian pasta has Alfredo sauce and chicken lol16:34
rick_hsinzui: gary_poster any preference on next task priority? Pick a bug any bug?16:35
teknicohatch: I'm not a food tradition purist, and I've been eating no pasta for years now, so I'm not offended16:35
hatchrick_h: issue with the QA16:40
hatchwhen I follow https://bugs.launchpad.net/juju-gui/+bug/120546816:40
_mup_Bug #1205468: fullscreen charmbrowser tabs are broken <charmbrowser> <juju-gui:In Progress by rharding> <https://launchpad.net/bugs/1205468>16:40
hatchand then hit the back button16:40
hatchit stays in the same page16:41
hatchbecause it puts a history entry for the hash16:41
rick_hah crap...double dispatch fml16:41
rick_hoh wait, back just removes the hash?16:41
hatchyeah16:41
hatchtrying on serviceInspector which has no double dispatch16:41
hatchsame16:42
rick_hright, that's kind of 'working as intended' because it does dispatch when you click a tab16:42
hatchpjax must also add a browser entry16:42
* rick_h is thinking16:42
hatchso when it's removed it should dispatch then and go back to summary16:42
rick_hhatch: so I'd propose this is a low priority follow up bug to worry about the back button history atm. It fixes 4 bugs in the system currently. 16:43
rick_hone critical and one high16:44
hatchI'd tend to agree16:44
rick_hhatch: because fixnig that isn't easy as the hash is part of the app 'state' and the state comes from the App dispatching. The fix is to not 'dispatch' but then we dont' get our app state change atm16:44
rick_hso it'll take some thought/testing 16:45
rick_hand jcsackett :P16:46
jcsackettwait,what?16:46
rick_hjcsackett: your comment in your LGTM16:46
jcsackettaaaah.16:47
jcsacketti was suddenly concerned you were throwing work at me, and i couldn't figure out how. e.g. "it'll take some thought, testing, and jcsackett".16:47
rick_hlol, +1!16:47
jcsackettthis is not me endorsing the plan that work should be thrown at me. :-P16:48
hatchrick_h: found a real bug16:50
hatchshall I reply with repo steps on the commit?16:50
rick_hstop doing that16:50
rick_hhatch: yes please16:50
hatchjust finding the quickest repro16:51
rick_hok, well food fetching while you do that and will look back16:52
hatchok replied16:54
rick_hhatch: thanks, easy fix. Appreciate it16:57
hatchexcellent17:00
* hatch wishes for a parent css selector17:05
hatchbcsaller: so...any ideas for anything better than this._slots[viewlet.slot].container.ancestor('.slot')17:06
hatchi'd add a slot class to the slot17:07
hatchor could make it an attribute17:07
hatchwhich would probably be nicer17:07
hatchbut container.ancestor() still sucks17:07
bcsalleryeah, thats not great17:07
hatchI could go container.get('parentElement')17:08
hatchbut that isn't very robust17:08
bcsallerchat real quick?17:08
hatchsure17:09
hatchin guichat17:09
gary_posterhey rick_h, you still looking for something to do?  I've got ideas if so17:21
gary_postersorry was lunching17:21
rick_hgary_poster: I will be. Working on a last bug/issue in getting the other branch landed17:22
hatchrick_h: so in this branch of huw's when I close the left panel after viewing some of the tabs it leaves the #'s in the url17:26
gary_posterrick_h, cool.  Looking for choices.  First one is this.  Trivial but important: https://bugs.launchpad.net/juju-gui/+bug/120263617:26
_mup_Bug #1202636: Charm Details Page Under Providers Change Openstack to HP Cloud <juju-gui:Triaged> <https://launchpad.net/bugs/1202636>17:26
hatchrick_h: interestingly enough, when I realod the page, that hash gets stripped lol17:27
rick_hhatch: yea, it's not what I thought it was. 17:27
rick_hhatch: when I dupe it works when I click the juju, but then fails when I change viewmode. There's some hidden bit somewhere I'm missing17:27
hatchre the QA bug?17:28
rick_hhatch: yea17:28
hatchhmm I can't really be of any help there17:29
rick_hhatch: yea, all good. 17:29
rick_hthought that's what you were talking about17:29
hatchI haven't spent much time in your homebrew routing code ;)17:29
hatchoh no sorry17:29
rick_hthere's an existing bug for chrome that clears the url out when manually hitting a url :(17:29
rick_hthat's not part of this fix17:29
hatchohhhhhh17:29
hatchok that must be waht I'm hitting now17:29
hatchno prob doesn't effect this branch negatively17:30
hatchthe status bar plays tricks on my eyes17:30
hatchthe red/green bars look different heights17:30
hatcheven though I know they can't be :)17:30
rick_hhatch https://launchpad.net/bugs/119939217:30
_mup_Bug #1199392: can't view fullscreen charm details from url <charmbrowser> <juju-gui:Triaged> <https://launchpad.net/bugs/1199392>17:30
hatchwe have too many router technologies acting in one place17:31
hatch:)17:31
gary_postersinzui, I'd like to triage https://bugs.launchpad.net/charmworld/+bug/1206158 as high.  We're having multiple questions about this on sales calls, so this would be a (presumably easy?) thing to add for good sales win.  Is that ok with you?  Am I badly underestimating the effort involved?  I hoped it would be a day or two max for one engineer.17:33
_mup_Bug #1206158: On manage.jujucharms.com show download breakdown by last 30 days, last week <charmworld:Triaged> <https://launchpad.net/bugs/1206158>17:33
sinzuigary_poster, okay17:33
gary_postersinzui, what do you think about effort?17:33
sinzuigary_poster, a single branch that adds the model properties and and template presentation17:34
gary_postersinzui, so day or two max?17:37
sinzuiyep17:37
hatchtaking off for lunch, call cell is ya need me17:38
rick_hgary_poster: so in reading that bug does that maen that we're going to start testing on 'openstack' somewhere? Or just not going to have that visible?17:45
gary_posterrick_h, we're not going to have it visible.  apparently, according to mramm and others, openstack installations are too different17:45
gary_posterso in the futrue17:45
gary_posterwe may have results for HPCloud17:46
gary_posterand some other OpenStack provider17:46
rick_hk17:46
gary_posterand we will not be at all surprised when they have different results17:46
gary_posterhatch, when you are back, no rush, but is this inspector card/task no longer valid? "Add mutation observer to viewlet to rebind viewlets when updated out of band"18:03
bcsallergary_poster: That one was from me, its still an option but its an optimization not a requirement 18:11
rick_hhatch: also when you're back, branch updated for a second run through QA. 18:11
gary_posterbcsaller, ok cool, thanks.  clean uptask, then?18:12
rick_hhatch: think I've caught it all there. One other QA point found during this was to sidebar, open a charm, click a tab, then minimize the browser, and bring it back up. 18:12
bcsalleryeah, pretty much18:12
rick_hand now my head hurts...ugh routing/state FML18:13
benjiis anyone else having problems building (NPM downloads failing)18:20
gary_posterbenji, I had to make clean; didn't look closely18:22
gary_posterrick_h, playing around with your branch.  lots of fixes, cool.  this one is not supposed the query string related bugs, right?  for instance, http://localhost:8888/fullscreen/search/precise/ceph-13/?series=precise&text=ceph&type=approved#bws-readme does not load properly.  I already saw  you say that back arrow bugs were for later, I think, which I agree with.18:27
gary_poster"this one is not supposed the query string related bugs, right" -> this branch is not supposed to fix the query string related bugs, right?18:27
gary_posterrick_h, those are the only bugs I can find.  Way better.  thank you!18:29
rick_hgary_poster: looking18:29
rick_hgary_poster: right, it doesn't fix the chrome removing the query string bug18:29
rick_hgary_poster: I did not run into that cause in my list. 18:30
rick_hoh hmm, that happened to me on FF as well. Thought it was a chrome-only bug. 18:30
rick_hgary_poster: but yea, that's still out there on our board. 18:30
gary_posterrick_h, cool, thanks!18:30
rick_hgary_poster: but it should hit 4 bugs currently in the tracker. 18:31
gary_posterrick_h, I saw, sweet :-) maybe even more18:31
rick_hthe back button I think we could chat on. I keep going back/forth on how that 'should' work since we're treating tabs as unique urls, vs 'back button, ignore tabs'18:32
gary_posterI see18:36
jcsackettrick_h: qs is removed in both ff and chrome,but in ff the correct view is shown18:37
jcsackettso it's partially an FF bug.18:37
rick_hjcsackett: ah, in nightly it went back to search just like chrome18:37
rick_hjcsackett: in FF nightly that is. 18:37
jcsackettrick_h: interesting.18:37
jcsackettrick_h: i'm not sure what that suggests,but it certainly suggests something. :P18:37
rick_hjcsackett: but yea, that's a routing/double dispatch bug I think. 18:37
rick_hjcsackett: yea, suggests there's work to be done to fix that bug...for someone...18:38
jcsackettif it's still around when i get done with charmstore-apocalypse i'll be happy to look.18:38
hatchback18:41
hatchrick_h: ok will re-qa18:42
gary_posterbcsaller, hey.  did you see my September/London flight request?  please get that done today (which means, you propose via form, I approve, you go to travel provider, they get you flight, and you enter details on spreadsheet)18:42
bcsallergary_poster: yeah, I saw it, I have it on my calendar to do it today as well.18:43
gary_postercool bcsaller  thanks18:44
gary_posterhazmat what I was trying to say in last reply to review is that I'm happy for you to give this to us to land if you want.  we appreciate very much the work you've already done18:49
hatchgary_poster: CI is broken....can't deploy charm18:51
gary_posterhatch, may be because canonistack is broken. :-/ sinzui did you say that you can't get a juju env on canonistack any more?18:51
sinzuigary_poster, hatch. I am in #is now diagnosing why we cannot build a new env. If CI was in, or use anything in, canonistack, then it is dead18:53
gary_posterack sinzui thanks.  hatch ^^^ :-/18:53
hatchahh darn, alright18:53
hazmatgary_poster, ack18:54
hatchrick_h: when changing tabs and then hitting back, the hash changes but the tabs never do18:57
rick_hhatch: rgr, duplicates here18:58
hatchrick_h: you fixing now?19:00
rick_hhatch: back isn't hitting the subapp at all. It's not dispatching to the subapp so not sure how to fix that atm19:01
benjiok, that's weird; I changed all the "https" to "http" in npm-shrinkwrap.json and now npm install works19:02
hatchrick_h: well all of the routes get collapsed into the parent app, so my guess is it's something to do with your custom routing stuff19:02
rick_hhatch: custom routing stuff?19:03
hatchlike how everything goes into routeDefault and routeView19:03
hatchit's possible something in there is clobbering it up19:03
hatchbecause every time the url changes it should dispatch19:03
rick_hhatch: no, I'm saying is that none of the subapp routes get touched. Right now it doesn't appear ns-routing is hit during a back button right now19:03
hatchoh really?19:04
hatchso routeDefault isn't called? (it's a * so it should be called no matter what)19:04
rick_hhatch: yes, ns router.parse() isn't getting hit (put a debugger in there) on back, but it is on every click/forward call19:04
rick_hhatch: checking routeDefault19:04
rick_hhatch: correct, routeDefault is not touched 19:05
rick_hhatch: so calling this one bigger than subapp at the moment. 19:05
hatchwell that's just friggen weird19:05
rick_hhatch: not if something in Y.App or something isn't re-dipatching on anchor change from back?19:06
rick_hI'm not sure what to say without doing a lot more looking and hitting EOD soon19:06
hatchso the pjax stuff is not causing a re-dispatch on back19:06
hatchbecause the navigate stuff triggers the re-dispatch (as it should)19:06
rick_hwell someone is not, I'm not clear enough to say who19:07
rick_hhatch: but yea, something up. Back works on non-#hash changes19:07
hatchwell it's pjax that's adding the hash right?19:07
hatchoh I bet I know why19:07
hatchchecking...19:07
hatchok I 'think' that becuase we use html5: true in the app, it only dispatches on real paths, not hashes19:09
rick_hhatch: so calling it not related to this branch. Up for a secondary bug :)19:09
hatchok simply switching that flag didn't do it19:11
rick_hhatch: yea, worst case we'd have to detect and manuall fire a navigate event to force it if there's not a good 'natural' fix for that. 19:12
hatchor we switch to using a /path for it :)19:13
gary_poster+1 if that's easy fwiw19:13
rick_hhatch: or stop tracking the tab, in the url, or 100 other things. However, I'd really like to land this as it fixes a real 'cannot use the gui' issue while the back is slightly annoying but not as big19:13
gary_poster+1 also19:14
=== schwuk is now known as schwuk_away
rick_hThe bug I'm on will be quick, I can get back to 'back button' issues later tomorrrow. 19:14
hatchyeah I'm pretty sure everything is qa'ing ok19:15
rick_hcool19:15
hatchfew more things to check19:15
hatchand yeah I still want this landed, that fix can be pushed to later19:15
rick_hok, I was trying to pick up the irc vibe on if this was heading towards blocker for your vote to land. Sorry. 19:15
rick_h:)19:15
hatcheach irc line needs a body language colour19:16
gary_posteror smell!19:16
hatchlol19:17
hatchI thought someone made something that could make smells in your computer19:17
gary_posteryeah I saw something like that.  didn't click through :-)19:17
gary_posterah leankitkanban...you make me want to write a kanban board sometimes...19:18
rick_hlol19:18
hatchrick_h: curious as to why you relocated the initState method19:21
rick_hhatch: it's no longer private19:21
hatchohh19:21
hatchgotcha19:21
rick_hgrouped with the non-private methods alphabetically19:21
hatchrick_h: just typing out the lgtm, did you want me to create a card for the hash-no-dispatchy ?19:30
rick_hhatch: sure thing, thanks19:31
* Makyo de-net-problems.19:32
hatchrick_h: letr-rip19:33
hatchMakyo: .NET?19:33
hatch:)19:33
hatchrick_h: I tagged the bug charmbrowser because of the approach I think we should take to resolve it not because of the cause just FYI19:34
MakyoPff.19:34
rick_hhatch: all good19:34
hatchnow I have to figure out how to propose huw's branch to the same reitveld19:35
rick_hgary_poster: so landing this now. I'm not sure what the release schedule and such is for things right now. 19:35
rick_hhatch: don't. I just push to my branches and re-submit it19:35
rick_hthen in the comments link/note the original reitveld for tracking purposes19:35
hatchahh ok19:36
rick_hbecause reitveld is per google account you can't update his19:36
hatchahh unfortunate19:36
hatchbut understandable19:36
rick_hyea, we tested a way to try to use group owned branches in LP but still fell short. 19:36
gary_posterrick_h, planning on wednesday.  minimally we want this, we want Kapil's export branch, and we need benji's charm cache fix.  everything else is gravy19:36
rick_hgary_poster: ok cool then. 19:36
gary_posterbenji, have you been able to dupe?19:37
benjigary_poster: not yet19:37
benjiare there any more details about the problem somewhere?19:37
benjiI didn't see a bug linked to the card.19:37
gary_posterbenji, :-( boo hoo.  when you can let me know and I will be happy, because I bet a solution will not be far behind.  Did you start with 0.8.0 and then go to 0.8.1?  no bug,  want to chat in 10 minutes?19:38
benjigary_poster: chat in 10 sounds good19:38
gary_postercool talk to you soon19:38
hatchshadowrun returns is now available on steam http://store.steampowered.com/app/234650/ but no Linux unfortunately19:39
hatchI'll probably be picking up Expeditions: Conquistador tonight though http://store.steampowered.com/app/23743019:40
hatchwhich is avail for all 3 platforms19:40
bcsallerhatch: dota2 ;)19:41
hatchoh crud I didn't think it was avail for Linux19:42
hatchdid you pick it up?19:42
hatchfree to play eh19:42
* hatch is skeptical19:42
hatch:)19:42
hatchbcsaller: can you review https://codereview.appspot.com/12054043/  (it's Huws with the mods we discussed)19:46
bcsallerhatch: yes, I'll start shortly19:54
hatchthank yas19:54
hatchgary_poster: is there anything specific you would like me to jump on now?19:55
gary_posterhatch, hi.  mm...no.  I have been adding cards on board.  any of those are good.  hook up retry/resolve/replace?  fix small issues I identify in ghost inspector?19:59
gary_posterhatch, hideous yellow cards are kind of mini-story markers that have sub-cards following them20:00
gary_posterbenji, come on by guichat?20:00
benjisure20:00
gary_posterhatch do you need another review of Huw's baranch or are you good to go20:01
hatchahh ok, nope, I reviewed his so one more should be fine20:02
hatchmy changes were fairly small but somewhat of a refactor20:02
=== schwuk_away is now known as schwuk
hatchgary_poster: you say those ugly yellow ones have sub-cards....am I totally missing how to view those cards from the ugly-yellow ones?20:11
hatchor are you just using the title as the 'marker'20:12
hatchI think I'll work on the ghost inspector20:13
hatchbcsaller: replies made20:20
gary_posterbenji #120626020:31
_mup_Bug #1206260: GUI charm does not handle browser cache properly <juju-gui:In Progress by benji> <https://launchpad.net/bugs/1206260>20:31
benjithanks20:31
gary_posterwelcome20:31
gary_posteron kanban too20:31
gary_posterhatch, sorry, ugly yellow card is supposed to precede associated cards, going left to right, top to bottom20:32
hatchahh got it20:32
hatchbzr diff | vim -  has changed my life20:42
hatchyay for sprints20:42
hatchlol20:42
gary_posterheh20:42
gary_posterMakyo big +1 on the thrust of your flags-cleanup branch.  I guess you decided to postpone the post-test flag cleanup to another day?20:44
gary_poster(because your branch exposes some tests for not being very hygenic with their flags20:44
gary_poster)20:44
Makyogary_poster, yeah, I just want a direction to aim in, for the most part.20:44
MakyoRunning into LP problems, reproposing.20:45
gary_posterMakyo, cool.  direction is good.  I don't think you'll have any detractors.20:45
hatchMakyo: so this is a codereview for discussion not to land?20:45
Makyohatch, to land, as an incremental step.20:46
hatchbcsaller: because codereview is slow - if fillslot is a impl detail under showviewlet then it should be _fillSlot :)20:46
MakyoLP fixed itself \o/20:46
gary_posterheh20:46
bcsallerhatch: I'm fine with that 20:47
hatchbcsaller: I'm re-proposing right now with the test fixed and other code left the same - but we can definitely open up discussion later on20:47
hatchor in a follow-up?20:47
bcsalleryes, later is fine for the rest, the slots change doesn't belong in that branch at all and was just a possible cleanup20:47
hatchalright - it's updated now20:48
sinzuijujugui, orangesquad. http://staging.jujucharms.com is coming up.20:50
bacyay20:50
jcsackettsinzui: hoo-ray20:50
gary_postergreat sinzui!  is there anything we need to know to be able to have healthy use of canonistack for jujugui jenkins tests?20:51
sinzuijujugui, orangesquad. anyone who wants to access the server will need to update their .ssh/config per the new lcy02 rules20:51
gary_postersinzui, ah! ok thanks.  we will need to do that fo jujugui then20:51
hatchicy what?20:52
hatch:)20:52
gary_posterdo you have alink for those, sinzui?20:52
bacsinzui: if using sshebang it should just work20:52
bacwell, after pulling new one20:52
sinzuibac, sshbang destroyed by last config I wont be using it.20:53
sinzuiIt was easier to past the rule into my config.20:53
sinzuihttps://pastebin.canonical.com/95172/20:53
hatchugh I can't get our make to use the npm cache on osx20:53
bacsinzui: i have heard such stories.  i've been lucky, i guess (and backed up my config dir first)20:54
sinzuiNow I will return to nrpe in juju-gui. I am diligently avoiding the many levels of indirection used by other charms to make it work in prodstack20:55
sinzuigary_poster, ^ my pastbin link was all that I need. just change the YOU part20:57
=== schwuk is now known as schwuk_away
hatchare the canonistack docs going to be updated with these details?20:57
hatchs/docs/wiki20:57
gary_posterthank you sinzui!20:57
hatchbenji: where did you happen to find the docs for npm install --cache-min ?21:00
* bac walks dog. returns a sweaty mess.21:00
benjihatch: https://npmjs.org/doc/config.html21:01
hatchbenji: so since it's no longer there am I to assume that it's no longer supported?21:02
benjihatch: could be21:03
gary_posterMakyo, LGTM with a lot of small-ish repetitive comments and requests21:03
hatchbenji: I'm just asking because on my desktop it doesn't appear to be working21:03
benjiit would be unfortunate for them to have removed it; maybe there is another way to achieve the same effect21:04
gary_posterhatch how much work is #1206239? deciding how to triage21:04
_mup_Bug #1206239: Router does not dispatch url hash changes <charmbrowser> <juju-gui:New> <https://launchpad.net/bugs/1206239>21:04
hatchgary_poster: TWAG 1-1.5day21:05
gary_posterack thanks hatch21:05
Makyogary_poster, I don't necessarily see your point about before/after vs. after/afterEach.  Is the concern that the tests may modify flags?  Judging by the tests we have, an entire suite would need the flags.  However, I'm a solid 0 on that, so I can go ahead and move them to the *Each methods if you want :)21:06
hatchbenji: found it https://npmjs.org/doc/misc/npm-config.html#cache-min :)21:06
benjigood21:07
hatchdoesn't explain why it doesn't work haha21:07
gary_posterMakyo, as a general rule, we want test isolation, not test suite isolation.  so, yes, in many cases, it seems tests are modifying flags.  That's step one in my argument: we actually need it there in some cases.  A second step is that this is the most paranoid, and the most likely-to-be-correct, place to reset flags generally.  The last step in my argument is that I'd rather have us follow the same rule every time, s21:11
gary_postero we get in a good habit. 21:11
Makyogary_poster, thus the disagreement with me removing the resetting flags in suites where neither the suite nor the code touch flags?  If that's the case, then -1 on setting window.flags to {} in index.html - it's pointless and offers a false sense of security.21:12
gary_posterMakyo, it never had any security. I thought you were doing it so that tests read better, basically.21:13
MakyoThat does raise the question of when should we ever use before/after, but maybe that's a debate for another day :)21:13
gary_posterMakyo, if the suite never touches flags, then that's just legacy21:13
gary_posterfine with removing that21:13
gary_posterif that's what some of those, were, sorry for the misunderstanding21:14
Makyogary_poster, misleading, then.  Putting it there gives a new test author the false sense of security that window.flags will always equal {} rather than undefined.21:14
gary_posterah.21:14
gary_postermm21:14
Makyogary_poster, they were legacy, yes, but it just sounds like we're arguing for putting that in every suite's *Each.21:14
gary_posterMakyo, only if they use flags21:14
gary_posterI'm not worried about it otherwise21:15
Makyogary_poster, Alright, sounds good!  The legacy ones will remain, but the others will be moved to *Each methods.  That closer to what you were asking?21:15
MakyoSorry.  Rephrase..21:15
MakyoThe diff on the legacy ones will remain: suites that don't use flags will no longer reference flags.21:15
gary_posteryes, +121:16
MakyoCool, on it.21:16
gary_postercool thanks Makyo21:16
* gary_poster running21:16
gary_posterttyl, guys!  have a great evening!21:16
hatchyou too21:17
hatch*when lbox fails AFTER lbox.check*22:15
hatcharg!22:18
hatch3rd time is the charm22:19
hatchjujugui looking for some reviews on http://bazaar.launchpad.net/~hatch/juju-gui/remove-extra-buttons/revision/907 the codereview link is https://codereview.appspot.com/12071043 but it doesn't appear to have any diff22:30
hatchjujugui ok the diff has appeared on https://codereview.appspot.com/12071043 for review22:33
huwshimiMorning22:58
hatchhey huwshimi, got a few things for ya23:10
hatchs/things/tasks :)23:11
huwshimihatch: Hey23:11
hatchhuwshimi: I landed your branch with a few changes https://codereview.appspot.com/1205404323:11
hatchin the description there are a couple outstanding issues23:11
hatchI gota run for about an hour or so. I can answer any q's you have about those issues when I get back23:13
huwshimihatch: Thanks, just taking a look23:13

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