/srv/irclogs.ubuntu.com/2014/06/12/#juju-gui.txt

bachi huwshimi, how're things?00:17
huwshimibac: Hey, good thanks. Yourself?00:17
bacgood!00:18
huwshimiDoes anyone know how to make the "Upgrade Services" inspector appear?01:05
rick_h_huwshimi: you have to deploy the local charm once01:06
rick_h_huwshimi: and then drag/drop it a second time01:06
huwshimiAh01:06
rick_h_huwshimi: the GUI thinks you might be trying to upgrade the existing local service01:06
rick_h_and gives you the option to deploy again or to upgrade existing services01:07
huwshimirick_h_: Thanks that worked01:10
hatchhuwshimi thanks :)01:17
huwshimihatch: np :)01:18
hatchI was thinking of doing a similar route but ended up with some unexpected issues when I was upgrading with a local charm01:18
rick_h_hatch: you going to get to QA that tonight? 01:18
hatchrick_h_ yeah, just starting to cook supper so afterwards01:18
rick_h_hatch: if that lands tonight then I'll start the release process i nthe morning01:18
rick_h_hatch: rgr, well I'll call it a night then and try to make sure to get up early to get that going before the ATT man cuts my interwebs01:19
rick_h_thanks guys, appreicate the work on getting the release ready01:19
hatchrick_h_ ok sounds good, I'll make sure to do a final QA as well so you're GTG in the am01:19
hatchthanks01:19
rick_h_hatch: heh, if we've got more stuff we're doomed. We threw a lot of people at it01:19
hatchlol true true01:20
hatchok running to make suppa01:20
hatchbbiab01:20
rick_h_hatch: but like I said onthe call today, I'm not expecting it to be bug free01:20
hatchright01:20
hatchright01:20
rick_h_hatch: so don't stay up too late with it, thanks01:20
hatchgnt01:20
rick_h_night01:20
huwshiminight01:20
hatchhuwshimi the upgrade local charm UI is broken01:40
huwshimihatch: Uh oh, what did I break?01:40
hatchit only shows the Upgrade Services without the Deploy Local Charm on top01:40
hatchthe Upgrade Services looks like it pushes the Deploy Local Charm view up off the page01:41
hatchthe two views should be stacked01:41
hatchI can send a screenshot if you can't reproduce01:42
hatchthis was a similar problem that I ran into when doing this heh01:42
huwshimihatch: Oh, I see it's supposed to display both at once.01:47
hatchyesm01:47
huwshimihatch: I guess it's actually supposed to look like this: https://drive.google.com/a/canonical.com/?usp=folder#folders/0B7XG_QBXNwY1R0Z6OUJpZXBTa2801:48
hatchhuwshimi atm we only care that it fills up the left column01:49
hatchthe Deploy Local Charm is good, but when both are combined it's not01:49
huwshimihatch: Can we not have the controls at the bottom?01:51
huwshimihatch: I'm not sure how it would work otherwise..01:51
hatchhuwshimi i dew not care :)01:52
huwshimihehe01:52
hatchhonestly though we can and likely will revisit this in the next release but atm we just need it to fill up the sidebar with black so it doesn't look empty01:53
hatchif the buttons are at the top with the content or not then that's ok01:53
huwshimihatch: OK, new version up02:14
hatchcool trying02:15
hatchhuwshimi looks good :) nice 02:17
huwshimihatch: yay02:17
hatchyou can shipit whenever02:18
huwshimihatch: Have done.02:18
hatchnoice02:18
huwshimibrb, lunch02:19
huwshimihatch: Doing some QA, but let me know if there's anything you need me to look at.02:38
hatchhuwshimi looks like that's all02:39
hatchthanks for getting all these things done for the release02:40
huwshiminp02:40
huwshimiif only our selenium wasn't so broken02:41
hatchhuwshimi this looks pretty cool using sass and json http://viget.com/extend/sharing-data-between-sass-and-javascript-with-json02:41
hatchthought you might be interested02:41
huwshiminice02:42
hatchhuwshimi last one :) http://thesassway.com/advanced/inverse-trigonometric-functions-with-sass02:44
huwshimiwoah02:45
hatchhaha yep02:50
hatchhuwshimi looks like you have some failures with your branch03:07
hatchIE10 failures03:08
hatchI'll re-run it as the failures shouldn't have been affected by your changes03:08
huwshimihatch: It's already re-running03:09
hatchoh lookie that03:09
hatch:)03:09
huwshimijust about to finish03:09
huwshimihatch: Merged.03:12
hatchrock on03:12
frankbanhi rogpeppe1, how it is going?09:35
rogpeppe1frankban: hiya09:44
rogpeppe1frankban: i'm still contemplating the cmd package09:44
rogpeppe1frankban: and trying to grok how it works09:45
rogpeppe1frankban: the problem is that it currently depends on the version package09:45
rogpeppe1frankban: we need to remove that dependency, but it's not quite clear what the best way to do it is09:46
frankbanrogpeppe1: also on osenv AFAICT09:46
rogpeppe1frankban: hmm, i thought that would be easily removed, but it's not quite so straightforward09:47
rogpeppe1frankban: at the moment, my current inclination is just to add global variables for both the current version and the logging config environment variable (or the default logging config)09:50
frankbanrogpeppe1: not sure how to handle version. maybe put arch in utils and break version into a separate repo? version itself does not seem to be so much tangled with juju09:50
rogpeppe1frankban: i don't think it's right to put version in another repo09:50
rogpeppe1frankban: it really is juju-core specific, as it's the juju-core version09:50
frankbanrogpeppe1: yeah, I see now const version = "1.19.4"09:51
rogpeppe1frankban: if i could think of a good name, i'd split the version package09:52
rogpeppe1frankban: one part would just be the versioning logic09:52
rogpeppe1frankban: the other would hold the current version09:52
frankbanrogpeppe1: yes, that's what I was thinking. you mean, the external part for version parsing, OS versions etc. the juju part with just the juju bits09:53
frankban?09:53
rogpeppe1frankban: yup09:53
frankbanrogpeppe1: juju/versionutils? versiontools?09:55
rogpeppe1frankban: i was more thinking of github.com/juju/juju/currentversion or even perhaps putting the current version in github.com/juju/juju/juju09:57
rogpeppe1frankban: because i'm quite attached to the current names (version.Number etc) for the primitives09:57
rogpeppe1juju.CurrentVersion09:57
frankbanrogpeppe1: what if instead we change cmd so that it can receive a version? e.g. add a Version string field to SuperCommandParams?10:11
rogpeppe1frankban: that's my current thought. except that rather than doing that, i was just planning on adding a global variable10:11
rogpeppe1frankban: otherwise the version needs to be provided to the VersionCommand constructor too10:12
frankbanrogpeppe1: otherwise maybe versionCommand can be a special case, like help: help := &helpCommand{10:27
frankbansuper: c,10:27
frankban}10:27
rogpeppe1frankban: yes, perhaps10:28
frankbanrogpeppe1: that way the command has access to the supercommand, and can retrieve c.Version10:28
rogpeppe1frankban: but VersionCommand is also referenced directly by cmd/juju and cmd/jujud10:29
rogpeppe1frankban: tbh i don't like the way it's such a special case10:30
rogpeppe1frankban: i would much prefer if there was nothing mentioning version in cmd10:30
rogpeppe1frankban: but the logic is twisty enough that i haven't managed to work out how to do that10:30
frankbanrogpeppe1: I mean something like http://pastebin.ubuntu.com/7633106/10:48
rogpeppe1frankban: how does that fit with ./juju/cmd/juju/main.go:151: r.Register(&cmd.VersionCommand{})10:49
frankbanrogpeppe1: I just removed that line in the diff10:50
frankbanrogpeppe1: so basically commands no longer need to register a version subcommand10:51
frankbanrogpeppe1: and we can also change that so that a version subcommand is registered only if c.Version is not an empty string10:53
rogpeppe1frankban: that looks pretty good actually10:53
rogpeppe1frankban: do the tests pass with that?10:53
rogpeppe1frankban: yeah, i was going to suggest that10:53
frankbanrogpeppe1: did not try tests, that's just a sketch, but the code compiles10:53
frankbanrogpeppe1: we'll need to refactor tests so that they pass version when creating a command10:54
rogpeppe1frankban: a supercommand, yes10:55
frankbanrogpeppe1: yes10:55
frankbanrogpeppe1: the logging bits becomes: logger.Infof("running %s [%s %s]", c.Name, c.Version, runtime.Compiler)10:57
frankbanrogpeppe1: and version is no longer a dep10:57
rogpeppe1frankban: yeah10:58
frankbanrogpeppe1: FWIW I like this solution, it seems coherent enough. do you wnat me to work on this further on a real branch or do yo want to tackle this?11:01
rogpeppe1frankban: i'm happy to do it11:01
frankbanrogpeppe1: cool thanks11:01
rogpeppe1frankban: sorry, i've been reviewing a juju-core branch for a little while11:01
frankbanrogpeppe1: no worries, will lunch now, do you have other tasks I can proceed with?11:04
* rogpeppe1 thinks11:05
rogpeppe1frankban: i'll think while you have lunch...11:05
frankbanrogpeppe1: cool thanks11:05
rick_h_morning all11:35
frankbanmorning rick_h_ 11:46
frankbanrick_h_: is MRamm our travel authorizer?11:46
rick_h_frankban: yes11:48
frankbanrick_h_: cool thanks11:49
bacjujugui: hey git question: in my brew branch i needed to do a squash, so i did a 'git rebase -i HEAD~2', marked my pick and squash, exited the editor and now things are hosed.  the rebase didn't happen and now i'm unsure of the state or how to recover.12:30
rick_h_bac: what is 'git status'?12:31
bacrick_h_: rebase in progress12:31
rick_h_bac: ok, so there was probably a conflict. Any files listed in that status with a U marker?12:32
bacno, no conflicts: https://pastebin.canonical.com/111573/12:32
rick_h_bac: try 'git rebase--continue'12:33
bac[bac@sol local]$ git rebase --continue12:33
baccat: /usr/local/.git/rebase-merge/stopped-sha: No such file or directory12:33
bacCannot 'squash' without a previous commit12:33
bacso 'commit --amend'?12:33
bacfist12:33
bacs/fist/first/12:33
rick_h_bac git rebase --abort, not sure what's up tbh12:33
rick_h_bac: but you can abort and start over12:33
bacrick_h_: ok, started over.  i mark 's' and 'p' and exit emacs and then it should happen, right?12:34
rick_h_save and then exit?12:34
rick_h_bac they should all have a p, and then you change the one to s and save/quit the editor12:35
bacdo you have to pick the first one and squash the later ones?12:35
rick_h_bac: and then it should bring up the commit log in the editor12:35
rick_h_bac: yes12:35
rick_h_bac: and you get a file with all the commit messages to garden up12:35
rick_h_and then when you save that, it does the rebase and completes12:35
bacrick_h_: ok, i tried to keep the later one b/c it had the commit message i wanted.12:36
rick_h_bac: ah yea. No, keep the first, rebase the later, and then edit the messages all at once12:37
rick_h_squash the later sorry12:37
bacrick_h_: great, commited as desired.  now cannot push as the repo on github has new changes.  'git pull' says it is up-to-date.  i'm not specifying the pull source correctly i guess12:39
rick_h_bac: so you're pushing to your own branch?12:39
rick_h_bac: since you rebased, there's fewer commits. You have to push back up to your branch with --force to make git update the other location, but make 100% sure you're doing this to your branch that no one else is using12:40
baci want to push to  juju/homebrew12:40
bacgit push git@github.com:juju/homebrew.git juju-quickstart-formula12:40
rick_h_bac: right, add --force to that12:41
bacso when it says12:41
bachint: Updates were rejected because a pushed branch tip is behind its remote12:41
bachint: counterpart. Check out this branch and integrate the remote changes12:41
bacthat is simply caused by the rebase?12:41
rick_h_it's simply because the other branch has more/different commits12:42
bacthe remote hasn't changed12:42
rick_h_your rebase changed that12:42
rick_h_no, but if you compare your local branch to the remote, it has the rebased away commits. 12:42
bacoh, e.g. it has the 1.3.4 commit, i commited 1.3.5 and squashed 1.3.4, so remote no longer has 1.3.4 and git lies saying the remote has new commits12:43
rick_h_so one branch says "after commit xxxx, here's 3 more commits. And your local one says "after commit xxxx here's one more commit"12:43
rick_h_bac: right, s/newer/different12:43
bacok, so the hint is misleading12:43
* bac goes to amazon for o'reilly book12:44
rick_h_crash course!12:44
rick_h_bac: pro git is supposed to be the git bible these days. I haven't read it, but it's available free online12:45
rick_h_http://git-scm.com/book12:45
baci just need to use git more frequently than once a quarter12:45
rick_h_heh, yea that helps12:45
rick_h_did that work out then?12:45
bacyes.  i may have just done the thing we as a project said we didn't want: rebase during a pull request cycle.12:48
bacmy pull request title now references 1.3.4 but i just commited 1.3.5.12:49
bacthey are insistent on squashing, though.12:49
bachey but the brew guys commented on the PR, which is a good sign12:52
frankbanbac: PR link?12:54
bacfrankban: https://github.com/Homebrew/homebrew/pull/3007012:55
frankbanty12:55
rick_h_kadams54: or jcsackett can one of you please look at the bug in urgent please? It's the last known issue blocking release12:57
rick_h_coordinate with hatch or makyo if required as one of them worked on that recently I believe. 12:58
rick_h_heh, the card has mayko's head on it but the bug has hatch assigned https://launchpad.net/bugs/132640112:58
_mup_Bug #1326401: Charm details link in the Inspector on the left doesn't work <juju-gui:Triaged by hatch> <https://launchpad.net/bugs/1326401>12:58
jcsackettrick_h_: looking.13:01
jcsackettand good morning, all.13:01
rick_h_jcsackett: ty much13:02
frankbanbac: not sure if this is related to the failure, but I remember I looked at other formulas and the install section usually looks like http://pastebin.ubuntu.com/7633583/13:02
jcsackettrick_h_: huh, that worked yesterday when i looked at it. 13:02
rick_h_jcsackett: I've got the steps to reproduce in the bug there from luca https://bugs.launchpad.net/juju-gui/+bug/132923613:03
_mup_Bug #1329236: Click on "cs:/precise...." does nothing <juju-gui:Triaged> <https://launchpad.net/bugs/1329236>13:03
bacfrankban: the failure is i tried to use 'juju quickstart' in the test, not 'juju-quickstart'.  it turns out #{bin} is not what i expected, but a bin with only the package executables, thus 'juju' is not there.13:04
kadams54rick_h_, jcsackett: Yeah, interesting. I remember testing that when Huw moved the link from "Charm details" to the charm ID…13:04
jcsackettkadams54, rick_h_: ah, it's in the ghost inspector.13:05
rick_h_jcsackett: the error I hit was in the real inspector13:05
rick_h_not the ghost13:06
jcsacketti'm not getting that, following exactly his steps.13:06
rick_h_jcsackett: huh?13:06
rick_h_jcsackett: you mean my steps?13:07
jcsackettrick_h_: yes, thought it was his comment, misread.13:07
rick_h_jcsackett: I get it using those instructions in both FF and chrome13:08
kadams54jcsackett, rick_h_ : I also run into the problem.13:08
* jcsackett ponders caching...13:09
kadams54The first click works to open the details, but subsequent clicks do not.13:09
kadams54I'm in Chrome Canary, incognito13:09
kadams54Checking other browsers…13:09
rick_h_kadams54: cool, yea it's the JS errors and I bet something is cleaned up/not cleaned up that breaks next attempts13:09
jcsackettaaah.13:09
kadams54It looks like something is being overly aggressive in cleaning up13:10
kadams54Which means something else is unexpectedly null on the second click13:10
rick_h_kadams54: right, I wonder if the work done in updating the inspector styling yesterday moved something13:10
rick_h_jcsackett: ^13:10
rick_h_so you might try pre-hatch's commit yesterday 13:10
rick_h_and see if it repeats13:10
jcsacketti've reproduced. the instructions and description didn't mention it being subsequent clicks.13:10
rick_h_Now the next time you click you get another error:13:10
rick_h_:P13:11
rick_h_https://github.com/juju/juju-gui/commit/88a49f4a7a7da60ecf1757f90bccf4cb1131a86713:11
jcsackett<--under caffeinated brain13:11
rick_h_might be the issue13:11
rick_h_jujugui att guy is here. I'm going dark. I'm available via hangouts on the phone of you need anything. Please get help/etc move this bug through and have someone go through the release process. 13:12
jcsackettrick_h_: dig.13:12
kadams54 Yup, will do13:12
rick_h_ty much13:12
jcsackettkadams54: bad news, that change is not responsible--it's only on local charm inspector dispatching, which doesn't come into play on this error path. i'm going to keep digging.13:16
kadams54jcsackett: OK, I'll stand by to QA and review.13:16
jcsackettthanks.13:16
bacfrankban: would you like to pull the brew formula try to install?13:17
frankbanbac: sure13:19
bacfrankban: and 'brew test --verbose juju-quickstart'13:19
frankbanbac: how do I pull the formula?13:20
kadams54bac: Oh nice, good progress on getting quickstart brew-ified?13:20
bacfrankban: it is on github as juju/homebrew13:21
bacfrankban: i guess you'd cd to `brew --repository` and pull it there?13:21
frankbanbac: installing quickstart13:29
frankbanbac http://pastebin.ubuntu.com/7633692/13:33
bacfrankban: cool.  as it should be.13:33
jcsackettkadams54: so...this fixes the bug, but it doesn't feel like the right fix, and i'm still not sure what the real root cause is. https://github.com/juju/juju-gui/pull/384/files13:46
jcsackettthoughts?13:46
kadams54Looking…13:46
jcsackettviewlet management &c is still a bit opaque to me.13:46
kadams54What happens if you still did the destroy, but without passing in remove: true?13:48
hatchwhat's the problem?13:48
kadams54hatch: see https://bugs.launchpad.net/juju-gui/+bug/1329236 - currently a blocker13:49
_mup_Bug #1329236: Click on "cs:precise...." does nothing in the inspector on subsequent clicks <juju-gui:Triaged> <https://launchpad.net/bugs/1329236>13:49
kadams54jcsackett, hatch: I find it odd that container.empty() is called after invoking the viewlet's destructor. Seems like that should be done within the destructor…13:50
kadams54Which likely has nothing to do with this bug, but more general code smell.13:50
hatchyeah the charm details stuff is definitely not done correctly13:51
hatchbut one sec lemme look13:51
bacfrankban: huh, a new mysterious failure: https://github.com/Homebrew/homebrew/pull/3007013:52
bacfrankban: not sure how this is related to my branch13:52
hatchjcsackett so if you remove the container.empty and the remove: true does it work?13:54
kadams54Just bisected those lines back to a change I made: https://github.com/juju/juju-gui/commit/06a905da55efdd7d45ba9bd80ec7fd5a65e3f39e#diff-18e27830e6c8815b6d3e6caa66636597R5513:56
kadams54I suspect the cleanup is still needed. It just needs to happen in a better, more intelligent way :-) Still not sure why this bug is only just now popping up…13:57
jcsacketthatch, kadams54: checking remove: true and empty now--had to let the dogs out.13:57
kadams54Guess that answers the question.13:58
kadams54We now know who let the dogs out.13:58
kadams54Thank you, thank you, I'll be here all day long.13:58
* jcsackett groans13:59
jcsackettnice, kadams54. very nice.13:59
jcsackettkadams54, hatch: yeah, if i keep destroy but get rid of remove: true it works.14:00
jcsackettit actually works independently of whether or not container.empty is there.14:00
kadams54We're going to need to make sure we're not creating multiple charm detail DOM nodes on subsequent clicks14:01
hatchyeah this whole section is a little broken - the view shouldn't need to do this, it should be destroyed/rendered by the viewlet manager14:01
hatchdid anyone bisect to see when this bug was introduced?14:01
hatchbecause it wasn't throwing any errors yesterday I'm pretty sure14:02
kadams54hatch: not yet, but working on it right now.14:03
hatchkadams54 cool thx14:03
hatchI don't remember anything landing that could cause this...14:03
jcsacketthatch: i'm not sure this path was QAed; i never clicked the link, closed it, and reclicked it.14:04
jcsackettso it could have been broken yesterday.14:05
jcsacketthatch: so, the container close thing is already calling hideSlot--doesn't hideslot kill the viewlet?14:08
hatchheh the bug report is pretty horrible :P14:08
hatchjcsackett it should yep14:08
hatchit should detach the event binding and then call the viewlets destroy method14:10
jcsacketthatch: it does.14:10
jcsackettok, so i've removed all the this.destroy and container.empty stuff in the .close function. the viewlet still goes away, and i'm not seeing dom nodes hanging around.14:11
hatchjcsackett oh the destructor for that view has none of this business in it....I wonder why this extra delegate was created14:11
hatchit seems to me like all of that should be moved to the destructor14:11
jcsacketthatch: i think just for url and animation cleanup--if i keep both of those and then call viewletManager.hideslot everything seems to be groovy.14:12
jcsacketttests all pass this way too.14:12
jcsackett(which doesn't necessarily mean anything, but hey)14:12
hatch(all the tests passed before)14:12
hatch:P14:12
kadams54+1 for moving all that to the destructor14:13
hatchthe service inspector calls hideSlot when the X is clicked14:13
hatchso that delegate shouldn't be needed14:13
hatchso all of those bits should be able to be moved into the destructor14:13
hatchbrb14:16
jcsacketthatch, kadams54: so, the bind is there b/c the "x" in question is a different one--it's the one on charm-details, not the one on the service inspector, and there's no event bound to it w/o the container delegate block.14:19
jcsacketti can move all the other logic into the destructor, but the delegate seems to be necessary for clicking the x to actually call hideSlot.14:20
jcsackettthe WIP pr is updated so you can see what i mean.14:21
rogpeppe1lunch14:24
hatchjcsackett ahhhh14:28
kadams54jcsackett, hatch: Hmm, when I +1 stuff moving to the destructor, it was container.empty()… I think closing (whether in the delegate or in closeSlot) still ought to remove the "animate-in" class, remove the URL hash, and invoke the destructor.14:28
jcsackettkadams54: well, we don't actually need container.empty at all, do we?14:29
MakyoAveraging 3k/s, don't think hangouts are going to work for me this morning.14:29
jcsackettsince hideSlot is supposed to handle everything.14:29
hatchMakyo lol14:29
jcsackettMakyo: broadband not installed yet, eh?14:29
bachey frankban, for juju-quickstart on PyPI the description seems to just be the README.rst.  does PyPI read that in automatically or was it cut-n-pasted there?14:30
Makyojcsackett, they're coming this morning.  Until then, I'm tethering on Edge.14:30
kadams54jcsackett: I'm skeptical of hideSlot… when I added those lines of code, it was because the charm details weren't being fully destroyed, so subsequent clicks would end up creating multiple detail panels.14:30
hatchjcsackett so I think the proper way to fix this is to add an event (this is just a view) to call the destructor when .close-slot is clicked14:31
frankbanbac: PyPi shows the long_description passed in setup.py14:31
kadams54jcsackett, hatch: It may be that hideSlot's doing more now to ensure proper cleanup, but I don't want to just assume that.14:31
hatchthen move everything from within that delegate into the destructor14:31
jcsacketthatch: and continue not having remove: true, yeah?14:31
hatchyeah we don't want it to remove its container14:31
frankbanbac: we dynamically pass the contents of README.rst14:32
bacfrankban: ah, thanks.14:32
kadams54hatch: I still think things like removing "animate-in" class needs to happen outside the destructor. Is that also what you're proposing?14:32
bacfrankban: but you can also edit it in place on pypi.14:32
hatchkadams54 why?14:32
kadams54Because it has nothing to do with destroying the class14:32
kadams54And everything to do with the visual effects that happen when a close action occurs14:33
bacfrankban: if i do edit in place, i assume it will pick it up on the next release from the long description.14:33
kadams54There may be other situations where you want to destroy the class but you don't give a fig about making sure the panel slides in nicely.14:33
frankbanbac: at that point I guess new releases override the description14:33
bacfrankban: yeah, i'd expect so.  i'd like to update the info now without having to do a release.14:34
jcsacketthatch: should the destructor be calling hideSlot...since hideSlot calls the views destructor...?14:35
frankbanbac: so you want to change both README and the description on the current release?14:35
hatchjcsackett good point14:35
jcsackettmaybe we want the fn called for the close-slot click event to do the anim cleanup, then call hideSlot?14:36
hatchblah this stuff is so broke heh 14:36
bacfrankban: i want to change what is seen on pypi now via editing on the site.  i also want to update the README in the branch.14:36
hatchjcsackett imho, make it work for release - this needs to be broken out of the inspector anyways14:37
jcsacketthatch: so, my proposal:14:37
jcsacketthave events include click on close-slot; that calls a method which deals with the anim stuff, and calls hideSlot.14:38
jcsacketthideSlot, i've verified, calls view.remove and view.destroy.14:38
kadams54jcsackett, hatch: Yeah, that seems like the best/cleanest separation of concerns.14:38
jcsackettwe can add container.empty to the close-slot method to address kadams54 concerns.14:38
jcsackettand then i'll put in a test to make sure that the close slot method actually gets rid of stuff so we don't keep generating extra details nodes.14:39
jcsackettyou both +1?14:39
hatchyep go for it14:39
kadams54yep +114:39
jcsackettcool.14:39
hatchafter this release is gtg?14:39
frankbanbac: how do you want to change the README?14:40
jcsacketti believe so; unless we want the s/export.yaml/bundle.yaml/ drive by i did to be part of the release.14:40
bacfrankban: using emacs, i guess14:40
jcsackettjcsackett: i haven't had a chance to add a test for that--for some reason i thought i had already landed when i picked this up.14:40
bacfrankban: sorry.  no, i want to add OS X to the supported systems and mention pip and brew install14:41
frankbanbac: I am not sure we want to advertise osx support now. It's not complete, and it deserves a minor version change. I'd be inclined to do that a part of the 1.4.0 release14:42
bacfrankban: what is incomplete?14:43
bacfrom a pip install?14:43
bacwell, there is the local environment stuff in the interactive session14:44
jcsacketthatch: see comment above. i highlighted myself instead of you.14:44
frankbanbac: exactly14:44
hatchoh heh14:44
hatchjcsackett yeah we can probably wait for that to land14:45
frankbanbac: and from the perspective of a brew user who does not have an env.yaml file, the really first impact with quickstart is a broken option right now14:46
bacfrankban: i hadn't seen you were working on that card14:46
frankbanbac: the other one (handle brew not installed) is also a blocker IMHO14:47
bacfrankban: ok.  that's a good plan to get all of these and target for 1.4.0.14:47
frankbanbac: cool14:47
hatchjujugui call in 1014:50
frankbanbac: added two cards in maint/high: update readme, release 1.4.014:51
rick_h_jujugui call in < 114:59
hatchfound yourself some interwebs?14:59
rick_h_just on the wifi of the new router14:59
rick_h_lots of rewiring to do :)14:59
hatchohhhhhhhh15:00
rick_h_but the new one is smaller yay! more room in the rack15:00
rick_h_jcsackett: &15:00
rick_h_jcsackett: ^15:00
bacjcsackett: it should be plural:  bundles.yaml15:05
jcsackettbac: yeah? 15:08
jcsackettbut it only holds one bundle.15:08
bacjcsackett: http://bazaar.launchpad.net/~charmers/charms/bundles/rails/bundle/files15:09
bacno, it can have many bundles15:09
bacjcsackett: it is really a deployer file, and can have lots of bundles in it.15:09
jcsackettbac: so the file in a bundle is always bundles.yaml. ok.15:10
bacjcsackett: i guess we could've exposed the basket nomenclature...but, no.15:13
jcsackettbac: i'm fine making a one character addition while i'm adding a test.15:15
jcsackett:p15:15
jcsacketthatch: got a second to chat?15:26
hatchyeah sure15:26
hatchstandup room?15:26
hatch^ jcsackett 15:27
hatchrick_h_ who is the travel authorizinator? 15:28
jcsacketthatch: sure.15:28
frankbanhatch: MRamm15:35
kadams54jcsackett, hatch: heading out to lunch shortly. Will be back in an hour.15:35
rick_h_hatch: yep, ramm15:36
hatchthx15:36
hatchjcsackett hey how goes the battle?16:01
jcsacketthatch: just about done.16:02
jcsackettdouble checking our assumptions re hideSlot are correct and then submitting.16:02
hatchcool, lemme know when you are and I'll get it QA's and whatnot16:02
hatchholy smokes it's been a long time since we released heh16:08
jcsacketthatch: so...the destructor is only called the *first* time.16:13
hatchugh so the delegate stuff is needed...16:13
* jcsackett hates this code16:15
jcsackettit's become personal.16:15
jcsacketthatch: i think we revert all changes and just remove the "remove: true"16:16
jcsackettwe can't fix the rest of this until we can kill all the current slot goofiness.16:16
hatchjcsackett whatever gets this landed :)16:16
jcsacketthatch: yeah, just now i have to write an entirely new test. :(16:16
hatchugh16:17
hatchsorry16:17
jcsackett...actually, i'm not even sure how to test it; i guess event simulate...?16:17
jcsackettexcept i have to stub out *everything* so i'm not sure what i'm even testing...16:17
hatchwell16:25
hatchon click we want to see that it calls to do the specific things16:25
jcsackettyeah, i'm just concerned, since we're still in slot land, that i'm not really testing the issue kadams54 encountered that led to this code in the first place.16:27
* jcsackett really doesn't want to re-introduce the bug he was fixing.16:27
hatchyeah this is true16:28
hatchbut it's so much work to properly test16:28
hatchheh16:28
hatchand we'll throw it all away soon16:28
hatchmaybe just a good qa and a basic test will be enough16:28
hatchand a card to go back and fix it properly16:28
jcsacketthatch: FYI hideSlot doesn't call the view destructor.16:30
jcsacketti've instrumented both, and the first time hideSlot is called, the view destructor is called.16:31
hatchohhhh boy I can't wait to delete that stuff16:31
jcsackettsubsequent times hideSlot is called, the destructor is not.16:31
jcsackettso i'm going to keep this.destroy in the delegated function.16:31
hatchjcsackett ok I'm ready for the release once we land these branches, anything I can help with to get these moving?16:49
hatchif not, no biggy I can move to something else for now16:49
jcsacketthatch: you can review this https://github.com/juju/juju-gui/pull/38416:49
hatchon it16:49
jcsackettand QA the holy hell out of the charm details inspector so we can be sure it doesn't break something else. :)16:49
hatchhaha ok16:51
hatchjcsackett when I navigate between the tabs the little red thing lags16:56
hatchdoes it do that on yours as well?16:56
hatchrick_h_ I was wondering if we could prioritize the perf issue when going from inspector to charmbrowser - the inspector kind of just hangs there for a while then snaps to the cb16:57
hatchjcsackett review done and qa ok16:58
hatchjust one small comment re a comment16:58
jcsacketthatch: the red thing lags for me even on develop17:00
hatchjcsackett yeah I was just confirming 17:01
hatchI didn't think they were caused by this branch heh17:01
jcsacketthatch: yeah, i just wanted to be sure.17:01
jcsackettthe comment does not apply. i'm changing it now and pushing up a rebase, and we can shipit.17:02
hatchaweseome thx17:02
jcsackettnp.17:02
jcsacketthatch: meanwhile, you know how to test that saveAs gets 'bundles.yaml' as an arg for the export branch?17:03
hatchhmm17:03
hatchthinking17:03
hatchi''mmmmmm thinking17:03
hatchjcsackett yup, greate a global saveAs stub and test that the right data is sent to it17:04
jcsackettcan you do that? i don't see where saveAs is defined to override it? or i guess i can just assign a stub to it anyway, can't it?17:04
hatchthe first param will be something like     assert.equal(arg1 instanceof Blob, true)17:04
jcsacketts/can't it/cant i17:05
hatchjcsackett it's defined in FileSaver17:05
hatch.js17:05
hatchbut you can just create a global stub....make sure to null it out and whatnot afterwards17:05
* jcsackett nods17:06
jcsackettok, changes are up, waiting on testrun.17:06
hatchfor which?17:07
hatchthe bundles one you forgot to add the test17:07
hatchheh17:07
hatchjcsackett you don't need to wait for the tests to finish for the charm-details branch....the lander will run them anyways before it merges17:09
hatchso you can shipit now17:09
hatchunless of course you think they won't pass for whatever reason :)17:09
hatchdid they pass locally?17:10
jcsackettthey did; i've shipped it.17:10
jcsacketti'm just always leery of doing that.17:10
hatchheh, it's ok, it'll bomb out if it doesn't pass17:10
hatchI mean, don't do that if you haven't had a passing run locally or whatever, just in case, but if you have and it's just a touchup branch then let'r'rip imho17:11
jcsacketthatch: how do you make a global stub? i can't just assign a stub to "saveAs" b/c it's failing as a readonly.17:21
hatch*sigh* of course it is....17:21
hatchunos momentos17:22
jcsackettthanks.17:22
hatchjcsackett ok you can't17:25
hatchdamn strict mode17:25
hatchwe'll have to create an abstraction at some point like we did with the web handler stuff17:26
hatchin the env17:26
hatchson of a...17:26
hatchI'm still looking for an alternative17:27
rick_h_hatch: jcsackett sorry, lost internet and didn't realize I wans't connected17:29
rick_h_hatch: let's talk after the release on the perf issue stuff.17:29
hatchrick_h_ yeah no problem17:30
* rick_h_ runs for foods 17:30
hatchjcsackett yeah doesn't look like there is a way around it - I thought that filesaver was providing a wrapper already but it turns out it's just passing the real saveAs method through17:31
jcsacketthatch: so...just leave this untested, since my branch is a one word change?17:31
hatchso no test for now - follow-up card to create an abstraction17:31
hatchright17:31
jcsacketthatch: dig. i'll throw a card in the backlog pool.17:31
hatchthanks sir17:31
jcsackettgah, ci/selenium...17:33
hatchugh17:34
hatchre-run it17:35
jcsacketti just remove the merge request accepted comment, right?17:36
hatchcorrect17:37
rogpeppe1done for the day17:42
rogpeppe1g'night all17:42
rogpeppe1a collaborative effort with frankban: https://github.com/juju/cmd/pull/117:43
hatchnight rogpeppe1 17:44
hatchjcsackett are you going to shipit your bundles branch? Or are you waiting for something17:48
jcsacketthatch: thought i already had.17:49
hatch:)17:50
hatchjujugui by the power vested in me by myself I now declare develop frozen from any more shipit's 17:50
kadams54hatch: are you cutting the release?17:56
hatchonce the two PR's that are landing land on develop17:56
hatchso it wont be released for probably a couple hours17:56
hatchI'm going to grab some lunch soon to let those land17:57
kadams54hatch: OK, I'm going to proceed with the card I have in progress then. Ping me once you're ready to proceed.17:57
hatchsounds good18:01
hatchugh this darn CI18:42
hatchI'm blaming ci when it's more than likely our test suite 18:42
hatch:)18:42
hatchlots of interesting talks at I/O unfortunately most aren't being streamed - I hope they are still recorded and put up afterwards 18:54
rick_h_hatch: yea, I'm sure they will be18:56
rick_h_hatch: how goes CI? is it hating?18:56
hatchit just keeps getting that intermittent failure for some reason18:57
hatchlooks like this last run is going to work though18:57
rick_h_hmm, yea that notificatoin one in IE is normal. Odd to see them so grouped together. 18:58
hatchrick_h_ anything else you'd like to see in the release notes? https://gist.github.com/hatched/05547f6ca921c580996e19:15
rick_h_hatch: looking19:24
rick_h_hatch: don't think (FIX) SSL handshake fails in OSX Safari is part of gui release19:25
hatchremoved19:25
rick_h_hatch: doing a quick search through bugs19:25
hatchI'm having an issue getting make docs working....hope this time it works19:25
rick_h_hatch: I'd mention the export filename19:25
hatchdone19:26
rick_h_hatch: https://bugs.launchpad.net/juju-gui/+bug/1295264 and https://bugs.launchpad.net/juju-gui/+bug/1249039 should probably be called out as well19:26
_mup_Bug #1295264: jujugui allows iframing and can be clickjacked in this way <netcraft> <juju-gui:In Progress by frankban> <https://launchpad.net/bugs/1295264>19:26
_mup_Bug #1249039: Exporting from real environment exports juju-gui as well <juju-gui:Fix Committed by frankban> <juju-quickstart:Invalid> <https://launchpad.net/bugs/1249039>19:26
rick_h_as they change behavior19:26
rick_h_hatch: but other than that that's good19:27
rick_h_and kind of sad really :/19:27
hatchthe exports gui one was done last release19:27
rick_h_was expecting it to be a huge changelog19:27
hatch:) lots of loc's changed heh19:27
rick_h_hatch: oh, then I fail at keeping that up to date19:27
hatchI'll add the clickjacking though19:27
rick_h_ty19:28
hatchrick_h_ updated https://gist.github.com/hatched/05547f6ca921c580996e19:29
rick_h_hatch: LGTM 19:30
=== BradCrittenden is now known as bac
bachey hatch, do you have a moment for a quick hangout?19:33
hatchjust doing the release but sure19:33
hatchlink?19:33
bachatch: nm, if you're busy19:34
bachatch: but i'm in daily standup if you're not19:34
hatchsure it's making right now19:34
hatchMAN safari is fast running these tests compared to chrome19:52
hatch362 commits since last release19:58
hatchhey rick_h_ I made a bad tag :/19:59
hatchoh phew it's an easy fix19:59
hatchheh19:59
kadams54Bad hatch, bad!20:00
hatchI know!20:01
hatchrick_h_ I'm getting gpg errors when trying to upload the final release - this is going to lp right?20:08
rick_h_hatch: yes20:09
hatchok I'll have to look there20:09
rick_h_can anynoe hit http://maas.jujugui.org/MAAS ?20:11
hatchnegative20:12
rick_h_hmm, try sans MAAS 20:12
hatchI get to hoover with just jujugui.org20:12
hatchbut nothing else works20:12
rick_h_sorry, meant the end one20:13
rick_h_http://maas.jujugui.org20:13
bacnope20:13
rick_h_hm, ok20:13
hatchnope20:13
bacrick_h_: maas.jujugui.org.861INA162.230.177.140  <- that right?20:14
rick_h_bac: rgr20:14
rick_h_hatch: worst case make sure all your stuff is pushed up to the main repo and I'll pull it down and do the upload if that's what's left20:19
hatchrick_h_ that's the only thing that's left20:19
hatchfor some reason it's not accepting my key even after moving it over20:20
hatchgimme a few more mins20:20
rick_h_hatch: ok, cloning down while you do that20:20
hatchrick_h_ yeah I'm not sure what's going on here20:23
hatchI might need to get in touch with the is guys20:23
rick_h_hatch: ok, testing a make distfile here20:24
rick_h_hatch: this is 1.1.0?20:24
hatchit is20:24
hatchmaster should have the 1.1.0 tag20:25
rick_h_okie cool20:25
rick_h_ok, uploading20:25
rick_h_hatch: ok, release uploaded, please carry on from there. https://api.launchpad.net/1.0/juju-gui/stable/1.1.0/+file/juju-gui-1.1.0.xz20:26
hatchthanks20:26
hatchannnnnd done20:32
hatchjust waiting for CI to clear out so I can run it again20:32
rick_h_hatch: wow, that was fast. charm is updated?20:32
hatchohh I didn't know there were any changes to the charm heh20:33
rick_h_oh, you mean the git/repo release part cool20:33
rick_h_hatch: well we need to copy the new release file to the charm and update it20:33
hatchannnd I don't have bzr installed20:33
hatchggreeeaaattt20:33
rick_h_lol20:33
hatchit's clearly been a while since I've done this20:34
hatchbzr is downloading the charm repo, see ya'll in a week20:37
rick_h_good thing you're on real interwebs today20:38
hatchhaha, so true20:38
hatchrick_h_ how do I know what to tag the trusty charm release at?21:01
hatchit says `bzr tag 0.11.0` but.... that doesn't match the revno21:01
rick_h_hatch: that's just the charm source tag. It doesn't matter for the charm itself in the juju store21:02
hatchwell the current tags are in three different formats lol21:02
hatchthe most recent appears to be 1.0.221:03
hatchso it must now match the gui release?21:03
rick_h_hatch: yea, I think we were marking them that way21:03
hatchok cool21:03
hatchrick_h_ ok and are we not updating the precise charm any longer?21:04
hatchOr are the docs missing a step?21:04
rick_h_hatch: right, the precise charm is left behind due to packages and deps used in the charm21:05
rick_h_hatch: I believe...21:06
hatchok cool21:06
hatchhaha21:06
hatchrick_h_ they are killing the yui gallery 21:13
rick_h_hatch: not surprised21:13
rick_h_hatch: without a true ssl gallery on the cdn and such we never could use it either. and managing it was a mess21:14
hatchyeah true true21:17
hatchrick_h_ so I am having a heck of a time here - I can't get make-lint to run21:18
rick_h_hatch: ok21:18
hatchhttps://gist.github.com/hatched/aed7e6f1ae2d85a436a021:18
hatchthat's the error21:18
rick_h_hatch: want to hangout and share the errors? Or I can look at updating the charm tomorrow in the morning21:18
rick_h_hatch: make sysdeps21:18
rick_h_oh! I don't think that's in there, sudo apt-get install python-dev21:19
hatchohh ok installing21:19
hatchoh now I need pip21:22
hatchlol21:22
hatchmaybe....21:22
hatchor does make lint not have any output?21:22
hatchhttps://gist.github.com/hatched/f8cbc4ee1452467036d521:23
hatchdoes that mean lint passed?21:23
rick_h_hatch: so you need to run make sysdeps21:23
rick_h_and make deps21:23
rick_h_and then make lint21:24
hatchmake: Nothing to be done for `deps'.21:24
rick_h_ok, sysdeps?21:24
rick_h_maybe try this21:24
hatchjust ran, trying again21:24
hatchnope that's good21:24
rick_h_make sysdeps && make deps && make unittest21:25
rick_h_does that run/pass?21:25
hatchyep21:25
hatchOK21:25
hatch[I 140612 21:25:27 testing:609] PASS21:25
hatchso make lint must not have any output21:25
hatchsuccessful or not21:25
hatcher - when it's successful21:26
rick_h_hmm, getting that here as well21:26
rick_h_yea, most lint shouldn't say anything if it's ok21:27
rick_h_carry on! :)21:27
hatchwell I guess I will continue on for the real env tests21:27
hatchoh ok21:27
hatch:)21:27
rick_h_that pip thing looks bad though but it's working 21:27
hatchnow lets see if this machine has juju...lol21:27
rick_h_lol21:28
hatchit does it does21:28
rick_h_going afk for a few min, hit me up on hangouts chat on my phone if you hit another wall, biaf21:28
hatchjuju-test is missing....hmm21:32
hatchahh charmtools not installed 21:33
hatchwell hello Makyo 21:34
MakyoHey!  Finally got net.21:36
hatchrock on!21:37
hatchdone a speed test yet?21:37
MakyoNot yet.  Literally just turned on, IRC was still running on a stale connection.21:40
rick_h_Makyo: woot21:41
rick_h_ok, I've got to go. Wife is leaving and the boy is in my hands21:41
rick_h_hatch: I'll try to keep an eye on irc from the kitchen21:41
hatchrick_h_ cool, it's running the ec2 tests21:42
hatchbrb while this test runs21:45
rick_h_hatch: yea, those will take a while21:49
Makyohatch, 10 down, 1 up21:50
rick_h_Makyo: that's the microwave?21:51
Makyorick_h_, no, they told me "it's not you, it's us" and broke up with me.  This is satellite.21:51
rick_h_wow21:51
rick_h_curious how your hangouts go21:52
rick_h_what's the ping times?21:52
MakyoYeah, me too :/21:52
rick_h_move out to the woods?21:52
Makyo500-1000ms :/21:52
MakyoI didn't think so, but apparently.21:52
MakyoEvent Centurylink told me no.21:52
rick_h_wow21:52
hatchykes22:00
hatchannnnd now one more ec2 test22:11
hatchI think it's closer to 40mins per test run :)22:12
hatchmaybe depending on the instance spin up time on ec222:12
huwshimiMorning22:27
hatchhey huwshimi 22:38
huwshimihatch: Hey22:38
huwshimihatch: No call I guess this morning then?22:44
rick_h_huwshimi: is it time? /me looks at calendar22:45
rick_h_wtf why did my alarm not go off22:45
rick_h_huwshimi: sorry, call if you're able22:45
huwshimi:)22:45
huwshimirick_h_: Sure!22:45
rick_h_hatch: jcsackett welcome to join22:46
hatchjujugui anyone remember what the path was for the juju gui charm on launchpad?23:02
rick_h_hatch: use the links in the web ui23:03
huwshimihttp://bazaar.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk/files23:03
huwshimihatch: USE THE GUI23:03
hatchhah thanks - lp still confuses me23:03
bacTEH GUI23:04
hatchlol23:05
hatchand charms have been pushed up23:10
hatchnow I'm going to mow the lawn23:11
hatch:) bbl23:11

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