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

Makyojujugui PR on loading relation indicator images https://github.com/juju/juju-gui/pull/218 (testing CI, too, tests fail on Air, can fix on ubuntu if they fail CI)02:02
Makyos/tests fail/console tests fail02:02
MakyoNo luck, will check in the AM03:32
=== rogpeppe3 is now known as rogpeppe
rick_h_frankban: morning11:12
frankbanhi rick_h_ 11:12
rick_h_frankban: heads up, I talked to wallyworld last night and he says he's tested the joyent provider in trunk (and it's backported to the 1.18 tree) so hopefully that'll work 11:13
rick_h_frankban: and thanks for replying to his email on the megawatcher updates. Can you create cards in the backlog for us to update where we watch for those ip address changes?11:13
frankbanrick_h_: yes I'll do. https://165.225.150.74/ is the GUI deployed on joyent \o/ 11:14
frankbanrick_h_: there is still  bug #1300846 which affects the quickstart implementation. I'll check if it gets fixed for 1.1811:15
_mup_Bug #1300846: Juju crashes bootstrapping joyent <bootstrap> <joyent-provider> <juju-core:In Progress by jameinel> <juju-core 1.18:In Progress by jameinel> <https://launchpad.net/bugs/1300846>11:15
* frankban lunches11:15
rick_h_frankban: awesome, I just saw a branch from him around the provider and wallyworld admitted it needed a "couple of tweaks to be perfect" 11:16
rick_h_so not  https://codereview.appspot.com/83540043/11:17
rick_h_sorry, so looks like it's in progress and should land somewhere soon hopefully11:17
rick_h_frankban: very cool to have another provider working woot thanks for keeping up on that. 11:17
* rick_h_ runs to take the boy to day care back in a few11:18
=== rogpeppe2 is now known as rogpeppe
rick_h_back11:45
frankbanMakyo: mroning, do you have time today for reviewing https://github.com/juju/juju-gui/pull/215 ? thanks12:30
frankbanmorning even12:30
rick_h_frankban: think he's still a couple hours away12:32
rick_h_frankban: I'll be relocating shortly when the cleaners get here but can start going through it if you need a second review12:32
frankbanrick_h_: there is no rush, it was more like a message from the past, thank you12:34
rick_h_lol echo echo12:34
frankban:-)  rick_h_: I created the two cards in backlog/deck12:37
rick_h_frankban: thank you much12:37
frankbanrick_h_: thanks for the review. re comments: good suggestion12:54
rick_h_frankban: thanks for the update :)13:10
hatchmorning13:44
rick_h_morn13:44
rick_h_hatch__: https://plus.google.com/hangouts/_/canonical.com/go-over when you get a sec14:00
kadams54Are there any Handlebars helpers in the codebase to handle displaying ModelLists (or even ArrayLists)?14:24
hatch__rick_h_ thanks for the review - ugly I know *hangs head*14:25
hatch__it'll get better!14:25
hatch__kadams54 negative, it's always been to specific14:25
hatch__domain specific*14:25
kadams54Like {{#each}} but using object.each() to iterate rather than a for loop14:25
rick_h_hatch__: yea, just want to make sure we know things are broken and note them to make sure we get them all fixed14:25
hatch__kadams54 we usually convert it to an array/object then use the native handlebar helpers for looping14:26
=== hatch__ is now known as hatch
rick_h_kadams54: yea, often we have, in the view, a prepForTemplate() or something14:26
rick_h_kadams54: that builds a handlebars friendly data structure 14:26
kadams54Hmm. Would be nice if ArrayList had a function to spit out a plain list14:26
rick_h_kadams54: well you can map based on Y.Array.each14:28
rick_h_kadams54: but yea14:28
rick_h_kadams54: http://yuilibrary.com/yui/docs/api/classes/Array.html maybe? I don't recall14:28
hatchkadams54 typeof myArrayList._items === 'array'14:29
kadams54Yeah, but accessing private members es no bueno.14:29
rick_h_yea, frowed upon. It'll be a smallish list14:29
rick_h_you're safe looping it out into a new strcuture14:29
rick_h_kadams54: as you'll probably want to turn the models into objects and such anyway14:29
rick_h_tweak things in process14:30
kadams54Thinking about similar situations in python where there's usually a method on the iterator to have it spit out a list object14:30
hatchthe _items property will -never- change, it's a YUI convention14:30
rick_h_kadams54: yea, I'd just add a prepForTemplate() handler14:30
hatchit's ok to access it14:30
hatchI promise :)14:30
kadams54rick_h_: will do14:30
hatchgrep _items in our codebase you'll se we use it already14:31
bacjujugui: charmworld review please  https://codereview.appspot.com/8362004314:33
rick_h_kadams54: http://yuilibrary.com/yui/docs/api/files/app_js_model-list.js.html#l88814:33
kadams54Nice14:34
rick_h_http://yuilibrary.com/yui/docs/api/classes/ModelList.html#method_toArray for the prettier view14:34
rick_h_bac: can look in a bit14:34
bacrick_h_: thanks14:35
* rick_h_ heads back to the house from the coffee shop14:38
rick_h_jujugui call in 10 please kanban14:50
rick_h_hatch: looking at your commment14:52
rick_h_hatch: the code reads that this.environmentHeader is gone14:52
rick_h_hatch: replaced by var header14:52
rick_h_oh, it's added back in line 5714:52
rick_h_hatch: any reason for the change/indirection?14:53
hatchminification14:53
hatch:)14:53
rick_h_jujugui call in 115:00
jcastrorick_h_, hey what's the tldr on showing colocated services in the gui?15:01
jcastroI feel like for 14.04 we should have a owncloud all-in-one bundle15:01
rick_h_jcastro: http://comingsoon.jujucharms.com/:flags:/il/mv/ in progress see you in vegas15:02
jcastrowhoa! that looks nice!15:02
frankbanrick_h_: one thing we missed: the 1.18 change which no longer includes the unit public address in the mega-watcher breaks quickstart :-/15:27
rick_h_frankban: ok, well that'll have to be the reason to force an upload update for quickstart15:28
frankbanrick_h_: quickstart uses the watcher to retrieve the GUI address15:28
frankbanrick_h_: also, without the change to the MachineInfo I mentioned in the email, there is no way currently for quickstart to get the unit address when using the local env15:29
frankbanrick_h_: so 1) make the change in core and 2) update quickstart15:29
frankbanrick_h_: 2) is tricky because we will need to support both new and old behavior15:29
frankbanrick_h_: I suspect we should escalate those bugs15:30
rick_h_frankban: +115:30
frankbanrick_h_: and the core fix should be included in 1.18, otherwise we have a limbo in which there is no way to get containers' addresses for API clients15:32
frankbanrick_h_: what's the timing for 1.18?15:32
rick_h_frankban: it's moved so much I'm not even sure any more15:32
frankbanheh15:32
rick_h_frankban: let's talk to sinzui and get that marked as a blocker for 1.18 15:32
rick_h_and then we can get that going asap15:33
frankban+115:33
hatchMakyo just ran it again and it still failed locally15:55
hatchI'm baffled 15:55
rick_h_hatch: bisect? does it work on older code?15:55
rick_h_go back a week and make clean-all15:56
rick_h_there could be a real bug, better to catch it now while bisect path is short15:56
hatchyeah going on that now15:56
hatchI had a conflict i had to resolve15:56
rick_h_other thing is a fresh checkout and see if there's something else that's off15:57
hatchI ran into a very odd chrome bug debugging those routes yesterday - it would cache the previous url even though the path didn't have /inspector for example15:58
hatchthe solution was to open a new tab15:58
hatchnananananananana bisect man bisect man16:01
hatchhmm nope even old versions are broken16:06
hatchnew repo time16:06
hatchwow our git repository is getting large16:10
hatch90MB or so16:10
rick_h_sorry bac getting back to your review16:13
rick_h_everyone seems to think today is monday and wants to break stuff :)16:13
hatchhaha16:14
hatcheven a new fresh checkout doesn't fix it :/16:14
hatchwth16:14
rick_h_hatch: then your machine is broken, time to buy a new one :P16:14
hatchmine AND Makyo's?16:15
hatchc'mon!16:15
MakyoHahaha16:15
Makyohatch, you working in vagrant?16:15
hatchyeah16:15
MakyoThat's the common factor, I think.16:15
hatchyeah but what changed? It worked two days ago16:15
Makyod3 upgrade involved regenerating npm-shrinkwrap, maybe that?16:16
hatchohh16:16
hatchlemme check out before that16:16
MakyoIt should still snag the same version - none of the versions changed - but maybe something's going on with that.16:16
hatchok trying a pre-D3 branch16:17
hatchmaybe we need to update to the latest phantom binary16:17
hatchanywho I'll keep you posted16:18
Makyohatch, you'll have to make clean clean-all etc.  Sorry. I'll do the same to check it out.16:18
hatchyep it's npming now16:19
hatchugh I long for the day there is an npm rollup16:19
hatchMakyo nope still crashed16:20
hatch:/16:20
hatchExceptionHandler::GenerateDump waitpid failed:No child processes16:20
MakyoBoo!16:20
MakyoYep, same thing here.16:20
MakyoWhat would it take to get test-debug/prod to run locally?16:21
hatchit does?16:22
MakyoI haven't tried yet, I've been getting that in the vagrant.16:23
hatchwhat do you mean to run locally?16:23
MakyoIn osx term16:23
hatchohh it can't the way we are running it16:24
MakyoOkay. Hmm.16:24
MakyoWonder if it's a saucy thing.  Let me see what happens if I go back to Raring.16:24
hatchhttps://github.com/juju/juju-gui/blob/develop/test-server.sh16:24
rick_h_frankban: sorry, one more call. Just talked with james/robie16:27
frankbanrick_h_: same url?16:27
rick_h_frankban: https://plus.google.com/hangouts/_/7ecpjnf6uun25l4dh5sus8edhg?hl=en16:27
hatchMakyo I'm updating phantom and mocha-phantom 16:29
* hatch crosses fingers16:29
Makyohatch, okay.  I'm ducking back to Raring real quick, will compare notes.16:29
Makyojujugui need qa on https://github.com/juju/juju-gui/pull/218 real quick.  Fast one.16:31
rick_h_frankban: http://paste.ubuntu.com/7194939/ is the other package they've got that is a lot like this16:31
hatchugh I just wish I could run Ubuntu on metal16:32
hatchsomeone fix the kernel16:32
rick_h_frankban: they make --no-adjust-repos the default in the distro package16:32
hatchMakyo new versions didn't help...16:33
hatchalthough now it's just crashing without any error16:33
frankbanrick_h_: sound good, so --distro-only and --ppa? 16:33
Makyohatch, improvement!16:33
MakyoWell, okay.  Not really.16:33
hatchlol16:33
rick_h_frankban: sounds good to me16:33
hatchI wonder if we are runnign too many tests and it's overloading something16:34
hatchtoo much domness or something16:34
hatchthere are 1040 issues....16:34
hatchyikes16:34
MakyoYeah.  Curious if it's an NFS problem.16:34
MakyoWill check raring, almost done provisioning.16:34
hatchcool - wasn't there a reason why we upgraded though?16:34
frankbanrick_h_: cool, both == --ppa, none == --ppa16:35
MakyoDon't believe it worked for bac?  Something.16:35
Makyohatch, if the downgrade works, though, we can rule out NFS.16:35
hatchyeah it's just very odd that it just happened16:36
rick_h_frankban: sounds good to me16:36
Makyoand keep nfs on raring, maybe trusty16:36
MakyoYEah.16:36
hatchwith no changes...16:36
Makyohatch, other than added tests, like you said.16:36
hatchyeah but rolling back to an old version didn't make it pass16:36
rick_h_hatch: when you rolled back you make clean-all?16:36
hatchyou bet16:36
rick_h_hatch: so that you got the old node/d3 deps?16:36
rick_h_cool, just checking16:36
hatchI even tried a fresh new repo16:37
hatchhttps://github.com/ariya/phantomjs/issues/1170616:38
hatch^ hmm16:38
Makyohatch, I juist think it might be a system dependency,  not a node dependency.16:39
MakyoOh, hmm.16:40
hatchworks now?16:40
MakyoOh, no, you're GH issue16:40
hatchahh yeah...16:41
Makyohatch, try modifying the phantomjs command to output more?  --debug=true I think16:42
hatchhmm not according to it's docs16:44
hatchbut I can try16:44
hatchoh --setting debug=true16:45
hatchok trying that16:45
Makyohatch, okay, sorry.  Was going off the global install on my linux box.16:46
hatchwell because we use mocha-phantomjs to run the tests16:46
MakyoOh, right, hah.16:48
hatchstill no output16:48
hatchugh16:48
MakyoGah16:48
hatchrick_h_ I don't think this is a valid route /inspector/apache2/service16:54
hatch /inspector/apache2 would show the details by default16:55
hatchand /inspector/apache2#tabName would show the appropriate tab16:55
hatchunless 'service details' means something else?16:55
hatchoh s/service/charm16:56
hatchmakes sense16:56
rick_h_hatch: rgr17:04
rick_h_hatch: oh wait, so that was the url to have service details shown from the inspector17:04
rick_h_so /inspector/apache2 is inspector17:04
rick_h_and /service on it means details of that service popout17:04
rick_h_hatch: welcome suggestions 17:04
hatchisn't that the charm details? what are the service details?17:05
rick_h_hatch: from the inspector you click the link and the details pops out to the left17:05
rick_h_that's not quite charm details, it's different data?17:05
hatchI was pretty sure it was the exact same thing17:05
rick_h_well the data comes froma  different place17:05
rick_h_service data vs browser model data17:06
rick_h_tabs are different etc17:06
hatchhmm17:06
hatchlemme mull it over17:06
rick_h_k17:06
hatchbut ok I understand now17:06
hatchthx17:06
Makyohatch, charm version differences are taken into account there.17:10
MakyoStore will always show you the latest version.17:10
hatchyeah right but to me /inspector/apache2/charm means the charm details for that service17:11
MakyoOh, sorry.  Don't have the doc in front of me.17:12
hatchwhere /inspector/apache2/service doesn't really say anything about the service, it's talking about the charm17:12
MakyoTrying to debug CI failure.17:12
hatchI'm mulling....I'm mulling!17:12
MakyoMmm, mulled wine17:12
rick_h_hatch: it's the information in the service. It's readme/etc17:13
rick_h_hatch: it's more of a comparison to charm details (browser) service details (/service) unit details (/unit/4)17:14
rick_h_those are the 3 versions/distinctions17:14
hatchI just think that /inspector/apache2 IS the service and we are showing the charm details used to create that service17:17
Makyohatch, on a more interesting note, tests work in raring.17:18
Makyos/interesting/positive17:18
MakyoDidn't mean to imply, sorry.17:18
hatchhmm so everything works on raring?17:18
MakyoThat was test-debug, let me do test-prod17:19
rick_h_hatch: we've just got to port what already exists. Something has to say "this inspector is open on X" and something else needs to say "inspector is open on this with the details open"17:19
hatchyep for sure17:20
hatcharm the charm details don't have any url17:20
hatchit just minimizes the sidebar17:20
hatchjust fyi17:20
rick_h_huh?17:20
rick_h_/precise/mysql-10 is a charm details url. 17:21
rick_h_plus /sidebar/precise/mysql-10, and /sidebar/search/precise/mysql-10?text=mysql17:21
hatchnot when you click it from the inspector17:21
hatchit minimizes the browser and opens the left panel17:21
hatchwithout a url change17:21
rick_h_right, that's what we do now17:21
rick_h_which is why we're inventing a new url17:21
rick_h_there's not space to show the sidebar + inspeector + details. In the new world we'll show inspector + details17:22
hatchright17:22
rick_h_hatch: so what's the issue/argument point here? 17:22
rick_h_you don't like the word service and prefer the word charm?17:22
bachey rick_h_, regarding an XXX bug for removing the deprecated field, we could do that, but it is kind of out of our hands.  i don't see it happening before the death of charmworld.17:22
rick_h_bac: k, nvm then17:23
hatchrick_h_ yeah - /service seems weird17:23
rick_h_hatch: ok, then happy to entertain a better word17:24
rick_h_details was ditched because there's two types of details off the inspector. I didn't pick charm because things would get called charmDetails and such and it's an overloaded term already. 17:26
rick_h_you're right that technically the inspector is the details of the service17:26
rick_h_so service isn't great either17:26
hatchyeah....hmm17:27
hatch__hmm apparently freenode didn't like it either lol17:31
=== hatch__ is now known as hatch
Makyohatch, test-prod fails with the same error :(17:38
hatchugh17:38
hatchwhat in the heck is going on17:38
MakyoNo clue :(17:40
MakyoWill keep poking.17:40
MakyoMeanwhile, think I figured out CI problems, created discussion card for what I found.17:40
hatchugh devops issues infuriate me17:42
MakyoAlso meanwhile, if chiptunes are your thing, the ChipWIN April Fools album is actually pretty good, despite being mostly jokes. http://chiptuneswin.com/album/chiptunes-srsbsns17:42
hatchI've tried to do the chiptune thing17:43
hatchcan't quite get into it17:43
MakyoHaha, that's fair :)17:44
MakyoTook me a bit to get past the fact that it's not mixed down to the wall-of-sound that we've come to expect from music these days.  Motown popularized that  years ago, and it's just gotten more and more extreme since.17:45
* Makyo rambles.17:47
MakyoAGH I hate not having .lbox.check17:49
MakyoSorry for the spam.17:49
rick_h_Makyo: a pre-commit or pre-push hook added to the docs would be cool :)17:50
Makyorick_h_, Alright, will investigate over lunch!17:53
hatchyeah pre-push hook would be awesome17:56
hatchalthough also somewhat irritating17:56
hatchbecause you could never push incomplete code17:56
hatchheh17:56
hatchgit pushncheck17:57
hatch:)17:57
hatchso it's an alias maybe17:57
Makyohatch, there's apparently a --no-verify option17:57
hatchoh interesting17:57
MakyoAt least, to pre-commit hooks, reading up on pre-push17:57
hatchohhhh rick_h_  you changed our 1:1 ok lunching now17:58
hatch:)17:58
hatchbbiab17:58
rick_h_hatch: changed it? /me thought it was always here. 17:58
rick_h_hatch: oh, this is the time change in effect maybe?17:58
rick_h_it's still 2pm for me17:58
hatchoh it says it was just changed17:59
hatchodd...ok whichever I thought it was right now17:59
hatchI'm hungry anyways17:59
hatch:D17:59
rick_h_it is right now17:59
rick_h_I'm in there, huh?17:59
hatchweird17:59
hatchok joining17:59
frankbanrick_h_: I have to go, I have a possible prototype to fix the issue, see http://pastebin.ubuntu.com/7195287/ (lp:~frankban/juju-core/machine-addresses). There might be still something to fix, you can take a look at the discussion in #juju-dev. Please feel free to email me if you get additional info. I'll check tomorrow morning if I can do something. Have a nice evening!18:27
rick_h_frankban: thanks so much, have fun!18:28
MakyoGot an email of someone trying to recruit me through a dating app.  Unfortunately, the recruitment company has debug mode on, and so now I have their DB server password.  Classy.19:18
MakyoWonder if it's some ridiculous CTF.19:19
rick_h_lmao19:22
MakyoLooks like it made it to HN, now their cache is failing.19:25
MakyoAaaand now it's just blank.  That was fast.19:26
hatchMakyo what were they recruiting you for?...19:28
hatch:P19:28
MakyoNever did find out.  Their redirect thing is what threw the debug error.19:28
MakyoIt was a click-tracking thing on the recruiter's site.19:29
hatchohh haha19:29
hatchthe other day I was recruited for a mechanical engineering position19:29
hatchI think they read the 'software engineer' and was like....."close enough"19:30
hatchlol19:30
rick_h_kadams54: hey, meant to stab you and let you know today is you QA day19:38
rick_h_and welcome back to the interwebs :)19:39
kadams54Yeah, I realized that around 1 today :-)19:39
rick_h_I'll need the pokey stick back for bac tomorrow19:39
bacrick_h_: er?19:40
hatchlol19:40
hatchstabby stabby19:40
bacoh, to do QA?19:40
bacyeah, good luck with that19:40
rick_h_bac: friday chat was that we want to bring back the QA day. I'll use a pokey stick to help remind folks 19:40
baci *always* forget19:40
bacok, i'll try to remember19:41
rick_h_thus the pokey stick, I've got to remember before EOD tomorrow unlike today19:41
kadams54So… what's the best way to do this QA?19:41
kadams54comingsoon.jujucharms.com?19:42
rick_h_kadams54: works for me19:42
kadams54Production?19:42
rick_h_or do a live environemtn19:42
rick_h_test out your lxc or ec2 setup19:42
kadams54Oh yeah19:42
kadams54I was going to get EC2 setup19:42
rick_h_the goal is to test all kinds of things, whateer your fancy is and try to find a bug19:42
hatchyeah - do odd interactions too19:42
rick_h_try your non default browser of choice, non default env of choice19:42
rick_h_preted you think like hatch 19:42
rick_h_pretend19:42
hatchlol19:43
hatchenter my mind.....19:43
rick_h_break outside the mold a bit and try to make sure things still work as expected19:43
hatchkadams54 my mind http://upload.wikimedia.org/wikipedia/en/thumb/a/a3/Escher's_Relativity.jpg/300px-Escher's_Relativity.jpg19:43
kadams54:-)19:44
rick_h_hatch: that pic doesn't have enough promises in it :P19:45
hatchlol19:45
Makyokadams54, actually, if you're doing QA stuff, think you could do a quick check on my PR?19:46
kadams54Sure19:46
Makyo21819:46
Makyohttps://github.com/juju/juju-gui/pull/21819:46
MakyoSorry19:46
kadams54Question: how intelligent should bundles be? That is, if I deploy the hadoop:cluster bundle and then attempt to deploy mediawiki:single after, is it fair to expect the mysql service in mediawiki to be renamed?19:48
hatchkadams54 nope19:48
hatchit'll fail19:48
hatchthere will be a bundle configuration step at some point19:48
kadams54Yeah, I know it fails19:49
kadams54That just seems sorta unfair to me as the user though :-)19:49
kadams54Especially in complex environments19:49
rick_h_kadams54: because you might want to share that service19:50
rick_h_so let's say you have a beefy mysql server19:50
rick_h_and want to share it across wordpress and mediawiki bundles19:51
rick_h_kadams54: so it's a valid question, but we don't have the abliity to handle it right now19:51
rick_h_so we error19:51
kadams54Except you can't deploy the bundle19:51
kadams54Yeah19:51
rick_h_right, and you can't from the cli19:51
kadams54OK19:51
kadams54If the CLI can't do it :-)19:51
rick_h_if you've got scripts that rely on that service name (juju log mysql/0)19:51
rick_h_it'll break if you rename it automatically19:51
rick_h_renaming is a bad thing in some cases19:51
kadams54Not the existing service19:52
kadams54The new service19:52
rick_h_well a bundle is a repeatable deployment19:52
rick_h_so in one cloud it's named X and Y in another?19:52
rick_h_if you've got benchmark tools to automate testing you can't use it now19:52
kadams54You just need to use a deterministic renaming algo19:53
rick_h_it's all imaginary for sure19:53
kadams54mysql-1 in both clouds19:53
kadams54bam19:53
rick_h_well then you're fine if you call it that in your bundle19:53
rick_h_just don't use the default service names in your bundle and you're fine :)19:53
kadams54Now you sound like a Java guy19:53
rick_h_railsmysql, railsapp, railsmemcache :)19:53
kadams54"Explicitly configure everything and you'll be fine!"19:54
rick_h_just playing devils advocate 19:54
kadams54;-)19:54
rick_h_it's something we'll deal with as bundes mature I think19:54
hatchstacks ahoy!19:54
rick_h_crazy to think they're still young little things. 19:54
rick_h_this is the first ubuntu release with them in there19:54
kadams54Someday they'll grow up and leave the nest *sniff*19:54
hatchand we'll be ecstatic to have an empty house19:56
=== BradCrittenden is now known as bac
Makyojujugui docs change, but would appreciate someone checking my work: https://github.com/juju/juju-gui/pull/22020:11
hatchrick_h_ routeDefault calls a jujucharms() view who actually only renders 'hello world' to the dom....was this supposed to be removed some time ago? 20:11
hatchthe XXX is from jcsackett  July 201320:12
rick_h_hatch: yea, there's a bug for it still I think20:12
hatchhmm20:12
jcsacketthatch: that was a long time ago, i think it was when we had a demo mode on top of the fullscreen mode etc etc.20:12
jcsacketthatch: given even fullscreen is dead (right?) you can rip out any of that stuff you find.20:12
rick_h_bah, thought there was one20:12
hatchyeah I vaguely remember something about that20:13
hatchjcsackett yep it's gone20:13
rick_h_now I can't find, I'll have to look later sorry20:13
hatchok np I'll remove it20:13
hatchif you find the bug plz assing to me20:13
hatchassign even20:13
rick_h_ok, I'm out all. Have a good night!20:15
hatchenjoy20:15
hatchMakyo looking at your branch20:17
hatchMakyo review done20:24
hatchsorry I kind of tore it apart...but in a good way :D20:24
kadams54ALso just finished review on 21820:24
Makyohatch, re: the NO_VERIFY env var: this is specific to pre-push.  Pre-commit uses the --no-verify option.  We could leave it in, but it won't do anything.  Want to keep it?20:25
MakyoIt's not slowing anything down, just extra stuff.  No harm in leaving it.20:25
hatchMakyo maybe we drop the --no-verify entirely and only use the env var so that it's the same across both check and lint?20:25
Makyohatch, it's not by check or lint, is by hook type.20:26
hatchright20:26
Makyogit commit --no-verify or NO_VERIFY git push20:26
MakyoEtc.20:26
MakyoSure.20:26
hatchNO_VERIFY=1 git commit 20:26
hatchNO_VERIFY=1 git push20:26
MakyoSure.20:26
hatchI'm just going for easiest to understand for new gitters20:26
MakyoSure.20:26
hatchfeel free to disagree :) 20:27
bacrick_h_: would you remove benji from the short list of assignees in kanban?  i get sad everytime i see his name.20:28
* hatch hands bac a tissue20:28
Makyohatch, no, you're right,t hat's what hacking.rst is for20:29
Makyohatch, can I bother you real quick to check again and see if that's along the lines of what you were thinking20:30
hatchsure20:30
hatchlooking20:30
bacjujugui: would some bored soul please review https://codereview.appspot.com/83270048 ?  it is trivial.  only question is warning vs error.20:30
hatchMakyo :+1: thanks20:31
hatchI just deleted 200 lines of browser routing code and it still mostly works.....20:31
hatchwow fullscreen required a lot of cruft20:32
hatchbac on it20:32
* hatch isn't bored though20:32
hatchI love that python can deconstruct vars....I wish js could do that (coming in ES6? 7?) 20:33
MakyoPssst.20:33
MakyoCoffeescript can~20:33
kadams54Eh?20:33
hatchMakyo lol 20:33
hatchno it just hides it20:34
MakyoI kid, I kid.20:34
hatchbac reviewed...plz see comment20:36
hatchMakyo they are bringing arrow fn's to js in ES7 I think....20:36
hatchit makes me sad20:36
bachatch: i just included QA instructions on the RV20:36
hatchbac ok, before I qa let me know what you think of that comment20:40
rick_h_bac: updated20:41
bachatch: i'm of two minds about your request.  i chose to do the easy thing because i think the intent is provide a simple check for people that forgot to remove the juju-gui from their bundle.20:41
bachatch: but it is easy enough to fail on either a service named 'juju-gui' or a charm url that has 'juju-gui' in it20:42
hatchhmm20:43
hatchare there any charms which could have juju-gui in them besides the actual gui?20:43
rick_h_bac: I'd think we can get away with a warning. Because technically they can have a bundle with the gui, but it'll fail quickstart/dragging/dropping int he gui20:43
hatchI think the potential false negative/positive is much less checking the charm20:44
rick_h_bac: but will work for deployer/automated builds20:44
rick_h_bac: and we only case about what 'will not work' which is colliding names20:44
rick_h_bac: so if someone wants two guis, maybe different config/etc then more power to them20:44
rick_h_imo 20:44
rick_h_the goal if the work is to stop people from doing something sane (taking their env and exporting it) and having it fail to deploy 20:44
bacrick_h_: but if it is just a warning then it'll get ingested into charmworld and be presented in the juju-gui sidebar and then not be deployable20:45
bacso we'll have stuff over there that fails when you drag it in20:45
rick_h_bac: ah true. Ok, yea, so guess it's an error20:46
rick_h_so you can use a bundle of your own with it20:46
rick_h_but not have it get ingested20:46
rick_h_bac: sounds good to me20:46
hatchrick_h_ mind weighing in on the "check service name or charm name" discussion?20:46
hatchyou can be the tie breaker20:46
hatch:)20:46
hatchno pressure20:46
rick_h_we just need to check service name20:46
rick_h_it's the only thing not allowed20:46
rick_h_and the only thing that's causing users to hit errors20:46
hatchok that's valid20:47
rick_h_there's nothing wrong with two guis like I said20:47
hatchbac lgtm'd20:48
bachatch, rick_h_: in light of that i'll change the message to20:48
bacBundles may not services named "juju-gui".20:48
hatchgood call20:48
bacbut i'll make it make sense20:48
hatch+120:48
hatchrofl20:48
hatchHOW IS BABBY FORMED20:48
hatch^ still the best thing on the internet20:49
rick_h_bac: thanks. We've done users a disservice with this so far so definitely good to help get them on the right track. 20:49
bachatch: are you going to QA?20:51
bachatch: sorry it is a pain.20:51
bachatch: i'm proposing that charm-tools patch next to make it less painful going forward20:52
hatchbac sorry I don't have charmworld 20:53
bacrick_h_: yeah, too bad we didn't pay a little more attention to the export process.  it became integral really fast and a few mistteps really bit us.20:53
hatchI wouldn't even know where to start 20:53
bachatch: no biggie20:53
hatchmaybe someone who already has charmworld up and running20:53
bachatch: we can just let it land on staging and then qa from there.  i've proven it works on my machine.20:54
hatchsure20:54
hatchrick_h_ /precise/mysql and /bundle/... are really doing the same thing....is there a reason why they are handled separately? 20:54
hatchone is rendered in sidebar and one is rendered in routedirectcharmid20:55
Makyojujugui anyone know what this is about? http://ci.jujugui.org:8080/job/juju-gui-merge/221/console This is on merging a docs only branch, has this changed otherwise?20:59
hatchhmm21:00
hatchI'd re-run21:00
hatchI have seen it before and I think I just re-ran21:01
rick_h_hatch: because they're different views, bundles, and url parts?21:03
rick_h_hatch: e.g. bundle/mysql/scalable bundle/mysql/4/scalable 21:03
rick_h_/precise/mysql is just the mysql charm with the latest revision21:03
hatchyeah, lots of duplication of functionality across the two21:03
rick_h_hatch: right, but they share a common View base, entityBase21:04
rick_h_and so it's shared a bit, but the url matching/state is different. But this is what I mean about breaking things down into better state bits. 21:04
rick_h_detail: bundle, id: mysql/4/scalable or detail: charm, id: precise/mysql, or detail: service, id: mysql, or detail: unit, id: 521:05
hatchdo we have a list of the valid bundle urls?21:06
rick_h_~user/basket/bundle ~user/basket/version/bundle  (and without ~user where it's assumed it's promulgated and is ~charmers)21:06
rick_h_so those 4 possible urls21:06
hatchright now they are all /bundle/:user/:basket/:revno/:bundle21:06
hatchok cool thanks21:07
rick_h_right, user and revno are optional and can be assumed as ~charmers or latest version21:07
hatchhmm I wonder if I should remove minimized as well21:21
hatchrick_h_ this is confirmed? ^21:21
hatchMakyo looks like just re-running it was the trick?21:50
huwshimiMorning22:06
Makyohatch, yep.22:11
MakyoSorry, was dogwalking22:11
hatchno prob22:11
hatchmorning huwshimi 22:11
huwshimiInternet is bad this morning.22:14
hatchthey need to run another phone line to the island I guess eh?22:15
huwshimihatch: Yep, it's a hassle when someone wants to make a call!22:18
hatchlol, they pick up the phone and the internet goes down22:18
hatchugh parents22:18
huwshimihaha22:18
huwshimihatch: There is fibre running past my house, they just haven't turned it on yet.22:19
huwshimiYay! I'm getting 0.31mbps!22:20
hatchlol nice22:20
huwshimibrb, rebooting router22:21
Makyohatch, got a minor fix for the provided example hook in hacking.rst.  Mind if I just land it?  Fixing a typo.  https://github.com/juju/juju-gui/pull/22122:22
MakyoJust making it a bit more compatible.22:23
hatchMakyo sure22:24
hatchwhat does it do?22:24
MakyoI wrote bash syntax, but used #!/bin/sh in the shebang.  Calls test to ensure that make lint runs unless NO_VERIFY was set.22:25
hatchahh22:27
hatchcoolio22:27
hatchrick_h_ if you're looking for some night time reading material. I have removed viewmode but not yet added in all the state bits https://github.com/hatched/juju-gui/compare/remove-viewmode?expand=123:06

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