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

* huwshimi heads to cafe00:19
rick_h_morning party people11:22
frankbanhi rick_h_: welcome back12:03
frankbanrogpeppe1: I am looking at FakeHomeSuite. It seems we can either 1) embed IsolationSuite in it: this means we can safely assume all the JUJU_* env variables are empty as expected by the tests, but also means lots of tests will explode in core (and need to be fixed) due to the fact they do not use complete paths when calling external commands.12:06
frankbanrogpeppe1: or 2) just use Logging and Cleanup suites in FakeHomeSuite. This means we'll need to move the JUJU_* en var resetting logic (currently in BaseSuite) to FakeJujuHomeSuite12:07
rogpeppe1frankban: hmm12:08
* rogpeppe1 goes to look at BaseSuite12:08
frankbanrogpeppe1: basically FakeJujuHomeSuite tests need os.Setenv(osenv.JujuHomeEnvKey, "") stuff (currently in BaseSuite)12:09
frankbanrogpeppe1: but most of them also need PATH to not be empty (and I guess this should be fixed)12:10
rogpeppe1frankban: the worry i have moving the JUJU_ env setting stuff to BaseSuite is that tests that currently use BaseSuite won't get the benefit of that12:10
frankbanrogpeppe1: JUJU_ env setting stuff is already in BaseSuite12:10
frankbanrogpeppe1: and that does not seem right BTW12:11
rogpeppe1frankban: sorry, i meant "away from BaseSuite"12:11
bachi frankban12:13
rogpeppe1frankban: it does seem kind of "right" that the JUJU_ env stuff should be in FakeJujuHomeSuite though12:14
frankbanrogpeppe1: I am not suggesting to remove those from BaseSuite. I guess eventually BaseSuite will embed IsolationSuite, which removes all the env vars, but for now that's not my goal12:14
rogpeppe1frankban: can't FakeHomeSuite embed BaseSuite?12:15
frankbanrogpeppe1: yeah, but the problem now is that FakeJujuHomeSuite embeds FakeHomeSuite, which in turn embeds BaseSuite. I am moving FakeHomeSuite to github.com/juju/testing and I have two choices: 1) make FakeHomeSuite embed IsolationSuite and 2) make FakeHomeSuite just embed Logging and Cleanup suites (without removing env vars)12:16
frankbanrogpeppe1: 1) means we need to fix all the FakeJujuHomeSuite and FakeHomeSuite tests which rely on PATH to be set12:17
rogpeppe1frankban: what's the problem with "FakeJujuHomeSuite embeds FakeHomeSuite, which in turn embeds BaseSuite" ?12:17
rogpeppe1oh, i see, sorry12:17
rogpeppe1frankban: i think that 2) seems a reasonable way forward currently12:17
frankbanrogpeppe1: 2) means we need to have the JUJU_ resetting logic in FakeJujuSuite12:17
frankbansorry FakeJujuHomeSuite, darn!12:18
rogpeppe1frankban: that seems fine12:18
rogpeppe1frankban: and actually quite appropriate12:19
frankbanrogpeppe1: sounds good. So do you mean moving that JUJU_* logic from BaseSuite to FakeJujuHomeSuite or just make them share the same logic?12:20
frankbanbac: morning12:20
rogpeppe1frankban: perhaps duplicate for the time being, to ensure we don't regress, adding a TODO to make BaseSuite embed IsolationSuite12:21
frankbanrogpeppe1: sounds good thanks. today lesson: always use complete paths12:22
rick_h_frankban: rogpeppe1 if you guys get a second wonder if we can do a quick hangout to catch up on where the store extraction stands please. I'm not 100% clear looking at the board. 12:42
* rogpeppe1 generally only wonders once12:43
rick_h_:)12:44
rogpeppe1rick_h_: happy to have a hangout whenever12:44
rick_h_it's that second wonder that provides true clarity 12:44
rick_h_rogpeppe1: frankban https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso?authuser=112:45
bacfrankban: i think doing the backport of 0.12 to saucy and precise is cleanest.  should be straightforward.12:48
bacfrankban: but changing the quickstart packaging branch between PPA builds is not sustainable.  :)12:50
bacfrankban: but if we're going to do a backport of 0.12 we could make the package name python-websocket, as in trusty, and the whole problem goes away, right?12:53
frankbanbac: then you have jujuclient which still depends on "python-websocket-client" on saucy and precise13:03
frankbanbac: so, I guess the plan is: 1) trusty is ok 2) backport python-websocket 0.12 as python-websocket-client on saucy and precise 3) add the backported packages to the quickstart-beta ppa and to the juju-stable ppa13:05
bacfrankban: but do we still have a build issue? or is the current code, with websocket in test-requirements, a-ok?13:10
frankbanbac: it should be ok, right now quickstart installs on trusty and saucy. we only need a newer websocket-client on precise and saucy13:11
bacfrankban: ok13:12
jcsackettmorning, all.13:18
rogpeppe1argh, wrong upstream13:19
redirmorning jcsackett 13:20
rediraweful lag:((13:25
kadams54guihelp: Anyone else here make heavy use of buffergator in vim?13:46
rick_h_never heard of it13:47
rick_h_lustyjuggler user here13:47
redirwhat's vim?13:47
rick_h_redir: that's it, you're fired :P13:47
kadams54:-b13:47
kadams54LOL13:47
jcsacketti use lustybuffer, rather than juggler. juggler would crash periodically on me for reasons i never bothered to investigate.13:48
jcsackettbuffergator looks nice.13:49
redirIs it this http://bit.ly/Tm8jat ?13:49
kadams54:-)13:49
kadams54No way am I touching that link13:49
redirsure youren't 13:50
redirit's calling you13:50
kadams54Hah!13:52
kadams54Like a siren13:52
kadams54I should make a chrome extension that pre-examines target pages for shortened URLs and when it finds a rickroll/goatse/whatever on the other side instead displays a "stop being a putz" message.13:53
redirkadams54: I'd use it13:55
kadams54I think there's a real market for it ;-)13:55
rogpeppe1woo, testing/filetesting changes finally merged14:00
rick_h_rogpeppe1: yay!14:00
rogpeppe1hmm, i'm seeing this message when committing a merge:14:04
rogpeppe1# It looks like you may be committing a merge.14:04
rogpeppe1# If this is not correct, please remove the file14:04
rogpeppe1#.git/MERGE_HEAD14:04
rogpeppe1# and try again.14:04
rogpeppe1does anyone know how/why i might be seeing that and if it's a significant problem?14:04
kadams54http://git-scm.com/book/ch3-2.html14:05
kadams54See at the very bottom of the page14:05
rogpeppe1kadams54: oh, right, so it's just normal behaviour14:06
rogpeppe1kadams54: thanks14:06
kadams54It's not necessarily a problem, if you are in fact committing a merge 14:06
kadams54Yup14:06
redirsheesh so there are already like 5 swift meetup groups in new york I have gotten emails about.14:48
rick_h_yay swift :P14:48
redirsilly14:49
hatch__such facepalm14:49
hatch__it's actually a pretty cool language14:49
hatch__but its so high up in that tower over there14:49
rediryay doge meme, now that will by stuck in my head for another week, thanks hatch14:49
redirI'll be in Pisa muttering *such historic* *very tilting*14:50
Makyojujugui call in 1014:50
hatch__:)14:50
=== hatch__ is now known as hatch
hatch__woah14:55
hatch__I think I was lagged huge there14:55
hatch__did everyone get the 10min warning?14:55
=== hatch__ is now known as hatch
rick_h_got it here14:55
hatchok cool, that was odd14:55
hatchit just stopped responding and booted me so I wasn't sure14:55
rick_h_well, I got Makyo's 10min warning14:55
hatchoh...14:55
hatchhttps://twitter.com/FromAnEgg/status/474927316846403585 hehe14:56
rick_h_jujugui call in 2, get your kanban ready and prepare for a long poker call wheeee14:59
* hatch plays with his chips14:59
* hatch puts his hoodie and sunglasses on14:59
rick_h_kadams54_: as well :P15:00
rick_h_rogpeppe: call time15:01
frankbanrogpeppe: when you have time: https://github.com/juju/testing/pull/12/files15:16
bachatch: English words with 'mv':  http://paste.ubuntu.com/7602348/  -- we're pretty safe.15:19
rogpeppefrankban: reviewed15:21
frankbanrogpeppe: thanks, I agrre with you, perhaps in these cases not rebasing before the proposal can be a good idea15:23
rogpeppefrankban: yeah, definitely15:23
rogpeppefrankban: could you revert and re-push, in fact?15:24
rogpeppefrankban: i.e. revert to before your rebase15:24
frankbanrogpeppe: not sure. BTW, the suite itself and the test file is new code. so basically home.go from line 83 and the whole home_test.go15:25
rogpeppefrankban: i'd still like to see the diff, if poss15:25
rogpeppefrankban: just to see what the old code looked like15:25
rogpeppefrankban: i guess i could just look in my editor :-)15:26
frankbanrogpeppe: original code is in /testing/base.go15:28
rogpeppefrankban: still LGTM15:32
frankbanrogpeppe: cool thanks15:32
bacrick_h_: paste here please15:36
rick_h_https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0ApyaFXSrLF38dGVCYUhGLTRXMXRaVXBCMUFjQlJMTkE&usp=drive_web#gid=415:37
hatchrick_h_ I can take a look at the review board thing if you like15:57
rick_h_hatch: coolio, I'll send an invite to your email15:57
hatchthx15:57
rick_h_bac: still have power and water?16:05
bacboth!16:05
rick_h_woot!16:05
hatchon that topic - we are getting the new 'smart' gas and power meters sometime over the next month16:06
rick_h_hatch: I've got mine, it just means they get to tell me how much a power hog I am over my neighbors16:06
hatchrick_h_ lol16:06
frankbanrick_h_: I filed my summer holidays in the new hr site16:07
hatchwe have a coal power plant....they can't burn less if they wanted to!16:07
hatchnot sure what the smart meters will do lol16:07
rick_h_frankban: looking16:07
rick_h_frankban: interesting in checking ot the reviewboard stuff? You were interested in the side by side reviews? 16:13
rick_h_anyone else?16:13
frankbanrick_h_: sounds interesting16:14
* rick_h_ goes to get some lunch16:35
* frankban biab16:36
hatchhey who's cHilDPROdigY1337 ?17:18
* redir blinks17:20
* redir actually bL1Nk517:20
* redir goes to grab some lunch17:21
hatchlol!17:22
hatchI'm not convinced about this new hr portal lol17:43
hatchjujugui looking for a very quick review on the new cache https://github.com/juju/juju-gui/pull/37118:05
kadams54On it18:05
kadams54Ow my eyes!18:05
kadams54They burn, they burn!18:05
hatchyeah it's so basic18:05
hatchsorry...lol18:05
hatchhmm I was sure I had a card to hook up the cache in project 118:06
hatchrick_h_ ^18:06
kadams54The PR looks good and I'll reply as such in the comments…18:06
hatchahh found it18:06
rick_h_hatch: yea sorry, sidetracked atm18:08
hatchnp18:08
hatchI found the related card/bug18:08
kadams54hatch: one thing that I wondered is if the cache needs to support expiration.18:09
hatchugh I friggen hate test failures under prod18:09
kadams54I suppose you could expire to a certain extent by setting a key to null18:09
hatchkadams54 no this cache is one step above a manilla folder 18:09
rick_h_reload the page :P18:09
rick_h_it's something we can look into, but since the cache is charm/version specific it can't change 18:10
* kadams54 ponders a world where one step above a manilla folder is 126 lines of javascript18:10
hatch90% of which are comments18:10
kadams54Still. I think we're more than a few steps above a physical world object ;-)18:11
hatchhaha maybe a few18:11
hatchkadams54 I am going to continue working on my other cache class though - how would YOU do expiration? able to supply a timestamp or a fn which is called periodically? 18:16
hatchlazyPower hey, this is me poking you about my Ghost charm again :) I want to put out a blog post et all but can't until it's in the store :)18:23
lazyPowerhatch: bcsaller is on rev this week18:23
* lazyPower politely redirects18:23
* hatch puts on his hunting cap and goes hunting him down18:23
hatchjujugui recently there have been a lot of test failures around the 49th test - has anyone looked into why this is happening?18:32
rick_h_hatch: what's the 49th test?18:32
hatchrick_h_ well it's -around- there, sometimes it's more, sometimes less18:33
hatchI think you and frankban also saw this18:33
rick_h_hatch: if it's that one no. I just saw it for the first time on frakban's branch trying to land18:34
hatchcan we create an investigate card?18:35
rick_h_hatch: by all means, put it in maint. Make sure to have links to the failures we know about to debug18:35
hatchcreated! Here is the failure rick_h_ https://saucelabs.com/jobs/2ce12db7af234450af18a44b6327e9c718:39
hatchthe merge run on the other hand is running without issue18:40
* hatch punches test suite18:40
hatchI am developer hear me roar!18:40
hatchjujugui is there documentation for quickstart? The readme is pretty sparse 18:44
rick_h_bac: jcsackett ping when you get a sec would like to chat please18:46
hatchcan quickstart be used to fire up the GUI into your active environment?18:46
hatchjuju quickstart -e amazon18:46
hatchboom browser opens?18:46
rick_h_jujugui board is loaded up with work items for the next two weeks. Let me know if anything looks off/unclear18:47
rick_h_hatch: yep18:47
hatchthanks18:47
rick_h_wow, scheduling work for 9 devs now. Moar points of work!18:47
hatchhaha that is a lot of points18:54
bacrick_h_: update: the backport packages are coming along.  since it wasn't a simple backport, but required changing the binary name, none of the simple tools like backportpackage could be used.  hopefully i'll have it up on the PPA for building very soon now.18:56
rick_h_bac:  very cool18:56
bacrick_h_: also, the brew formula is done and works with jj-qs 1.3.2.  but, of course, that version doesn't actually work with osx, but brew can install the hell out of it18:57
rick_h_lol, that's good18:57
rick_h_bac: got time to chat for a sec?18:57
bacsure18:57
baclet me grab my headphones18:57
rick_h_sure thing18:58
rick_h_https://plus.google.com/hangouts/_/g5f5fs3tejaybejaqipregrldma?authuser=1&hl=en18:58
rick_h_jcsackett: ^ as well if you're around or get in18:59
hatchI'm stepping away for lunch, ding if ya need me19:03
bacjcsackett: overheated after five minutes.  back inside.19:12
* jcsackett laughs19:15
jcsackettyeah, it's getting that bad here too. i basically can only go work on the porch in the morning.19:15
kadams54It's the skeeters here.19:15
kadams54It's sunny and 22C so I'd LOVE to work outside19:16
kadams54But it's a veritable cloud outside19:16
kadams54of bloodsucking beasties19:16
kadams54hatch: the caching libraries I've worked with in the past usually had an optional param for expiration in milliseconds. So cache.set('foo', 4000) would expire 'foo' in 4 seconds.19:17
kadams54Well, cache.set('foo', {timeout: 4000});19:18
kadams54They also usually supported a cache-wide expiration that could be set in the constructor: cache = new Cache({timeout: 4000});19:18
baci love this advice on backporting:19:34
bacWhy Backport?19:34
bacShort answer: Don't.19:34
rick_h_lol19:37
hatchkadams54 cool20:00
hatch13C here right now...brrrr20:02
hatchit almost froze last night20:02
rick_h_25C here :/20:02
rick_h_speaking of, I'm going to head out and get the boy from school. Have a good weekend all. 20:03
hatchenjoy!20:03
redirlater rick_h_ 20:08
hatchlol Makyo nice favourite 20:36
MakyoWow, hah.  Do you use tweetdeck?20:37
hatchyeah lol20:37
hatchsome interesting stuff flows in there sometimes haha20:37
MakyoTweets scroll down from the top (like I suppose they do for most clients), had a tweet show up before I clicked.20:38
hatchhaha yeah that can be irritating20:39
MakyoLoomy, alas, is on his own :)20:39
hatchhaha20:39
hatchMakyo you're on the rendering bug right? Even with the new updated cache the issue still persists 20:47
hatchjust fyi20:47
Makyohatch, yeah, but I'm having a hard time nailing it down.  It is being rendered outside the dom, then added all at once, so I'm digging into sticky headers.20:48
hatchMakyo hmm, you may find some insight in the rendering timeline20:49
hatchI'm pretty confident it's within the token render cycle20:49
MakyoYeah, let me add more logs.20:49
hatchbecause there is lots of GC around there20:49
MakyoOkay.20:49
MakyoIt just shouldn't be touching the dom.  We're adding it to a new node.20:49
hatchI mean the Timeline tab in  devtools20:49
MakyoAh!~20:49
MakyoGood chance to learn it.20:49
hatchthere is a Frames tab in the top left20:50
hatchyou want that one20:50
hatchyeah this is invaluable, lots of great info in here20:50
hatchthere20:50
MakyoMan, that Object.observe polyfill is annoying.20:58
hatchmaybe we should evalutate doing a unidirectional data flow on that stuff instead of 2way binding20:59
MakyoYeah.  We're using it for the databinding on units, right?21:02
hatchI have no idea hah21:03
MakyoI think everything else is based on change events.21:06
hatchahh you are probably right21:20
hatchyay caching works21:49
hatchtests on the otherhand21:49
hatchif you were to empty a cache21:51
hatchcache.expire() ? 21:51
hatchcache.empty() ?21:51
hatchcache.happyPants() ?21:51
* hatch is thinking happyPants21:51
Makyocache.freeeeee()21:58
hatch__not sure if everyone got that last msg22:15
hatch__jujugui I have hooked the cache up to the charmbrowser and the charm details views here is the WIP (only tests are next) comments appreciated https://github.com/juju/juju-gui/pull/37222:15
MakyoAlright, heading to the new house.  See you all next week.,22:40
hatchcya Makyo 22:42

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