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

hatchhuwshimi ready for a final review/qa on #95?00:15
huwshimihatch: That'd be great!00:15
hatchok I'm going to take a little break then I'll get on it00:16
huwshimihatch: Thankyou!00:17
hatchhuwshimi trivial typo on the code review....ok now I'm really going to take a break before qa :)00:21
huwshimihatch: "typeo: maximized" hilarious.00:28
hatchhaha :)00:33
gary_posterhttps://github.com/juju/juju-gui/pull/101 ready for review, and now I run :-)01:33
=== gary_poster is now known as gary_poster|away
hatchhuwshimi fyi we use a z instead of s in maximized :)01:57
huwshimihatch: Do we?02:00
hatchhuwshimi I don't know what version of English we use :)02:01
huwshimihatch: Well, our writing style guides are for British English (we're a British company). Not sure if we have additional rules for our code comments.02:02
hatchqa ok!02:03
hatchhuwshimi before you merge it in can you rebase it?02:04
huwshimiSure!02:05
frankbanmorning hazmat: re: bug 1252301 do you already have a plan, can I help in some way?10:11
_mup_Bug #1252301: guiserver reports second bundle as failing after the first fails <juju-deployer:New> <juju-gui (Juju Charms Collection):Triaged> <https://launchpad.net/bugs/1252301>10:11
hazmatfrankban, i'm at sprint and then on vacation till roughly feb 17th, and then multi-tasking for partner/customer deadlines.11:23
hazmatfrankban, if you have time that would be great.. the simple thing is just to have wait for units  methods, take flag, and pass the flag in via config.. i think.. i haven't thought about it while looking at the code.11:23
frankbanhazmat: ack. there is already an ignore_error flag passed to that function11:25
frankbanhazmat: I'll take a better look at it11:25
hazmatfrankban, thanks11:27
=== gary_poster|away is now known as gary_poster
gary_posterfrankban: +1 on GUI login text PR 10313:17
frankbangary_poster: thanks!13:26
gary_posterrick_h_: qa bad on your demo icon branch.  To see problem, go to https://manage.jujucharms.com/api/3/charm/~web-brandon/precise/my-site-1/file/icon.svg?demo=true .  Maybe "demo" is not the expected name in charmworld for this functionality?13:30
gary_posterwelcome13:30
bachi benji, would you have a moment for some makefile advice?13:38
benjibac: sure13:38
hatchgary_poster can we cancel the merge of huws branch or is it too late? It wasn't rebased13:42
gary_posterhatch, I don't know how, sorry13:43
* gary_poster kinda hates the rebase thing.13:43
* gary_poster kinda thinks bzr shoulda won13:43
hatchyeah I don't know how to cancel it either :) without the rebase bisecting is kind of a pita of unfortunately....having a bunch of broken commits 13:43
hatchyeah this part bzr clearly wins13:44
gary_posterhatch I think I might have canceled it13:44
rick_h_gary_poster: bah, sorry. I assumed charmworld would ignore it. I tried to work on the charmworld side of the branch but the ppa's for charmworld aren't available for trusty13:45
gary_posterhatch: ok it is cancelled,pretty sure.  I aborted build13:47
gary_posterhatch one of us should do the rebase13:47
gary_posterhatch I can try to delete it later13:47
gary_posterI mean rebase it :-P which may mean deleting huw's PR13:47
gary_poster(closing)13:48
gary_posterrick_h_: np.  13:48
rick_h_gary_poster: will leave that on hold for the moment and will try to get an older release lxc setup to update charmworld first then13:48
rick_h_gary_poster: thanks for the review/qa catch13:49
gary_postercool rick_h_ .  OTOH If you want to land it with a "it's feature-flagged" approach that's fine with me too13:49
rick_h_gary_poster: will see what time I get. If it'll be a bit I'll add a FF on it13:49
hatchI wonder if we can write an intelligent rebase script so it could act like bzr 13:49
rick_h_maybe should anyway since in order to land it would need a charmworld release :/ good call13:50
gary_posterrick_h_: IMO it is already "feature flagged": you have to opt in on the console13:50
rick_h_gary_poster: oh yea even better :)13:50
rick_h_hatch: ugh yea. I need to see if I can update the process to handle this. What we need is a clear process for "update from develop" that doesn't break the feature branch history like it does now13:51
rick_h_hatch: if you get a chance, I wonder if we could add a "how to sync with trunk" that's testing out using git rebase develop vs git merge/pull develop13:51
rick_h_hatch: and if that helps out13:51
hatchyeah...I'm just wondering why rebasing merges into your commits shows up in the diffs13:52
hatchthat stuff 'should' already be in develop so why is it considering it 'new'13:52
gary_posterrick_h_: gave a +1 to the branch with that understanding.  Onlty had small text suggestion13:52
rick_h_hatch: I think that's the diff between merge/pull/rebase. You can sync all three ways but they each act different and need to think through it13:52
rick_h_gary_poster: rgr, will update it. 13:52
hatchI wonder what others do, I can't imagine that this isn't a asolved problem13:53
hatchpeople can't have a ton of broken commits in their trunk13:53
hatch....well....shouldn't :)13:53
hatchgary_poster did you see that your font branch failed CI?13:54
gary_posterhatch, yeah thanks.  Weird: it failed on IE in sandbox.PyJujuAPI tests!13:55
gary_posterNo idea why.13:55
hatchok that's odd13:55
gary_posterWant to try and dupe locally13:55
rick_h_there is a transiet error that happens in CI very rarely13:56
gary_posteroh!  was wondering about that13:56
rick_h_gary_poster: if it's a really odd error I'd try to run it again13:56
* rick_h_ goes to find the branch/build13:56
gary_posterhttps://github.com/juju/juju-gui/pull/10113:57
gary_posterrick_h_: ^^^ is there a way to trigger a build without pushing another branch?13:58
hatchdelete the message from CI14:00
hatchthe 'status: merge request accepted' one14:00
hatchthen it'll re-run14:00
gary_posterhatch, no this is the initial run14:00
hatchoh woops, sorry no idea14:01
frankbangary_poster: starting the process to release the GUI charm if you agree14:03
gary_posterfrankban: +1 thank you14:04
rick_h_gary_poster: yes, got pulled away https://github.com/juju/juju-gui/blob/develop/docs/continuous-integration.rst#manually-running-a-build14:12
gary_posterperfect thanks rick_h_14:13
rick_h_gary_poster: so http://ci.jujugui.org:8080/job/juju-gui/327/ looks like it went ok?14:26
rick_h_not sure why it didn't trigger a pass in github14:26
gary_postercool, and awesome! thanks rick_h_.  Tweaking branch now.  Gives me rebase practice. :-)14:27
rick_h_gary_poster: cool14:28
hatchgary_poster was the test failure the long line?14:42
hatchor was that just a driveby14:42
gary_posterhatch, no, that was a driveby14:42
gary_posterhatch, the next test run passed without changes14:43
hatchoh :) 14:43
rick_h_yea, it's a really odd and rare failure. I guess I should file a bug on it. Only hit it a couple of times14:43
* hatch sings blame rick_h_ to the tune of 'Blame Canada' from South Park14:43
rick_h_but it does happen14:43
gary_posterlol14:43
rick_h_:P14:43
gary_posterI don't think rick_h_ can take any blame for those tests14:43
hatchmaybe not, but it can be assigned14:44
hatch:P14:44
rick_h_hatch: I just got out of a meeting with Mark S and he wants you to build Jaas by yourself by the end of the month. GO! :P14:44
gary_poster:-)14:44
gary_posterheh14:44
hatchrick_h_ lol, wouldn't be the craziest request I've gotten haha14:44
gary_posterWe won't tell you what it is, but if you get it wrong, you're fired ;-)14:44
hatchhahaha14:45
hatchthat's pretty close to some of the requests I've received 14:45
benjione month of paid job-hunting; sounds like a good deal to me a14:45
hatch"can you build us an app for our startup....but we can't tell you what we do now..."14:45
gary_posterheh14:45
hatchbenji lol14:46
benjigary_poster: AWS expenses incoming14:46
gary_postercool benji, I'll catch 'em14:46
hatchjuju-core can be up/downgraded nicely14:47
gary_posterdone.14:47
hatchat least it appears to not be barfing all over the place14:47
hatchseems to be considerably slower though....14:48
hatchI just enjoy using the GUI when using Juju....guess that means we did a good job :)14:50
gary_poster:-)14:51
gary_poster+114:51
gary_posteryou know...14:53
gary_posterif you look at the jenkins test console (http://ci.jujugui.org:8080/job/juju-gui/331/console)...14:53
gary_postera *lot* of the time is spent on 304 requests14:53
gary_postera *whole bunch*14:54
hatchyou bet14:55
hatchrick_h_ and I have both been wanting to write a cache layer for those json requests14:55
gary_postercache headers would be dagerous14:55
gary_posterit's no just json fwiw14:55
gary_postersvg and yaml too14:55
hatchI was thinking something in the app14:55
rick_h_gary_poster: right, but all of those are through the "loadxxx" helper that needs to just send back the data14:55
hatchyeah that14:56
gary_posterso the app itself would cache?14:56
gary_posterin a util?14:56
rick_h_so it's just a matter of faking the cache in the test util helper14:56
rick_h_no the app, it's in the tests only14:56
hatch'just' famous last words lol14:56
gary_posterthat might be an 80/20, yeah14:56
rick_h_hatch: :P come on. It's easy. You could do it in an hour.14:56
gary_posterheh14:57
hatchrick_h_ lol shush14:57
* rick_h_ downloads hatch's ghost zip14:57
gary_posterok hatch or someone else in jujugui, https://github.com/juju/juju-gui/pull/104 has passing tests and is ready for review (hopefully easy) and qa (more annoying)14:57
* hatch needs someone to actually use the ghost charm so I can get motivated to keep working on it14:58
gary_posterdo demos count? ;-)14:58
hatchhaha, well it works for demos now. 'lowest viable product' :P14:58
gary_poster:-)14:58
rick_h_hatch: Failed to load resource: the server responded with a status of 405 (Method Not Allowed)  15:01
rick_h_:(15:01
hatchrick_h_ are you using the latest charm and juju 1.17.1+15:01
rick_h_1.17.3-trusty-amd64 15:01
rick_h_cs:precise/juju-gui-8215:01
rick_h_I got juju from trunk with the go get juju...15:02
rick_h_and I changed the juju-gui-source to the develop branch15:02
rick_h_in the charm15:02
hatchhmm something is messed up with charmworld.....juju-gui latest is revno 83, but it's deploying 8215:03
frankbanhatch: cs:precise/juju-gui-82 is revno 8315:04
hatchohh ok, so then it 'should' be working15:04
hatchfrankban I thought the numbers on the end matched the revno 15:04
hatch:)15:04
hatchrick_h_ can you view the guiserver logs in the charm?15:05
rick_h_hatch: looking15:05
frankbanhatch: I used to know the meaning of the number after the last dash, but I keep forgetting that and I ended up just considering it an obscure auto-incrementing mystical number 15:05
hatchhaha sounds good15:06
rick_h_hatch: which log? nothing in /var/log/juju/juju-gui.log15:07
hatchguiserver.log15:08
hatchit's in...15:08
hatch /var/log/upstart15:08
rick_h_ah right uin upstart15:08
hatchyeah this is the actual 'server' logs15:08
rick_h_[W 140204 15:07:13 web:1635] 405 POST /juju-core/charms?series=precise (41.164.30.187) 7.48ms15:08
hatchthat's it hey?15:09
hatchfrankban any ideas?15:09
rick_h_yep15:09
rick_h_all I get in there15:09
hatchfrankban 83 supports the local charm stuff right?15:10
rick_h_gary_poster: bac comingsoon has a merge conflict issue15:12
bacrick_h_: ok15:12
frankbanjujugui: https://jujucharms.com/sidebar/search/bundle/~abentley/wiki-bundle/1/wiki/?text=bundle#bws-code is an official bundle that we cannot deploy. since the bundle includes local charms (those with "branch:") the fake backend fails. this is related to bug 1276107 , but I didn't know those kind of bundles were exposed in the GUI  15:12
_mup_Bug #1276107: gui fails to deploy a bundle due to "Invalid charm id: undefined" <juju-gui:Incomplete> <https://launchpad.net/bugs/1276107>15:12
bacrick_h_: will check it out15:12
frankbanhatch: revno 83 does not15:12
hatchrick_h_ doesn't look like the 83 supports it 15:12
gary_posterthanks bac15:12
hatchsorry15:12
rick_h_frankban: so that is an old old bundle that sohuld be deprecated and removed15:12
hatchhttps://code.launchpad.net/~juju-gui/charms/precise/juju-gui/trunk15:12
rick_h_frankban: as we update the rules and proof we don't go back and clear old things out 15:13
rick_h_frankban: maybe we should do that15:13
frankbanhatch: I am in the middle of the charm release. hopefully the new charm with putcharm enabled will be released in 30 mins15:13
rick_h_hatch: oh sorry, thought it as there15:13
rick_h_frankban: ah ok cool. I'll retry setting up the demo later tonight then15:13
gary_posterrick_h_: was using local charms for demo15:13
rick_h_thanks for the heads up15:13
rick_h_yea, it's friday. I got the juju-core part working so that's a good bit. If the charm gets updated then should be all ready for the demo well in time15:14
frankbanrick_h_: I'll ping everyone once the charm is released15:14
rick_h_frankban: ty15:14
gary_posterrick_h_: re frankban's comment about the failing bundle, any ideas how that made it through proof?15:14
rick_h_gary_poster: it was pre-proof checking things15:14
gary_posterrick_h_: I thought we had a re-import though15:14
rick_h_it's one of the first bundles we ever put in to test/prove charmworld could test them. 15:15
rick_h_I think it goes into an error state, and we don't repull it but I don't think we clear it out. Am I mistaken on that bac ?15:15
rick_h_gary_poster: in theory we're treating it like a bad revision if I recall correctly. 15:15
frankbanrick_h_: unfortunately that's also the first bundle result if you search for "bundle" on the side bar15:16
gary_poster:-(15:16
rick_h_frankban: hah, ok. We should yank it. Maybe benji can try out his charm remover on the bundle? 15:16
gary_posteryeah was thinking the same thing15:16
hatchhulk smash!15:17
bacrick_h_: comingsoon should be happier.15:17
rick_h_bac: thanks15:17
* rick_h_ puts a note to look at adding a monitoring thing on our azure account. See if we can get a notice if it fails to load15:18
bacjujugui: remember to QA on coming soon if you muck with config.js  (but we always forget)15:18
abentleyI'm happy to delete the branch if you want.15:18
gary_posterah I have one of those comingsoon config fun things coming up too, maybe15:19
bacgary_poster: do more better!15:20
gary_posterthanks abentley.  That sounds like a good idea to me.  We still need to delete it in charmworld.15:20
gary_poster:-)15:20
gary_posterhatch you looking at https://github.com/juju/juju-gui/pull/104 or planning to, or should I beg someone else?15:21
abentleygary_poster: btw, the URL after "bzr branch" is a bit weird.  You never need /files after a Launchpad branch URL.15:22
gary_posterthanks abentley, yes.  Fixed in trunk (http://comingsoon.jujucharms.com/sidebar/search/bundle/~abentley/wiki-bundle/1/wiki/?text=bundle#code) and even in recent GUI releases.  jujucharms hasn't had an update because we are blocked on switching to juju core.15:31
abentleygary_poster: cool.15:31
gary_posterhttp://comingsoon.jujucharms.com/~dweaver/complex-webapp-and-management-bundle/8/complex-webapp/ could look better :-/15:32
gary_postersorry15:32
gary_postercorrect link:15:32
gary_posterhttp://comingsoon.jujucharms.com/sidebar/bundle/~dweaver/complex-webapp-and-management-bundle/8/complex-webapp/15:32
hatchgary_poster yeah I'll be looking at it15:34
gary_posterthank you15:34
hatchmy env is a little messed up right now because of testing for old juju versions and the like15:34
gary_postergotcha15:34
hatchjujugui do we know the version of juju in the GUI now? I remember hearing some discussion on the matter but wasn't sure the outcome15:39
frankbanhatch: no we don't15:40
hatchooooo kaaaayyyyyy15:40
hatchlittle unfortunate15:40
frankbanhatch: what do you need that for?15:41
hatchfrankban when the user tries to upload a charm and it's not supported I was going to say "Your version of Juju ({version}) does not support local charm uploads, please use at least 1.18.0"15:41
hatchso I'll just drop out their version for now15:41
frankbanhatch: ack not too bad15:43
hatchnope15:44
gary_posterjujugui call in 1015:50
benjihatch: I can't reproduce bug 127198615:52
_mup_Bug #1271986: Destroying service leaves inspector open <juju-gui:Triaged> <https://launchpad.net/bugs/1271986>15:52
hatchbenji looking15:52
hatchbenji it was intermittent 15:52
hatchmaybe try a couple times?15:52
benjihatch: I did.  I'll try some more.  How long were you letting it be in pending before destroying it? 15:53
hatchbenji 30s or so I think15:53
benjik15:53
hatchfrankban the error returned from the charm when trying to use local charm upload is:15:53
hatchInternal server error:15:54
hatcherror fetching data from https://10.0.3.1:17070/charms?series=precise: HTTP 599: Unknown15:54
hatchdo we want to expose that url?15:54
frankbanhatch: is this the error with old juju-core versions?15:55
hatchfrankban yes, the ~juju-gui charm and juju 1.16.x15:55
hatchit should really be returning a 405 imho instead of a 50015:56
hatchshall I file a bug on the charm?15:56
bacjujugui call in 1?  2?15:58
gary_posterjujugui cvall in 215:58
* gary_poster has a broken clock on Ubuntu :-P15:59
bacha, i beat you and spelled it right!  :)15:59
gary_posterheh15:59
* gary_poster tries restarting Ubuntu after a software update to see if he gets his clock & cal back16:28
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
gary_posterMakyo: fwiw, software update + reboot = clock.  yay!16:31
gary_poster'course, now chrome crashes :-/16:32
hatchprice of using beta software I suppose :(16:36
frankbangary_poster, rick_h_: gui sandbox mode is broken (my putcharm branch introduced an error in the GUI server when here is no API URL). made an urgent card and starting to work on the (easy) fix. this will delay the charm release to tomorrow, is that a problem? (anyway: yay functional tests!)16:37
gary_posterfrankban: :-) no problem IMO16:37
frankbancool16:38
hatchjujugui lf a review and qa https://github.com/juju/juju-gui/pull/105 plz and thanks 16:46
gary_posterhatch, on it16:47
hatchthanks16:48
hatchand now I can do the qa on your branch16:48
hatchjujugui can someone on Ubuntu check if the drag and drop works in Firefox? 17:02
hatchIt's not working in OSX Firefox17:02
frankbanhatch: drag'n'drop of what?17:04
hatchthe charms/bundles17:04
frankbanlocal charms?17:04
hatchsorry17:04
hatchfrom the browser17:04
frankbanhatch: oh, from the sidebar17:04
hatchyeah17:05
gary_posterhatch, qa bad.  I'm using 1.16.5-saucy-amd64 .  I have two problems.  First, e.target.responseText is simply 'badMessage'.  You try to parse that as JSON (line 152 of local-charm-import-helpers) and the JSON parser is unhappy and falls over.  Second, even if that were fixed, the server responds with a status of 405 (Method Not Allowed) not 500 or 599 or anything else.  That second one wuld be solved easily by 17:05
gary_posterreporting an error when the status >= 400, as I suggested already in the review.17:05
hatchgary_poster are you using the ~juju-gui charm? 17:05
gary_posterhatch yes17:05
gary_postertrunk17:05
hatchweird...it returns 500 for me17:05
hatchhmm17:05
frankbanhatch: dragging charms from the jujucharms.com sidebar works for me using ff17:06
hatchok must be OSX only FF17:06
gary_poster:-/17:06
gary_posterhatch do you want any more info from me on the qa?  hangout?17:07
gary_posterwhatever helps17:07
hatchwell no I'm going to have to switch back and deploy a new env and give it another go17:08
gary_posterok17:08
frankbanhatch: I confirm charms drag and drop is broken on OSX Firefox17:09
hatchgary_poster juju-gui-103 is the charm that's deployed?17:09
gary_posterhatch, no, charm trunk--the charm Francesco is releasing now.17:10
hatchhmm I thought that's what I was running...ok tearing down and starting a new env17:11
frankbanhatch: trunk is cs:~juju-gui/precise/juju-gui-15117:12
hatchoh shoot I'm working on frankban's branch17:12
hatch....17:12
hatchWELL THEN!17:13
gary_poster:-)17:13
gary_posterYay QA? :-)17:13
hatchwell it takes considerably longer to be able to test than to actually write the code hah17:13
gary_posterhatch, pretty fast if you use a local charm, a local environment, and a release created via `BRANCH_IS_GOOD=1 make distfile`, as I keep saying17:14
hatchoh right, but I had already spun up another env on 1.17.217:14
hatchbzr may do rebase nicely but man does it not do lightweight checkouts well17:15
* gary_poster lunches17:38
hatchgary_poster I can't get anything other than a 500 :/17:38
hatchjuju status shows juju-gui-104 charm as deployed 17:39
hatchwhich was a fresh trunk checkout17:39
hatchbzr revno is 15917:41
frankbangary_poster: when you have time could you please take a look at https://codereview.appspot.com/57690051 ? no rush and thanks!17:42
Makyohatch, gary_poster re: huw's branch. I rebased and pushed to a branch on my fork.  Want me to use the merge tool (create a PR with my branch, immediately :shipit:) or manually merge huw's branch into develop (will mean having a non-jujugui user in merge history)17:52
Makyo^^^ + anyone else who cares (jujugui)17:57
hatchMakyo I'd probably prefer to use the CI system17:58
bacMakyo: doing the latter will give huw credit.  i'd go that route, even if he isn't in jujugui17:58
bacso, flip a coin!17:58
hatchhaha17:58
Makyobac, I think it'll give me credit, actually, since the push will come from my user.17:59
bacMakyo: then go CI17:59
MakyoThough the rebased commit is in his name.17:59
MakyoOkay.17:59
MakyoBit of email spam coming up, then.  Disregard!17:59
hatchgary_poster here is the output from the guiserver.log file when I try and upload a charm https://gist.github.com/hatched/69720b483da125bf951c does yours look similar but with a 405?18:14
gary_posterhatch, 18:18
gary_poster[W 140204 16:59:11 web:1635] 405 POST /juju-core/charms?series=precise (10.0.3.118:18
gary_poster) 97.51ms18:18
hatchthat's the error you get with an old version of the charm....are you SUUUUUUURE you're not using an old one? :)18:18
gary_posterhatch,18:19
gary_postergary@gud:~/dev/guicharm/trunk$ bzr revno18:19
gary_poster15918:19
hatchwell now I'm right confused18:19
hatchand juju status shows juju-gui-104?18:19
gary_posterand from bzr info:18:19
gary_posterparent branch: bzr+ssh://bazaar.launchpad.net/~juju-gui/charms/precise/juju-gui/trunk/18:19
gary_posterfrom juju status:18:20
gary_postercharm: local:precise/juju-gui-10418:20
hatchso somehow we are running the same code but getting two different responses from the server18:20
hatchhmm18:21
hatch1.16.5-precise-amd6418:21
hatchyup we are running all of the same code18:21
hatchand getting two different results18:21
gary_posterno we are not18:21
gary_poster1.16.5-saucy-amd6418:21
gary_postershould not make a diff18:21
gary_posterbut that's the only one we see so far18:22
hatchsee the issue with your log is that it doesn't show that it's trying to make a request to Juju18:22
hatchif you use an old charm that's the same response18:22
* hatch puts thinking cap on18:22
gary_posterI can redo everything with you on screenshare?18:23
hatchwell it's not like I don't believe you haha18:23
gary_postersure, but maybe I'm forgetting something or you will think of something else to check18:24
gary_posterhatch I have this as first line of my guiserver.log:18:24
gary_poster[I 140204 16:56:51 manage:144] starting Juju GUI server v0.3.018:24
gary_poster0.3.0 old?18:24
hatchyeah we can give it a try18:25
hatchumm checking mine18:25
hatch^[[32m[I 140204 17:34:06 manage:144]^[[0;10m starting Juju GUI server v0.3.018:25
gary_poster:-/18:25
hatchso same18:25
gary_posterhatch did you deploy with make deploy?18:26
hatchI did it the old fashioned way now to make sure it's all good18:27
hatchhttps://plus.google.com/hangouts/_/72cpibkk7s99ntjs8svf322nk4?authuser=1&hl=en18:27
hatch^ gary_poster 18:27
hatchthis doesn't really effect us much but there has been a huge improvement to the loaders resolve speed https://github.com/yui/yui3/pull/160618:50
gary_posterso, startup time?18:51
hatchnah we don't use the loader at all in our client side app18:51
gary_posterah right18:51
hatchthe only thing this could speed up is the resolving of the 'make' step18:51
hatchthe funny thing is that the loader totally breaks the speedy improvements 18:51
hatch:)18:52
gary_posterwhy does it break the speedy improvements?18:52
hatchbecause it rolls everything up into only a few requests whereas with speedy those requests should be determined by the server and it's the servers job to send the data down the available pipes18:53
hatchso instead of only 3 requests, speedy could open 818:53
hatchand actually make it faster18:53
hatchthe issue of course is that someone needs to write a speedy capable yui server18:54
gary_posterah18:54
gary_posterI see18:54
hatchI don't totally understand all of speedy but in theory it should make the web way faster for web sites18:55
hatchgary_poster I totally blew everything away, and I still get a 50019:01
hatch*sigh* haha19:01
gary_posterhatch <shrug> try a saucy vm? :-)19:02
hatchthe issue now is trying to determine what the error message should say19:03
hatchif status == 405 or 500:  19:04
hatchhah19:04
gary_poster>= 400!19:04
gary_posterIMO19:04
hatchright but then I have to put a try catch around the json parse19:04
hatchand I don't like those.....for no reason 19:04
gary_poster:-)19:04
hatchI'm spinning up an instance to qa your branch btw19:05
gary_postercool ty19:05
hatchso far all osx browsers are good, just trying with ie now19:06
gary_postercool19:11
gary_posterbac, juju-gui trying to do comingsoon surgery 19:39
gary_posterin prep for my config change coming down the pike19:39
gary_posterand while I'm at it19:39
bacgary_poster: ok19:39
gary_posterjuju-gui you may want to make clean next time after you `git pull juju develop`19:40
bacgary_poster: the branch we're using is now juju-gui (again)19:40
gary_posterbac you mean /opt/uistage/juju-gui?19:40
bacgary_poster: you may want to get rid of the others since they are no long needed19:40
bacgary_poster: yes19:40
gary_posterok thanks19:40
gary_postergit stash is not working19:40
gary_postergoing to try and be more manual about it19:40
bacgary_poster: really?19:40
gary_posterbac http://pastebin.ubuntu.com/6874821/19:41
bacgary_poster: oh.  is that a by-product of the conflicts?  or i wonder if it hasn't been working for a while19:42
gary_posterah no I think it was a git add?19:42
gary_posteryeagh19:43
gary_posterI just had to `git reset HEAD app/config-prod.js`19:43
gary_posterthat kept the changes but moved them out of staging19:44
gary_posterthen I could stash19:44
bacabentley: do you have management permission on the ~ce-orangesquad/experimental PPA?  if so, could you make elasticsearch-java to build for trusty?19:44
gary_posterpull19:44
gary_posterand pop19:44
gary_poster^^ bac19:44
bacs/to build/build/19:44
bacpull and poop19:44
gary_poster:-)19:45
gary_posterbac, comingsoon surgery complete.  patient apparently in recovery.19:46
bacfor now.  relapse predicted.19:47
gary_postertoo true19:47
bacgary_poster: so did the script change or did you just do it by hand and all is well again?19:47
gary_posterbac, what script, he said nervously?19:48
gary_posterI did it by hand19:48
bacgary_poster: is abentley in SA?19:48
bacgary_poster: uistage/bin/update...19:48
gary_posterI don't think aaron is in SA, no19:48
bacjcsackett: you around?19:49
jcsackettbac: yup.19:49
bacjcsackett: do you have management permission on the ~ce-orangesquad/experimental PPA?  if so, could you make elasticsearch-java build for trusty?19:49
gary_posterbac, did not use script, and I don't think a change is necessary as long as no-one `git add`s the config-prod changes19:50
bacjcsackett: i've been using the saucy PPA on trusty for a while so there is no source change19:50
bacgary_poster: ok, so the next run of cron with the next commit should work19:50
jcsackettbac: i think i have permission. one sec.19:50
gary_posterI believe that to be true19:50
bacgary_poster: i didn't 'git add' the config change if that's what you suspect.19:50
baci just edited out the conflicts19:50
gary_posterbac, no idea, it just...was/19:51
bacperhaps we did the last time it blew up...19:51
abentleybac: Not in SA, just late lunching.20:04
bacabentley: cool.  turns out i'm a member of ce-orange and didn't know it.20:04
abentleybac: Heh.20:05
hatchgary_poster I'm just running the tests for my branch locally again, would you be able to test it on your machine because clearly mine is broken :)20:10
hatchI should have it pushed up in a minute or so20:10
gary_posterhatch heh sure.  Just getting a MP ready and then will be free20:10
hatchMakyo need a review?20:15
Makyohatch, sure, if you're willing!20:16
MakyoForgot QA instructions, will add.20:16
hatchsounds good20:16
hatchgary_poster FYI, i switched from your branch to my branch using the typical git branch... and it broke the yui doc stuff looking for the fonts - I had to make clean to fix20:17
MakyoBoo test failure.20:17
MakyoLooking.20:17
gary_postersorry hatch, yeah20:18
rick_h_gary_poster: so I'll try to catch frankban, but saw his message on the charm. Looks like the dmeo is Thurs and not Friday so if we cant' get the charm up tomorrow it'll be helpful to know. 20:19
rick_h_but should be ok if the release is tomorrow20:19
gary_posterrick_h_: cool.  If you are using your computer then you can use the local charm and we can instructions for that either way20:20
hatchgary_poster ok branch updated https://github.com/juju/juju-gui/pull/105 whenever you're available20:20
gary_postercool hatch will be there soon20:20
rick_h_gary_poster: rgr, yea. I'll have the env pre-setup. 20:21
MakyoUnrelated, checking if merging trunk helps.20:23
rick_h_Makyo: hmm, the first failure is  from your recent relatoins stuff though?20:25
Makyorick_h_, yeah, though I don't get it locally.20:25
gary_postersmall Python charm review request (bac, benji, Makyo?): https://codereview.appspot.com/60130043 .  review should be very easy, & QA slightly more annoying but hopefully not too bad.20:26
bacgary_poster: sure20:27
gary_posterthank you bac20:27
rick_h_Makyo: oh hmm, looking at the full log it seems like something went boom20:28
rick_h_Error loading resource http://0.0.0.0:8888/path/to/charm/[object Object] (203). 20:28
Makyorick_h_, Oh!  Didn't see the link at the top.20:28
bacgary_poster: i love how we have all three spellings: cachedFonts, cached-fonts, and cached_fonts.20:29
gary_posterbac, I know :-/20:29
gary_postertraveling between worlds20:29
hatchI especially like the Go API responses in js that are capitalized which we then rename to be camelCased :)20:36
gary_poster:-)20:36
hatchgary_poster I read your description with your charm branch as "...verify in your browser's interceptor network tab..."20:37
hatchI read it three time and was like wtf that doesn't make any sense20:37
hatchhaha20:37
gary_posterhatch: lol20:38
gary_posterhatch fwiw started qa 5 or 10 minutes ago.  will try both 1.16 and trunk20:39
hatchgreat thanks20:39
* hatch crosses fingers20:39
gary_posterhatch, looking good on 1.16.5.  Switching to 1.17.320:41
hatchgary_poster have you seen any additional correspondence from UI about the 'select a series' dialogue? I remember in the discussion they liked the inspector idea but I haven't seen any mockups20:42
hatchyussss20:42
rick_h_hatch: I think the idea is cool for now. It sounds like there will be changes to have the series in the charm and the environment will eventually go to an empty value for default series20:42
rick_h_hatch: but that'll be down the road. 20:42
rick_h_hatch: I can verify with UX tomorrow, but I don't think there's a lot to it to pop up the inspector with the dialog/selection20:43
hatchoh so juju needs to extract the charm before it even knows what instance to spin up? interesting...20:43
rick_h_hatch: yea, I was talking with Mark R about it toinght20:44
hatchI like that you don't need the crazy folder structure then20:44
gary_posterhatch, no, I haven't.  If you think it would be pretty easy, and Rick confirms the general approach, then I'd suggest making a stab at it and hoping they give small feedback.  Yes to everythin rick is saying...20:44
rick_h_hatch: the first stab at an idea is to unzip in the guiserver perhaps (or use a zip lib)20:44
rick_h_hatch: but we've got some time to talk on it. Still only Tues :)20:44
hatchhaha, I'm just trying to decide what to do next....fakebackend, drag and drop of folder or series selector...20:45
* hatch flips three sided coin20:45
rick_h_I'd think series selector is first in getting it ready to go? folder is bonus?20:46
gary_poster+120:46
rick_h_but party party20:46
gary_posterif we think that the approach has general UX buy in20:46
gary_posterwhich I do20:46
hatchyeah my thoughts as well20:46
rick_h_yay we all agree! that means it's time for bed20:47
* rick_h_ runs away20:47
hatchhah20:48
gary_posterhatch QA good!  Blessed the PR20:51
hatchYUSSSSSS20:51
* hatch merges before it changes it's mind20:52
gary_poster:-)20:52
bacgary_poster: i'm trying to do your QA and use the distfile trick.  i get http://paste.ubuntu.com/6875204/20:54
bacgary_poster: do i need BRANCH_IS_GOOD?20:54
bacs/D/D=1/20:54
gary_posterbac, yup20:54
gary_postersorry if I forgot that part20:54
bacgary_poster: cool20:54
bacgary_poster: i'm having troubles doing QA.  lxc issues.  take 3.21:11
gary_posterack bac, and thank you.  I know this is past EoD21:12
gary_posterif you need to pass it to someone else I understand21:12
bacagent-state-info: '(error: symlink /var/lib/lxc/bac-local-machine-1/config /etc/lxc/auto/bac-local-machine-1.conf:21:13
bac      file exists)'21:13
gary_posterah that looks familiar21:14
gary_posterI had to lxc-destroy and do various other purging bits21:14
bacyeah, lxc should be smarter.  "the link i'm about to make already exists exactly like i want.  panic!"21:17
hatchhttps://github.com/juju/juju-gui/commits/develop this is a little confusing, it shows the individual commits and the merge commit and they aren't always in order either21:17
bacgary_poster: worked fine!21:26
gary_posterawesome, thanks bac!21:26
gary_posterHey Makyo, did you send email to Huw?21:30
gary_posterqueue is not FIFO. :-/  https://launchpad.net/ubuntu/trusty/+queue21:32
Makyogary_poster, working on it now.21:34
gary_postercool thanks Makyo21:34
hatchMakyo let me know when your branch passes CI and then I can review/qa21:38
Makyohatch, failed again, need to finish email first.21:38
hatchyeah np21:41
huwshimiMorning22:04
hatchgooooood morning huwshimi 22:10
hatchMakyo rebased and landed your branch22:10
MakyoWhat?22:11
MakyoOh, to huwshimi sorry.22:11
huwshimihatch: Yeah, I realised I hadn't ever done that process for us and was going to get you to walk me through it. That stuff is missing from our docs.22:13
hatch:)22:13
huwshimiI mean, it's kinda there, but doesn't really explain it for a noob22:13
hatchohh ok yeah in that case, good thing you didn't go all cowboy, it's one of those hulk smash sort of things :)22:13
hatchnext branch I, or someone else, can give you a run through of it22:14
huwshimihatch: Thanks!22:15
gary_posterhuwshimi: dirty secret: the rebase can get pretty nasty IMO, or at least I don't know how to do it well either :-)22:17
* gary_poster running22:17
gary_posterhave a nice rest of day everyone!22:17
=== gary_poster is now known as gary_poster|away
hatchctrl+1 has to be one of the most awkward key combinations 22:38
hatchunfortunately the viewletManager has had the databinding engine become part of it23:05
hatch:/23:05

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