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

* hazmat looks at charmworld indexing code..00:36
rick_h_hazmat: run away! :)00:52
rick_h_hazmat: what's the issue?00:53
=== marco-traveling is now known as marcoceppi
hazmatrick_h_, just curious about the mapping explosion you mentioned02:06
hazmatrick_h_, that's not normal02:06
rick_h_hazmat: yea, it's hard to debug without knowing what all went on during them bringing up the new ES instance and how they tried to correct it02:07
hazmatalso just getting familiar with the latest code version, it looks better02:07
rick_h_hazmat: it's still a 'theory' on that's the issue02:07
rick_h_yea, spent some time cleaning things. Learning more about ES, getting ES to do better scoring, filtering on scoring, etc. 02:08
rick_h_stuff we should have spent the time to get into ages ago02:08
hazmatrick_h_, how much pain would it be to tighten up results on search api... 184k for 20 results.. on charms.. ie. not serialize every charm on a result, but instead have the gui fetch details beyond collections.02:20
hazmatnot needed.. just curious.. 02:22
rick_h_hazmat: not sure, it's on the todo list to look at. Bundles are painful in results right now and it's getting to be something we want to address02:23
rick_h_hazmat: just looking I bet 90% of that is changelogs and config options. Wonder if we can lazy fetch those and still get that nice instant load when clicking a charm (though there's a know bug #1290580)02:30
_mup_Bug #1290580: Viewing charm details makes another request even though it should be cached <juju-gui:New> <https://launchpad.net/bugs/1290580>02:30
rick_h_hazmat: so I'd say we could cut it down a big chunk easily02:30
* rick_h_ runs away for the night02:36
rogpeppefrankban: reviewed https://codereview.appspot.com/77420043/09:22
rogpeppefrankban: sorry it took a while09:22
frankbanrogpeppe: thanks!, looking at your review, looking at it. I am not sure about "won't m.SupportedContainers still be the expected (nil) value if SupportedContainersKnown is false?"09:25
frankbanrogpeppe: the idea is: supported unknown -> nil, supported known -> [] or [lxc] ... it seems to work like this09:26
rogpeppefrankban: hmm, i think it would probably be better not to rely on nil vs [] like that09:27
rogpeppefrankban: and to expose SupportedContainersKnown in the allwatcher09:28
frankbanrogpeppe: ok, I'll make this change, so basically I'll just add bith fields in the initial structure09:30
rogpeppefrankban: thanks09:30
frankbanrogpeppe: re jobs I fugured out we would need it to know where it is possible to host units, so, if I am not missing something, I'd be inclined to keep that included09:32
rogpeppefrankban: yeah, and when we've got HA, it will be useful to know which machines are state servers, i think09:32
frankbanrogpeppe: that's something we also need to pass in the addMachines API, so it's not completely internal, yeah, and for HA too09:33
frankbancool09:33
frankbanoh, totally missed params.Alive. cool09:33
frankbanfwereade: morning, I am working on a branch which adds more fields to the mega-watcher for machines. One of those fields is Jobs: it seems good to have since with that the GUI can safely know where it is possible to host units, and it can be valuable also from the HA perspective. It is also something we already need to handle when using the addMachines API. How does it sound?09:40
frankbanrogpeppe: re machineJobsFromParams, I guess you intended paramsFromMachineJobs, right?09:48
rogpeppefrankban: perhaps paramsJobsFromJobs ?09:50
frankbanrogpeppe: ok09:50
fwereadefrankban, I think +1 to that, but I have a minor concern which is drift between the gui and the cli -- would you add them to the status API as well, please?09:57
frankbanfwereade: sure, if you agree I'll create another card, so that the current one can land and we are unblocked09:58
fwereadefrankban, that's great, thanks09:59
frankbanfwereade: cool thank you09:59
frankbanfwereade, rogpeppe: after merging from trunk, I am encountering "launchpad.net/juju-core/testing/testbase.PatchEnvPathPrepend(0): not defined" and similar when testing juju-core10:07
frankbanalso testbase.Restorer(0) is not defined10:08
rogpeppefrankban: have you updated your dependencies?10:09
rogpeppefrankban: (in the juju-core root, run godeps -u dependencies.tsv)10:09
frankbanrogpeppe: this is after running godeps -u dependencies.tsv10:09
frankbanyeah10:09
rogpeppefrankban: what's the actual compiler output?10:09
frankbanrogpeppe: core compiles well, and the when I launch tests I see this -> http://pastebin.ubuntu.com/7129851/10:12
frankban(also in trunk)10:12
rogpeppefrankban: that's odd - there are no file:line messages10:14
rogpeppefrankban: if you cd to cloudinit and run go test, what do you see10:14
rogpeppe?10:14
frankbanrogpeppe: it seems I fixed this by removing pkg/linux_amd64/10:17
rogpeppefrankban: ah10:17
rogpeppefrankban: that can happen10:17
frankbanrogpeppe: yeah, thank you10:18
frankbanfwereade: IIUC, the cli status structure is in cmd/juju/machineStatus. is this correct? If so, since MachineInfo will also include SupportedContainers and SupportedContainersKnown, do you want those to be included there too?10:40
* fwereade reads code10:41
fwereadefrankban, hmm, so the deal with supportedcontainers is as follows10:43
fwereadefrankban, we don't know what containers can be added until we've actually got a machine agent running, and able to check10:44
fwereadefrankban, so to begin with we have the list empty, and known false, and we just let you do whatever you like10:44
fwereadefrankban, and any bad requests will fail at provisioning time10:44
fwereadefrankban, later we set known to true, and at the point the supportedcontainers list is actually accurate10:45
frankbanfwereade: yeah I figured that out10:45
fwereadefrankban, *just* exposing those 2 fields doesn't seem like an ideal way of informing users though10:45
fwereadefrankban, sorry, I had to remind myself :)10:45
frankbanfwereade: np, thanks for making that explicit10:46
fwereadefrankban, oh hell standup10:46
frankbanfwereade: so in theory, for `juju status`, we could only show supported containers after they are known10:46
fwereadefrankban, you know what? don't worry about CLI status, but please file a bug against juju-core and we'll figure out priority and appropriate response10:47
fwereadefrankban, status is bloated enough already10:47
fwereadefrankban, at some stage we'll get around to adding flags to filter fields10:48
fwereadefrankban, but just adding them willy-nilly isn't such a great idea10:48
frankbanfwereade: sounds good, thanks10:48
frankbanagreed10:48
frankbanrogpeppe: branch updated and re-proposed11:24
rick_h_frankban: if you get a minute can you review hatch's branch here please? https://github.com/juju/juju-gui/pull/18812:00
rick_h_frankban: I started but got pulled away yesterday. Figure I'll trade you a review :)12:00
frankbanrick_h_: sure, will do12:00
rogpeppefrankban: LGTM13:14
frankbanrogpeppe: \o/ thanks, approving13:14
bachi frankban, did you see the issue about quickstart on raring wrt urwid?13:16
frankbanbac: no, but it would not work in raring, apparently we do not support raring, it is disabled in the juju stable PPA, so there is no urwid backport for raring in there. I presume an old urwid would be used resulting in a nice python crash. 13:17
bacfrankban: you are correct13:18
bacfrankban: so do we state somewhere that raring is not supported?13:19
rick_h_frankban: ok if we don't support it then I'm game for documenting and doing whatever we can to prevent installing it13:19
frankbanbac: to be clear, the package works on precise, quantal, saucy and trusty -> the juju stable PPA includes urwid backports for precise and quantal. saucy and trusty already have the right urwid version13:19
bacfrankban: https://launchpad.net/~juju/+archive/stable/+packages shows that we have a juju-quickstart PPA for raring13:20
bacfrankban: so, i guess we either need to delete it or supply the urwid backport, no?13:20
frankbanbac, rick_h_: requested deletion of juju-quickstart 1.0.0+bzr48+ppa10~ubuntu13.04.113:21
frankbanthat's also an old version13:21
bacrick_h_, frankban: perhaps i should take my head off the card and let frankban pict it up.13:21
rick_h_bac: fine with me. I just want to see what we can do to prevent new users (kadams in this case) from following the docs but not having things work. 13:22
frankbanbac, rick_h_: ok, that's done. bac: you could also complete the card just adding that piece of documentation13:22
bacfrankban: ok, sure.  to the quickstart readme you mean?13:22
bacrick_h_: but we are in a bit of a pickle since our juju-gui vagrant image is only raring13:23
kadams54Seems like we should also update the vagrant image in juju-gui?13:23
kadams54bac: hah, yeah… beat me to it.13:23
* rick_h_ goes to check, is raring EOL?13:23
frankbanrick_h_: since I deleted the PPA package, the docs would not work at all (juju-quickstart package not found) if you are in raring. 13:23
frankbanbac: let me check13:23
rick_h_frankban: bac ok sorry, yes raring is EOL and so I think updating the vagrant image is ok13:24
bacrick_h_: ok, i'll do that too under this card13:24
frankbanbac: yeah, README.rst and the quickstart description in launchpad seem the right places to put that information. It would be nice to have both pip and apt-get instructions added to those. Note that README.rst is also used to display the nice description in https://pypi.python.org/pypi/juju-quickstart13:26
bacfrankban: it seems odd that we're supporting quantal but not raring.  should we remove support for quantal leaving precise (LTS), saucy (current) and trusty (beta) ?13:29
bacthat's a more consistent story13:29
=== abentley_ is now known as abentley
frankbanbac: +1 quantal and not raring is weird, let's document the new story and I'll exclude quantal in my next build. I guess I'll leave the current quantal release in the stable PPA, but updates will be only precise/saucy/trusty. how does it sound?13:35
bacperfect13:35
frankbancool bac thanks13:35
bacfrankban: if quickstart is installed via pip should we tell them to use:13:40
bacsudo pip install urwid juju-quickstart13:40
bac?13:40
frankbanpip install juju-quickstart should be sufficient13:40
baccool13:40
frankbanbac: see comments in requirements.pip13:41
frankbanbac: also, in trusty installing the PPA is not required13:42
bacfrankban: right, just for precise13:43
frankbanbac: precise and saucy13:43
bacer?13:43
bacoh, right13:43
frankbanis github having difficulties also in the US?13:45
hatchfrankban "see below" in your review.....did you forget to hit send on a comment? :)13:46
frankbanhatch: no, I did not forget, github is down here :-/13:47
hatchohh darn ok13:47
hatchno problem13:47
bacfrankban: can you look at the doc change at https://codereview.appspot.com/78830044 ?13:48
frankbanand now it's up again, they finished to recompile rubu13:48
frankbanruby even13:48
frankbanbac: sure13:49
frankbanbac: done13:51
bacfrankban: double spaces don't get a <shrug>? :)13:52
frankbanbac: :-) double spaces are serious things to deal with13:56
bacagreed and done13:57
bacrick_h_: were you aware there are 85 members of ~charmers?  80 of them are in ~inactive-charmers.  i'm a little surprised about the numbers.13:58
rick_h_bac: yea, there's some discussion on how to clean that up at some point13:59
bacrm ~inactive-charmers13:59
bacor create an ~active-charmers and use that group for permissions13:59
rick_h_bac: yea I recall an email thread where marcoceppi had a good reason for not doing that14:00
marcoceppibac: I once removed in-active charmers from charmers14:00
marcoceppiand I got yelled at14:00
marcoceppiMy goal is to get them seperated one day, I just don't have the time for it14:01
rick_h_bac: https://pastebin.canonical.com/106930/14:01
rick_h_is the end of the thread that I found14:01
rick_h_bac: so know issue and discussion taking place but not a great solution atm to just remove inactives14:01
frankbanfwereade: filed bug 129568214:02
_mup_Bug #1295682: Handle missing fields in CLI status <juju-core:New> <https://launchpad.net/bugs/1295682>14:02
frankbanhatch: I'll finish your review after the call, grabbing some food now, ok?14:02
* marcoceppi should get back on that thread and get some action items going14:02
fwereadefrankban, thanks14:02
* frankban lunches14:09
bacrick_h_: fyi, i found a bug on staging regarding bundle featuring.  should be a trivial fix.  made card.14:16
hatchfrankban yeah no problem14:16
bacmarcoceppi: we've added UI on staging.charmworld.com for deleting charms and deleting and featuring bundles.  it'll probably be released to production next week but thought you might want to see it on staging first.14:17
bacjcastro: ^^14:17
rick_h_bac: cool thanks for the heads up14:20
hatchso hows everyones morning14:34
jcastrobac, that is awesome, thanks!14:36
rick_h_jcastro: marcoceppi realize this deletes it from charmworld, but not launchpad/etc. So it will just reingest if you hit delete14:38
jcastroall I really need is the ability to feature/unfeature bundles14:38
rick_h_jcastro: yea, that's there as well14:39
bacjcastro: you can feature/unfeature bundles if they are owned by ~charmers14:43
rick_h_bac: yea, he just means the links for his use14:43
rick_h_generating urls isn't much fun :)14:43
baci don't understand14:44
rick_h_bac: production doens't have the feature/unfeature links14:44
rick_h_bac: jcastro misses those, but you've added them on staging14:44
bacrick_h_: you saw that i declined the interview for next week14:44
rick_h_bac: yes, my fault. Wasn't thinking about your time away14:45
bacrick_h_: patience14:45
rick_h_bac: right, just letting him know that's on staging as well14:45
jcastrothat's fine, I only needed them for the announcement last week, so mangling is fine14:45
jcastroIt's not like I'll be featuring and unfeaturing new stuff14:45
bacyeah, sorry we didn't get them done earlier14:45
rick_h_jujugui call in 10 please kanban14:50
frankbanhatch: review done, I decided lunch can wait, sorry for the stream of consciousness14:54
hatchhaha np - I appear to be having internet issues as well14:55
hatchhopefully they are back up14:55
bacfrankban: quickstart works on vagrant now, but it is a bit ugly.  https://dl.dropboxusercontent.com/u/420990/jjqs-vagrant.png14:56
rick_h_woot14:57
bacrick likes ugly14:57
hatchlol it's not that ugly in iterm....must be a terminal thing14:57
hatchlinux people like ugly14:57
hatch:P14:57
rick_h_hatch: pssst you're a linux person now14:57
bachatch: we keep you around14:58
rick_h_welcome to the party14:58
hatchyeah but my desire for uglyness hasn't hit yet14:58
bacnow you ran off luca14:58
hatchhaha14:58
frankbanbac: vargrant box locale issue?14:59
hatchfrankban thanks for the suggestions I'll have to put some thought into those14:59
bacam i in the wrong place?15:00
rick_h_bac: https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso15:00
frankbanbac: vagrant local issue?15:00
frankbanlocale15:00
bacah, so we use the regular spot everyday but friday?15:00
bacrick_h_: for the record, i'm not relying on vagrant.  just spun it up for testing.  may do so in the future if i decide i like atom, github gui, etc.15:13
kadams54Oh, speaking of atom… who had the invites? And are there more?15:13
rick_h_bac: ok cool. Yea it just seems to be getting some uptick in dev use so figured we should treat it as a bit more important. 15:14
rick_h_kadams54: I think Makyo had one at some point15:14
rick_h_if you need one post to twitter and I can RT you. I know a bunch of folks on there have them 15:14
Makyokadams54, sure, email?15:15
rick_h_luca__: meet kadams54, he's tinering with some of your UI bugs and might come bugging for info/assets at some point15:15
* frankban bbiab15:16
hatchI was less than impressed with atom - felt like an incomplete and slow sublime text15:17
hatchI suppose that's what they are going for15:17
MakyoIt's in alpha :P15:17
MakyoOr I guess beta now that they've got invites.15:17
hatchright, but haven't they been at it since 08?15:17
hatch:)15:17
luca__rick_h_: I'm doing user testing at the moment, will say hi over a call in a bit15:19
luca__kadams54: Hi!15:19
rick_h_luca__: all good just wanted you to recognize the irc nick 15:19
kadams54luca__: Hi!15:28
hatchI'm just gona go to Wendy's....15:28
rick_h_hatch: not a good plan...not a good plan at all15:29
hatchlol15:29
kadams54Better than White Castle.15:29
kadams54;-)15:29
hatchwe don't have White Castle here unfortunately15:33
hatchfortunately? 15:33
hatchheh15:33
bachatch, Makyo: the change to use NFS on vagrant was easy-peasy for os x.  testing on ubuntu host now.15:35
bacdid require 'sudo touch /etc/exports'15:35
kadams54bac: good the hear15:36
hatchbac awesomer15:36
MakyoOh, rock on.15:36
backadams54: git is already installed on the guest.  but when you brought vagrant up it wasn't there?15:36
hatchfaster lint and test runs here we come15:36
rick_h_hatch: *cough*native*cough*15:37
hatchrick_h_ hey I tried - I blame whomever writes the kernel :P15:37
hatchI'd be rocking trusty by now15:37
MakyoIt's in the provision script, at least.15:37
rick_h_hah, not whoever bought the laptop?15:37
MakyoHaha15:37
kadams54bac: I was seeing "command not found" errors for it when running makefile stuff… which went away after running "sudo apt-get install git"15:37
kadams54But it's entirely possible I made a newbie mistake15:37
hatchwell MAYBE someone else should produce quality hardware?15:38
bacMakyo: currently /vagrant is only the juju-gui directory.  it might be nice to make it '..' instead so you could have access to other software you may be working on15:38
bachatch: rule of thumb, if you want your laptop to work with ubuntu natively, buy whatever hardware pitti runs.15:38
hatchhmm15:38
kadams54lol15:39
baccannot go wrong15:39
hatchhaha 15:39
Makyobac, That presupposes a certain directory structure, but if we're aiming to make the vagrant more universal for quickstart and the like, that could be nice.15:39
bacMakyo: well, it does make a bit of an assumption.  it assumes your juju-gui is contained within '..'  -- if you happen to put other stuff there, all the better.  :)15:39
kadams54Mayko: As long as it's in the provision script… I had a similar problem where node wasn't found, even though it's also in the provision script. Very possible for this to be PIBKAC.15:40
hatchPEBKAC looks better15:40
hatch:P15:40
hatchE = exists 15:40
kadams54:-)15:40
hatchkadams54 I actually use git in osx not in vagrant15:40
backadams54: i haven't tried making yet on my new image.  let me try before we blame the new guy.  :15:40
Makyobac, yeah, sounds good.  I just use juju-gui/work as a relic from bzr15:40
hatchI do ~/canonical/<project>15:41
bacMakyo: i'm sure we can work out something that suits us all.  worthy goal, i'd think15:41
Makyobac, yep, sounds good.  I'm just behind, is all.15:41
kadams54hatch: as do I, but I saw the errors when running "make devel" in the image15:41
hatchohh interesting...15:41
kadams54~/Code/project15:42
Makyohatch, yeah, ~/work/<project>/, but bzr projects are ~/work/<project>/<bzr branches by user>, and work is the lightweight checkout of whatever I'm working on.15:42
hatchI've been thinking of doing that structure - I need to come up with a good one for my $GOPATH15:42
bacwell, heck, why don't we just mount $HOME as /vagrant?15:44
bacnot being smarty...15:45
kadams54I think it's worth playing around with… no rule we can't change it back :-)15:45
bacok, kadams54, in my shiny new vagrant instance i just ran make devel with no intervention and it worked.15:45
kadams54bac: yeah, same here. Not sure what happened yesterday.15:46
bacok, call it a non-issue until it appears again15:46
kadams54Also "which git" shows it installed.15:46
hatchbac honestly that's not such a bad idea15:46
hatch+115:46
* bac tries15:47
kadams54guihelp I'm ready for another pre-implementation chat on bug 129031215:48
hatchbug #129031215:48
Makyo_mup_, you okay buddy?15:48
hatchoh c'mon mup what ya doin15:48
Makyohttps://bugs.launchpad.net/juju-gui/+bug/1290312 _mup_ 15:50
MakyoOh well.15:50
hatchkadams54 I'm getting up to speed on the card15:50
Makyokadams54, I recommend splitting 3 into its own card15:50
kadams54Separate card, separate ticket as well?15:51
hatchsingle ticket is fine imho15:51
MakyoYeah, leave the ticket intact, just have separate cards for units of work.15:52
kadams54k15:52
hatchhttps://plus.google.com/hangouts/_/72cpikq3qfse972qd7v4npvkuo?authuser=1&hl=en15:52
hatch^ kadams54 15:52
MakyoShould be able to do 1 & 2 today, not have to leave 3 hanging15:52
hatchluca__ ping?15:59
luca__hatch: not avail at the moment, I'm in user testing16:02
rick_h_hatch: something I can help with?16:03
hatchok ping when you are, kadams54 just needs a garbage can asset16:03
rick_h_kadams54: hatch please email luca and copy spencer on it for the need. And just use a place holder of something else for the moment to move the branch forward. 16:04
hatchrick_h_ yup going to use a placeholder for now16:10
hatchI'll send the email 16:10
kadams54thanks16:10
hatchkadams54 can you ping me your canonical email, it's not in my directory for whatever reason16:11
* rick_h_ goes to locate lunchables16:13
hatchquality lunch right there16:16
hatchI think I'm going to alias `ssh vagrant` to `vagrant ssh` :/16:24
hatchhttp://venturebeat.com/2014/03/20/docker-delivers-its-first-commercial-service-since-its-big-pivot-last-year/16:29
hatchkadams54 you should have received the trash can asset16:43
kadams54hatch: confirmed16:43
kadams54Going to run some lunch errands - bbiab16:43
hatchwe need a 'willBeCalled' assertion :)17:04
hatchassert.willbeCalled(myFunction);17:04
hatchwould save from writing a setinterval17:05
rick_h_hatch: would need to be like assertCalledWith? 17:05
rick_h_hatch: ugh, can't we avoid that by direct calls?17:05
hatchthe test I'm doing now requires the inspector 'save' button to be clicked, then wait for the env method to be called17:05
hatchso it's async and needs to poll until the stubMethod.calledOnce() returns true17:05
hatchI'm trying to avoid that17:06
hatchI don't see anyway around it17:06
rick_h_hatch: so the around would be to split the tests. Something you're doing start a process to get to the env?17:07
hatcha really fast setInterval shouldn't be an issue though....it can poll every 10ms or something17:07
rick_h_hatch: and then you want something that verifies if that call is made, the env does the right thing17:07
hatchright but this needs an integration test (thats why this was missed last time)17:07
rick_h_so you test each end of the middle man, and skip the async in the middle17:07
rick_h_ah17:07
hatchI'm going to do a setInterval then in review if anyone can come up with something better I'm all for it17:07
rick_h_hatch: :)17:08
frankbanhatch: what about mocking the env method, putting the assertions in there and then calling done?17:08
hatchfrankban, u win the internets17:09
* hatch switches to old-school mocking17:09
frankban:-)17:09
hatchwow I can't believe I didn't think of that17:11
* hatch bows head in shame17:11
rick_h_yea, it's rare you can't work around a setInterval type thing. If you can't usually there's something bigger to look at. 17:12
rick_h_frankban: ftw :)17:12
rick_h_frankban: shouldn't you be off enjoying your weekend by now? 17:12
* hatch is glad he isnt' gone yet haha17:13
frankbanrick_h_: no, I usually stop at 6pm UTC, 7pm here17:13
rick_h_frankban: ah, gotcha17:13
rick_h_frankban: oh, with that time switch you moved an hour on me. 17:14
rick_h_and ouch that's late anyway17:14
frankbanrick_h_: yeah but I like starting later in the morning, and this way there is more overlap with US timezones17:16
rick_h_frankban: cool, it is nice on that end. 17:16
hatchI wonder if someones job could be to write tests17:18
hatchthere is clearly an advantage for the code author to write the tests17:18
rick_h_well there are test engineers17:18
hatchbut there may be an advantage of someone who doesn't know the code to write the tests17:18
hatchbecause they see the hard 'corners'17:19
rick_h_hatch: I'm not sure, too often bad/hard to write tests are signs the author is barking up the wrong tree17:19
rick_h_hatch: to implement the feature and not get that feedback until done would be painful and lots of rewriting17:19
hatchtrue true17:19
rick_h_and that's a LONG way from TDD17:20
rick_h_:)17:20
hatchlol17:20
hatchyeah just thinking outlou17:20
hatchd17:20
rick_h_yep, same here 17:20
rick_h_I do wonder what 'test engineers' really do now that you mention it17:21
hatchmaybe they do the exact opposite of TDD :)17:21
hatchCDT17:21
hatchcode driven tests17:21
rick_h_that would be a sucky job, to be handed code and "make the tests that make this code be valid"17:21
hatchlol17:24
hatchrick_h_ maybe they write tests to match the spec and then the code needs to match that17:24
hatchI know in big enterprise apps people write class specs *yuck*17:24
kadams54We had a test engineer for awhile…17:26
kadams54They mostly focus on functional testing17:26
rick_h_there you go hatch, make your full time job selenium work...in python :P17:26
hatchkadams54 how did they know what the function was supposed to return?17:26
hatchjujugui I need a review/qa on https://github.com/juju/juju-gui/pull/191 plz and thanks17:27
hatchrick_h_ lol noooooo thanks17:27
kadams54hatch: that's too low level - they worked more on the "you're supposed to click here and the app will do X, Y Z" level17:27
rick_h_kadams54: have bandwidth to peek at it as a first review? I'll also go through it as well. 17:27
hatchohhh17:28
kadams54Selenium, CasperJS, WebTest… on that level17:28
hatchahh gotcha17:28
kadams54rick_h_: sure17:28
kadams54hatch: you get to be my review guinea pig :-)17:29
hatchhaha, giver! When it comes to QA I can guide you through pulling down the branch17:29
hatchit's pretty easy17:29
kadams54I just setup my git aliases this morning :-)17:29
bacgit folk, i accidentally did all of my work in develop -- forgot to create a new branch -- and have pushed it up to github.  how do i unwind and do it right?17:30
hatchbac heh oops :)17:30
rick_h_bac: take your develop, and create a branch from it17:30
kadams54git revert <hash>17:30
rick_h_git co -b my-workd17:31
hatchI'd cherrypick17:31
rick_h_and then push that up as a new branch17:31
hatchor that17:31
rick_h_git push origin mybranch:mybranch17:31
rick_h_and then pull request from that17:31
hatchlol there are so many ways....I like rick's approach though17:31
kadams54`git revert <hash>` will remove it from develop17:31
bacok17:31
rick_h_and then go back to develeop and remove it per kadams54 17:31
hatchweeeeee17:31
rick_h_but do the new branch first so you don't lose work17:31
kadams54+117:31
kadams54hatch: what's this about ghost inspector and service inspector?17:37
hatchkadams54 pre-deployment = ghost inspector post deployment = service inspector17:38
hatch(legacy talk) the icons used to be ghosted17:38
kadams54Ah, got it17:38
hatchfrankban did you want to have a call about your comments - I think some are handled already by this structure but would like to discuss further than some github comments :)17:39
frankbanhatch: sure17:40
hatchhttps://plus.google.com/hangouts/_/72cpi2tcd0t3a61utkp6p1g32s?authuser=1&hl=en17:40
bachey rick_h_, when i try to rebase i get https://pastebin.canonical.com/106946/17:45
baci already pushed to github, so i need to get it rebased and push with --force?17:46
rick_h_bac looking18:00
bacrick_h_: and my branch now looks like https://pastebin.canonical.com/106948/18:00
rick_h_bac: because you branched from develop there's nothing to rebase on there18:00
bacah18:00
rick_h_bac: right you branched after you did the revert18:01
rick_h_bac: as I mentioned, do the branch first, then remove the commit on develop18:01
bacwill that create another revert checkin?18:02
bacis there no equivalent of 'bzr uncommit; bzr revert'?18:02
rick_h_bac: which commit do you want to keep?18:02
rick_h_bac: which commit(s) need to end up in trunk?18:02
bacin vagrant-fixes i want the older three.  the revert was a mistake18:03
bacso, i'd like a clean develop, and those three commits in my branch squashed into one18:04
rick_h_bac k sec18:04
hatchkadams54 hmm looking at your qa failure18:07
rick_h_bac: https://pastebin.canonical.com/106949/ 18:08
rick_h_bac: that should get you going18:08
hatchkadams54 hmm I can reproduce....looking18:09
hatchthanks18:09
rick_h_bac: obviously untested, let me know if you hit an issue18:09
hatchkadams54 ohh right - woops this is a limitation of the fakebackend18:09
hatchI'll reply in the PR18:09
hazmathow do you search charm by series?18:10
hazmatin the gui, or directly against the charmworld api18:11
hazmatattempting to use api versions that used to support this.. gets unsupported api version18:11
hatchI think that functionality was removed18:11
bacrick_h_: ok, that should work but i'll commit to trunk with no rebase18:11
rick_h_hazmat: you don't in the gui. http://manage.jujucharms.com/api/3/search/?text=mysql&series=precise in charmworld18:11
rick_h_http://manage.jujucharms.com/api/3/search/?text=&series=precise for all precise for instance18:12
rick_h_hmm, might need to flip the limit off 18:12
hazmatrick_h_, any keyword to type that into manage.jujucharms.com html search box?18:12
rick_h_http://manage.jujucharms.com/api/3/search/?text=charm&series=precise looks better18:12
hazmatrick_h_, http://manage.jujucharms.com/api/3/search/?series=saucy ?18:13
rick_h_hazmat: no, filters were removed and the idea of supported 'tags' isn't designed/done18:13
rick_h_hazmat: trying http://manage.jujucharms.com/api/3/search/?text=charm&series=saucy 18:13
rick_h_hazmat: so yea, no saucy18:13
hazmatrick_h_, try any non precise series..18:13
rick_h_http://manage.jujucharms.com/api/3/search/?text=charm&series=oneiric shows some18:13
bacjuju-gui / makyo: review request https://github.com/juju/juju-gui/pull/19218:13
hazmatrick_h_, they are there.18:13
* hazmat gives up.. and uses launchpad18:13
hazmatrick_h_, that does work btw.. http://manage.jujucharms.com/api/3/search/?series=quantal18:14
hazmatrick_h_, the problem is there is no saucy series for the charms distro 18:14
rick_h_hazmat: right, but limited to 20 matches unless you add text=charm to get all results18:14
hazmatin lp18:14
hatchbac it's juju-gui without the - :)18:15
bachatch: nfm18:15
rick_h_hazmat: so yea, I get results for quantal, oneiric, no saucy18:15
hatchlove that you added nfs support :)18:15
hatchkadams54 do you have a ec2 juju credentials set up yet?18:16
bachatch: it solved your problem and the saucy problem18:16
bacmade sense18:16
hatchlike a boss 18:16
hatch:-)18:16
hatchodd quickstart error https://gist.github.com/hatched/ab4431b789e67a0f7ef818:24
hatchbac I can qa your branch a little later - running with parallels right now so I don't want a kernel panic :)18:26
hatchunless someone else gets to it first18:26
hatch:)18:26
rick_h_hatch: calls and calls, not getting to the review atm. If you can find someone else awesome else I'll get at it eventually18:26
hatchrick_h_ re my branch that frankban did?18:27
rick_h_hatch: no, the one that kadams54 looked at18:27
rick_h_I was going to double review you, until everone else wanted to talk to me first18:27
hatchohh ok yeah I'm just qa'ing in a real env to confirm that the issue is a fakebackend limitation18:27
hatchI'm pretty confident but I want to be sure18:28
hatchoh and we NEEED to talk about my other branch.....:P jk whenever you have time I'll fill you in on what frankban and I discussed18:28
rick_h_hatch: heh, well I figure kadams might let you sneak by something crazy since he's not up on all the linting/history stuff18:28
hatchlol18:28
* hatch goes and changes all his short var names18:28
rick_h_see I knew it!18:29
kadams54lol18:30
kadams54hatch: no, no ec2 credentials (at least not that I know of)18:31
hatchwe just use our own then expense it18:31
hatchwell...usually the bills are like $2 so it's not worth it18:31
hatchlol18:31
kadams54OK, in the process of signing up right now18:32
hatchhttps://juju.ubuntu.com/docs/config-aws.html18:32
hatch or use `juju-quickstart -i` :)18:32
kadams54Hah18:33
hatchlunching18:49
kadams54Change of location18:54
hatchbak19:08
bacjujugui: i'm trying to QA my vagrant changes with an ubuntu host but having a hard time getting virtualbox installed.  if someone else with a pre-configured machine could try it i'd be grateful.19:11
bacis that a 'bac ack'19:11
hatchlol19:11
hatchbac I can qa it now19:11
bacthanks hazmat19:13
bacs/hazmat/hatch/19:13
hatchmounting works - I need to try with saucy now so that'll take a bit19:14
hatchblarg it keeps picking up my existing vm19:14
hatchgona need to delete it I guess19:15
hatchdoooownloading 19:18
* hatch needs faster internet19:21
hatch600KBps is just not cutting it19:21
hatchjcastro have you seen that codinghorror.com has switched to using discourse for comments? It's a pretty cool idea, forces people to go elsewhere to -make- the comment but it's still shown in the article19:25
hatchex) http://blog.codinghorror.com/please-read-the-comments/19:25
jcastroyeah we use that on insights.ubuntu.com19:25
hatchohhh I thought it was just a link, I didn't know it also reported the comments back to the main thread19:26
hatchis insights a ghost blog?19:26
jcastrono, wordpress19:26
hatchohh ok, he said his was a ghost blog so just curious19:27
hatchit's a pretty cool idea - hopefully help to trim out some of the idiots19:27
rick_h_hatch: did we need to chat?19:27
hatchwe did!19:27
hatchvewwwy impotant19:27
rick_h_hatch: ok, your up then19:27
rick_h_shoot me a link please19:28
hatchon it19:28
rick_h_or just shoot me :P19:28
hatchlol19:28
hatchhttps://plus.google.com/hangouts/_/72cpi1j10275vvu1nppqkc6tnc?authuser=1&hl=en19:28
rick_h_oops, check you later hatch :)19:43
hatchlol19:43
hatchcya19:43
rick_h_note to self, don't drop your hand on the keyboard when the cursor is on the disconnect button19:43
rick_h_you will rudely run away 19:43
hatchbac still around?19:44
rick_h_hatch: +1 on the config button branch thanks19:45
bachatch: yep19:46
hatchbac :+1: 19:46
hatch:) it's awesome19:46
hatchso friggen fast19:46
bachatch: could you actually do the review too?19:46
hatchI did19:46
bacoh, cool.19:47
hatchthat's what the :+1: is19:47
hatchQA OK is the qa being ok :D19:47
hatchI had no comments re the code heh19:47
hatchoh man this is so awesome19:47
bacno, i know.  i hadn't looked at the pull request.  thanks!19:48
hatch:-) 19:48
rick_h_hatch: ok, I'm really cranky with them now. The talk of lack of $$ for a security audit until they got funding is insulting. http://blog.npmjs.org/post/80277229932/newly-paranoid-maintainers19:50
hatchreading...19:51
hatchso basically the money that was raised was -only- used for hosting not working on the platform19:52
rick_h_hatch: yea, guess so. But to claim the poor house after that but before funding is bad form imo19:53
rick_h_not to mention it demonstrated that the community was willing to fund work on npm19:54
hatchyeah I think the whole series of events was a huge mess19:54
rick_h_no kidding19:54
rick_h_ok, with that I'm out of here and before 5pm yay!19:55
hatchlol have a good weekend19:55
rick_h_everyone have a good weekend, look forward to hanging out next week ka19:55
rick_h_bah tab fail19:55
hatchhaha he isn't here19:55
rick_h_how dare he not let me tab complete his nick19:55
bacjcastro: how does cbs do the scoring for the bracket?  in first round people with same number correct have different scores.20:35
bacjcastro: congrats on your current lead.20:35
bachatch: fancy a charmworld review? https://codereview.appspot.com/78940044  mighty simple20:46
hatchI can take a peek20:46
bachatch: not even any python, just template20:46
hatchbac done20:48
bacexcellent catch hatch!20:49
hatch:)20:55
hatchbac can you send an email to the juju-gui list about the vagrant update? People will need to have it download the new image etc20:58
bachatch: i can, but won't it just dtrt the next time they 'vagrant up'?20:59
hatchbac it didn't for me, I had to `vagrant delete && vagrant up`20:59
bacoi20:59
hatchit did the file sharing on the next up20:59
hatchbut didn't use the new image21:00
bacokey doke, i'll do it21:00
hatchcool thanks21:01
hatchbac sorry it was `vagrant destroy`21:01
hatchnot delete21:01
bachatch: did21:05
bacand with that i wish you a good weekend.  see you week after next.21:06
hatchenjoy your break! cya21:06
hatchsooo last one in the office eh21:16
* hatch turns the tunes up21:16
kadams54hatch: Running into something frustrating… the local juju-gui seems to change the relationship status every couple of seconds21:23
hatchoh yeah21:24
hatchsorry21:24
hatchheh21:24
kadams54That's destroying and recreating the DOM that I'm trying to debug. What's the best way to make it stop?21:24
kadams54:-)21:24
hatchhit ctrl+s in the gui21:24
hatchit'll shut off the simulator21:24
kadams54Thanks21:24
hatchthe simulator is very nice for when you want to make sure what you're working on will change states properly etc21:25
hatchbut yeah, can be a hassle 21:25
* hatch would like to note that that shortcut was in the code you just changed :P21:25
hatchlol21:25
kadams54:-b21:26
hatchkadams54 so how are you finding the code? Easy enough to follow?21:27
kadams54Yeah, as long as I limit myself to the constraints of the bug I'm working on21:27
kadams54Also helps that I'm being picky about which ones I pick up :-)21:28
hatchhaha yeah - it'll take a bit of getting used to - there are a few different systems at work 21:28
kadams54hatch: another question: what, if any, resources are auto-reloaded when running `make devel`?21:29
kadams54Right now I've just been doing ctrl-C and running `make devel` again once I save changes21:29
hatchohh no no21:29
hatchjs is auto reloaded, css and templates aren't in vagrant 21:30
hatch(not sure why)21:30
hatchin normal ubuntu the css and templates reload too21:30
hatchI'm sure you have the 'disable cache' flag set in chrome's devtools ?21:31
kadams54yes21:31
hatchyeah - so in that case js should auto-reload, but css and templates will need make devel to be re-run21:31
hatchat least until someone fixes it21:31
hatchthere are a number of those things unfortunately :)21:32
hatchwe don't get to the 'slack' tasks as often as we'd like hah21:33
hatchman I wish my standing desk was motorized21:47
rick_h_hatch: yea, I do love that22:09
rick_h_with more meetings I use it back and forth a lot more now22:10
hatchthe mdf blocks just aren't cutting it for me anymore :)22:10
hatchthe price is right however....22:10
rick_h_yea22:10
rick_h_have to get yourself a big birthday present22:10
hatchhaha I think the MBP was big enough for a while yet22:11
hatchthe mrs would not be pleased if I bought one :D22:11
hatchlol @ tweet22:12
hatchit's all been in response to this http://igo.herokuapp.com/22:13
hatchhttps://twitter.com/NateTheFinch/status/44711946636391219222:13
hatchoh man nfs is so fast 22:33
kadams54Alright, I'm out for the weekend… have a good one!22:47
hatchand me as well cya 23:06

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