/srv/irclogs.ubuntu.com/2014/08/29/#juju-dev.txt

wallyworldkatco: good evening, not that you should be still be working now, but i've commented on your PR. so you have something to look forward to when you wake up tomorrow :-)00:08
axwwallyworld: would you be satisfied if I just doc commented syncToolsAPI? i.e. say that it's a subset of state/api/Client?01:07
axw(thanks for review btw)01:07
wallyworldaxw: yep, sure01:07
wallyworldjust to assist the casual reader01:07
axwcool01:07
axwyup01:07
davecheneythumper: http://paste.ubuntu.com/8174218/01:39
thumpermy fix at the end was very like that01:39
davecheneyok, let me see if I can make a repro out of it01:40
thumperwallyworld: that is a long email, will read it fully later, but... good effort01:47
wallyworldthumper: yeah, it is long, sorry01:47
thumperdon't be sorry01:47
wallyworldi'm not, well, that's what i say to the girls01:48
davecheneywallyworld: that's a yello card mate01:48
bodie_davecheney, any word on pr 617?01:48
bodie_just when you have a minute01:48
davecheneylets keep the induendo below the audible level01:48
davecheneybodie_: i haven't looked at it01:48
davecheneyi'm not the on call reviewer today01:48
wallyworldit's friday, gotta have a little fun01:49
bodie_gotcha -- can you leave a comment or something to the effect that it's cool if someone else has a look then?  I don't want this thing to get trapped in limbo01:49
bodie_I just have a bunch of stuff depending on it https://github.com/juju/juju/pull/617#discussion_r1681782601:49
bodie_just since you'd left a negative comment01:50
thumperwallyworld: I have to agree with davecheney on this...01:51
wallyworldsigh01:51
thumpersorry dude01:51
bodie_and since we're on totally different timezones, and nobody else will respond to it since you'd left a comment01:51
thumperthere is a time and place, but this isn't it01:51
wallyworldthumper: it's not like you haven't been "guilty" before :-P01:52
thumperwallyworld: doesn't make it right01:52
thumperI'm happy to be called out on it01:52
bigjoolsI have to agree, wallyworld should be more careful01:53
bigjoolsI mean, if you're going to try and make someone take offence, do it properly01:54
* bodie_ furiously scribbles notes01:54
* wallyworld makes a mental note who has a thin skin for next time01:54
davecheneywallyworld: casual sexium isn't about having a thin skin01:55
* bodie_ compares notes with wallyworld and rebases his changelist01:55
wallyworldit wasn't sexism, but anyway01:55
wallyworlddefine sexism: prejudice, stereotyping, or discrimination, typically against women, on the basis of sex.01:56
wallyworldanyways, let's move on01:56
bodie_well, where were we.  oh yes.  so, I've noticed that when a core member on a 12 hour offset timezone comments on something, other team members are hesitant to add their two cents to discussion, and thus my review gets trapped in the equivalent of a HTTP syn timeout on a 12 hour latency window01:57
bodie_I chatted about the PR with TheMue and alexis today and both indicated they wanted davecheney to be the one to respond to that comment on 61701:57
davecheneythumper: http://paste.ubuntu.com/8174325/01:58
davecheneyrepro for the gccgo bug01:58
davecheneyfiling an issue upstream now01:58
bodie_if someone could at least acknowledge what I'm saying, maybe I wouldn't wonder as much whether the cold shoulder has anything to do with wanting to keep us out of the loop01:59
thumperI'd say more casual sexual harassment rather than sexism... however... moving along01:59
davecheneyhttps://code.google.com/p/go/issues/detail?id=861202:00
bodie_or, you know, you could post a three word reply on that pr, such as "someone else take this" and it would be totally cool02:00
bodie_oops, that was 4...02:00
thumperdavecheney: cool, ta02:00
perrito666cool email wallyworld, thanks for taking the time02:01
wallyworldnp02:01
bodie_so I'm taking that as a "no, your PR is going to sit in limbo until I'm the next on call reviewer, and/or you're on my ignore list now"02:07
perrito666I really need to go live a few weeks to the countries where you guys are from so I get to learn local english02:07
* perrito666 feels like the hispanic comic relief on an adam sandler movie half the time02:08
bodie_LMAO02:08
bodie_perrito666, you're cool by me, I never notice your accent ;)02:09
perrito666bodie_: trust me I sound terrible when speaking for long periods of time, I am really bad at managing my air and I get really exasperated when trying to speak in english at the same speed than spanish02:10
davecheneybodie_: nope, that's not it02:10
davecheneyi was pulled off onto another crash this morning02:10
davecheneythe OCR reviewer rotates daily to avoid anyone being on the critical path02:10
bodie_I just don't like feeling like I'm talking into thin air at timse02:11
bodie_but I understand you guys are totally slammed02:12
bodie_just frustrating trying to push our stuff through when nobody will respond to a thread because someone who's only online when it's 10pm where I live owns the review02:12
bodie_perrito666, english was invented for people who mutter under their breath :P02:13
davecheneybodie_: i think you need to raise that with alexis02:13
bodie_yeah, I did this morning02:13
davecheneybodie_: i've said the same to her in the past02:13
davecheneyi'm not sure what I can do02:13
bodie_davecheney, she and TheMue both said they wanted the response on that thread to come from you02:13
davecheneynah, that can't be how it works02:14
bodie_you could just say something like "I'm content for someone else to look at this" or "bodie_, I'll be able to review it next thursday" or something other than... ya know, nothing02:14
davecheneyhe told me that martin is reponsible for landing your stuff02:14
davecheneyso, all i know is eveyrone knows a different story02:14
bodie_TheMue has replaced martin for working with the actions team02:14
bodie_I'm just trying to make things work, man :)02:15
bodie_if we have a blocker, I need to figure out how to get around it02:15
davecheneybodie_: yup, i hear you02:15
perrito666ok, lets do this I have a decent overlap with all of you guys, mostly because I have no life and I hardly sleep, bodie_ could you privmsg me with a brief on what you need? davecheney could you tell me what alexis told you so I can try to unlock it tomorrow?02:16
bodie_maybe you could either respond to that comment, or make a mention to them in #jujuskunkworks, either of which will take no more than 20 seconds02:16
bodie_that way they won't feel like you own the thread02:16
bodie_or, I can pass it along tomorrow, or I can wait for your response when you're able02:17
bodie_I just want to know what to expect so I can be effective here02:17
bodie_lol02:23
davecheneythumper: good news02:47
davecheneyupstream have a fix for the gccgo crash02:47
davecheneynow comes the hard part ...02:47
thumpergetting it into ubuntu?02:47
davecheney:P02:47
davecheneythumper: https://code.google.com/p/gofrontend/source/detail?r=75739d37742603:08
davecheneywe have a fix03:08
davecheneywhat's the best way to report this ?03:08
davecheneyan issue on ubuntu/gccgo ?03:08
thumperI guess03:09
davecheneyright-o03:09
davecheneyi'll try that03:09
davecheneymight need you and sinzui to ride shotgun on this one03:10
thumperwho is in charge of gccgo?03:10
thumperinside canonical?03:10
davecheneydokku maybe ?03:11
davecheneythe lack of an owner probably explains why the last fix hasn't landed for 5 months03:12
mwhudsonthumper, davecheney: i have some gccgo patches i want in ubuntu too03:32
mwhudsonthumper, davecheney: i think the official process is "hound doko relentlessly"03:32
thumpermwhudson: I suggest we push through alexisb to pat03:32
thumpermwhudson: who does doku report to?03:32
mwhudsonthumper: slangasek i think03:32
mwhudsonbtw, there is already a newer gccgo in trusty-proposed03:33
mwhudsonhave you guys tried that?03:33
mwhudson(it obviously doesn't fix this problem that just got fixed, but doko will probably ask...)03:34
davecheneymwhudson: thumper `https://bugs.launchpad.net/ubuntu/+source/gccgo-4.9/+bug/136290603:34
mupBug #1362906:  internal compiler error: in comparison, at go/gofrontend/expressions.cc:6508 <gccgo-4.9 (Ubuntu):New> <https://launchpad.net/bugs/1362906>03:34
davecheneymwhudson: nope, wasn't fixed until 30 minutes ago03:35
davecheneymwhudson: pls mail thumper and I with your bug numbers03:35
davecheneyi'll add mine03:35
davecheneyand it'll be another thing on alexisb 's plate03:35
mwhudsonhttps://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/136194003:35
mupBug #1361940: patches for cgo on arm64 <patch> <gcc-4.9 (Ubuntu):New> <https://launchpad.net/bugs/1361940>03:36
mwhudsondavecheney: this is all for cgo though, that probably shouldn't be on alexisb's plate?03:36
davecheneyif it doesn't affect juju or other canonilcal developed products03:36
davecheneyprobably not03:36
mwhudsondocker docker docker03:37
davecheneydocker docker docker malkovich docker03:39
ericsnowaxw: do you mind if I add another 10 files and 500 lines to that backups PR <wink>04:08
bodie_lol04:09
ericsnowaxw: but seriously, thanks (to you, davecheney, and waigani) for the reviews04:09
ericsnowthe rest of my backups patches are *much* smaller04:10
waiganiericsnow: welcome04:11
ericsnowwho controls the juju account on github?04:14
axwericsnow: :)04:15
axwnps04:15
axwericsnow: all the team leads are owners I believe04:16
ericsnowaxw: okay04:16
ericsnowaxw: I'll bug nate about it tomorrow04:16
ericsnowaxw: nps?04:17
axwericsnow: no problems04:26
ericsnowaxw: I figured as much04:26
wallyworldaxw: thanks, i was wondering about wording of that message. i wanted to explicitly call out that there could be an instance running; but as you say, i think mentioning destroy --force will be enough04:46
axwcool04:47
=== mup_ is now known as mup
wallyworldaxw: i think testing failure bug 1202039 is either fixed, or will be with your current work?06:25
mupBug #1202039: Provider tests are architecture-specific <arm64> <feature> <i386> <ppc64el> <test-failure> <juju-core:Triaged> <https://launchpad.net/bugs/1202039>06:25
axwwallyworld: I think they're already working on i386 on ppc64 right? so it's fixed already?06:27
axwCI runs the tests on i386 and ppc64 I'm pretty sure06:28
wallyworldaxw: yeah, that was my thinking too, i'll mark as fix committed06:28
wallyworldjust wanted to double check06:28
=== uru_ is now known as urulama
mattywmorning all07:36
TheMuemorning08:00
TheMuedimitern: ping08:58
dimiternTheMue, hey09:00
TheMuedimitern: as I as OCR cannot review myself would you mind to take a look at https://github.com/juju/juju/pull/626 ;)09:01
TheMuedimitern: and morning btw :D09:01
dimiternTheMue, sure :)09:01
TheMuedimitern: thx09:02
axwwallyworld: just noticed I cannot edit the bugs doc09:04
axwwould like to strike out a line09:04
wwitzel3fwereade: ping09:34
wwitzel3wallyworld: got time to chat about a test I want to try and fix?09:46
rogpeppe1anyone know how to get a list of all charms? i used to use http://manage.jujucharms.com/api/2/charms?text= but it doesn't seem to produce many results now09:47
=== meetingology` is now known as meetingology
wwitzel3rogpeppe1: manage.jujucharms.com is still how I know how to get a list of them09:51
=== Tribaal_ is now known as Tribaal
rogpeppe1wwitzel3: do you have a better URL than that?09:51
rogpeppe1wwitzel3: i only get about 34 out of that09:51
wwitzel3rogpeppe1: sounds like you're getting trusty only09:52
rogpeppe1wwitzel3: actually 20 only09:52
wwitzel3oh .. hrmm09:53
wwitzel3there are 38 charms for trusty .. so if you're only getting 2009:53
rogpeppe1wwitzel3: it looks like there's a limit kicking in, but adding limit=100, for example, doesn't give me any more09:53
rogpeppe1wwitzel3: have you actually got a current-ish list, by any chance?09:54
wwitzel3rogpeppe1: https://manage.jujucharms.com/charms/trusty09:54
wwitzel3rogpeppe1: that's the HTML version if that helps anyway09:55
rogpeppe1wwitzel3: it's a hassle (i'll have to manually scrape the html) but better than nowt09:55
wwitzel3rogpeppe1: sadly it doesn't do an ajax request (that I can see) to get the results09:56
=== jcsackett_ is now known as jcsackett
wwitzel3rogpeppe1: was hoping it might be using the API to render that list09:56
rogpeppe1wwitzel3: yeah09:56
rogpeppe1wwitzel3: it's annoying because it *did* work once. i even wrote a little program to automate getting all charms.09:57
wwitzel3rogpeppe1: yeah, according to the lp repo for that API it hasn't changed since 2013-1010:04
wwitzel3rogpeppe1: but something must have :/10:05
rogpeppe1wwitzel3: well, the last-modified time on my getcharms.go file is 2013-08, so the 2013-10 change might've broken it i guess10:06
rogpeppe1wwitzel3: which lp repo is it, BTW?10:06
wwitzel3rogpeppe1: also doest his give you better results http://manage.jujucharms.com/api/3/search ? that isn't techincally an unstable API, but if 2 stopped working for you10:08
wwitzel3rogpeppe1: https://code.launchpad.net/charmworld10:08
rogpeppe1wwitzel3: i only see 41 results there10:08
rogpeppe1wwitzel3: (assessed by searching for "files": in the JSON :-))10:09
=== psivaa is now known as psivaa-off
=== ev_ is now known as ev
wwitzel3rogpeppe1: http://bazaar.launchpad.net/~juju-gui-bot/charmworld/trunk/view/head:/charmworld/search.py#L14110:23
wwitzel3rogpeppe1: I feel like someone else was running in to this 20 limit thing recently10:24
rogpeppe1wwitzel3: i tried using limit=999910:25
dimiternTheMue, reviewed10:32
dimiternTheMue, ping me if something is not clear please :)10:32
TheMuedimitern: yeah, seen a lot of it (and commented some back). thanks a lot, will mark it as wip and continue10:32
dimiternTheMue, cheers!10:33
wwitzel3rogpeppe1: yeah, sorry I couldn't get it working, the code itself seems to respect limit, but then overrides it somewhere with that default10:33
rogpeppe1wwitzel3: yeah, i couldn't see where that happens.10:35
rogpeppe1wwitzel3: and the limit doesn't always appear to be 20 though10:35
dimiternTheMue, about the dummy provider running "unsafe" networker - it certainly makes sense to use "safe" by default, but there should be a way to test the "unsafe" one if needed - we can isolate what the networker does from the system (config, interfaces), so it's fine10:35
TheMuedimitern: is it ok to do this in a second, follow-up PR? this one already grows and grows. ;)10:36
wwitzel3rogpeppe1: yeah, if you leave it off all together, it seems to be 4110:37
dimiternTheMue, i'm not saying to add more tests, just to tweak the dummy provider a bit so RequiresSafeNetworker can return true or false, just by adding a useSafeNetworker bool in the dummy provider struct and a SetUseSafeNetworker(bool) method on the dummy provider to set that flag10:38
dimiternTheMue, it's like 5-6 more lines :)10:39
rogpeppe1wwitzel3: actually no, with a more accurate count, it always seems to be 2010:39
rogpeppe1wwitzel3: (counted with http://paste.ubuntu.com/8177535/)10:40
TheMuedimitern: ah, ok, haven't been sure that in this case the "unsafe" (/me still not really happy with that term) doesn't make any harm to the own system10:41
dimiternTheMue, should we do a quick standup?10:46
TheMuedimitern: yes, already comming10:46
=== bodie_ is now known as Guest3502
=== uru_ is now known as urulama
=== ev_ is now known as ev
=== urulama_ is now known as urulama
=== BradCrittenden is now known as bac
perrito666wallyworld: is there any assigning system for the tests that need rework?12:37
wallyworldperrito666: raise a bug and assign yourself to it. cross out the item in the doc so others can see there that that one is taken12:38
wallyworldmany failing tests already have bugs12:39
wallyworldso if you go to raise a bug, it should tell you if there is one already12:39
wallyworldinclude the test name in the bug description12:39
wallyworldso that it has a better chance of finding any dupe12:40
perrito666I guess that created bugs are more important than the ones not yet there12:41
wallyworldno necessarily12:42
wallyworldthere's failures that people haven't created bugs for12:42
wallyworldand i found today that bugs i looked at had already been fixed12:42
wallyworldbut the bugs were still open12:42
=== jheroux_away is now known as jheroux
wallyworldso pick a failure that you think you can fix - all fixes are good12:43
katcowallyworld: interesting, i can't add an event to the team calendar =/12:43
wallyworldkatco: that's no good, that means you are not allowed to have the holiday12:44
katcowallyworld: you are  afunny one ;)12:44
wallyworldoh, you think i was joking12:44
wallyworld:-P12:44
katcowallyworld: we're planning on going to our botanical garden's japanese festival :)12:44
wallyworldcool, sounds fun12:44
katcooldest and largest in the country!12:44
wallyworldwell, that's something i didn;t know12:45
katcohttp://www.missouribotanicalgarden.org/things-to-do/events/signature-events/japanese-festival.aspx12:45
katcooops, says "one of" the oldest/largest12:45
wallyworldah, you americans always exaggerate12:46
wallyworldworld series baseball = usa plus canada12:46
perrito666I am amazed on how US people actually measure things in order to be able to have "the largest" for almost anything :p12:46
katcohey we are THE BEST at exaggerating. no one is better, anywhere.12:46
perrito666wallyworld: its like in columbus times "the known world"12:46
katcoand me? i'm the most humble person alive.12:47
wallyworldyou too?12:47
wallyworldwe can't both be12:47
katcohey i'm WAY more humble12:47
wallyworldof course12:47
katcolol12:47
wallyworldyou have reason to be12:47
katcoLOL12:47
katcoso nice to work with people who appreciate a dry sense of humor :)12:47
wallyworlddon't know what you mean12:47
perrito666lets say each of you is the humblest in his/her timezone12:48
katcowhat did you ask me yesterday? have i told you today?12:48
wallyworldlol12:48
wallyworldno you haven't12:48
katcofark off! haha12:48
wallyworld:-( you hate me12:48
perrito666wallyworld: dont be like that, we all hate you, its because you are a manager12:49
wallyworldperrito666: oh, that's a low blow12:49
katcohaha12:49
wallyworldway to hurt a guy12:50
katcono, wallyworld, i definitely don't hate you. i quite like working with you, axw, and everyone i've had the pleasure to work with so far12:50
katcowith the exception of mgz_, traitor!12:50
wallyworldkatco:  i was joking :-)12:50
perrito666katco: nahh, dont piss off the guy that can lock your commits12:51
mgz_;_;12:51
katcohaha12:51
katcomgz_: i kid, i kid!12:51
* perrito666 accidentally spills yerba all over his kb12:52
wallyworldwwitzel3: sorry i missed your ping before, i was at soccer. did you still have a question?12:56
katconeed to cycle my server, brb13:05
=== mthaddon` is now known as mthaddon
perrito666wallyworld: I cant write the doc either13:12
wallyworldperrito666: i changed the permissions, have you tried refeshing?13:13
perrito666tx13:14
natefinchperrito666: you around?13:33
wwitzel3wallyworld: yeah, I was going to try to fixup a test from the list13:33
perrito666natefinch: I am I though you where not here13:33
natefinchperrito666: yeah, sorry, busy morning.  I'm in the hangout on the calendar event13:33
wallyworldwwitzel3: ok, or it can be any other one you may have come across that isn't there13:34
wallyworldor it can be improving the cmd/juju tests to use mocks13:34
mattyw_dimitern, do you have 10 minutes spare for a quick question, possible via a hangout13:35
dimiternmattyw_, sure, just give me 15m13:36
mattywdimitern, great, just ping when it's a good time13:44
=== Guest3502 is now known as bodie_
perrito666natefinch: interesting fact, cold medicine hinders my already low spoken english skills :p13:52
natefinchperrito666: haha13:53
natefinchperrito666: btw, it's "beats around the bush"13:53
perrito666ahh well close enough13:53
natefinchyeah, I knew what you meant13:53
perrito666natefinch: it is hard to translate those, the spanish one is nothing like it13:54
natefinchyeah... those kind of sayings are kind of crazy, because the actual words don't make any sense13:54
perrito666literal translation of spanish one is "dodges the lump"13:54
perrito666to give you an idea13:54
natefinchrofl13:54
perrito666of how far it is13:54
perrito666omg, even though its not ergonomic I must say, thinkpad keyboard that emulates the one in the laptop is awesome13:58
perrito666I wish I had found a newer one, I actually got one ibm branded :p13:58
natefinchhaha13:59
perrito666I also with it was bt, this one actually has a 2.5M cable :p14:01
katcois there a place we could put consts representing config key-strings? seems silly and error-prone to repeat them all over the codebase.14:14
dimiternkatco, how about in environs/config ?14:16
katcodimitern: that seems like a fine place14:17
katcodimitern: could probably even put it in environs/config/config.go14:17
katcodimitern: is this a small enough shift that i can just introduce this concept? :)14:18
dimiternkatco, go for it :)14:19
katcodimitern: awesome, thanks for the input! :)14:19
marcoceppi_hook execution question14:20
marcoceppi_do hooks in a service group execute serially or is that only on the unit level?14:21
katcoboy documenting all public values seems silly sometimes14:23
katco// ProvisionerHarvestModeKey stores the key for this setting.14:23
katcoProvisionerHarvestModeKey = "provisioner-harvest-mode"14:23
perrito666ahh tautological comments14:23
perrito666katco: you could expand on what exactly does that key means14:24
katcoi know... i understand wanting good documentation, but an absolute rule doesn't make sense14:24
katcoperrito666: that's already covered in the actual setting14:24
katcoperrito666: this is literally the key to get the setting in the map14:24
katcoi especially dislike repeating the name of the thing in the comment. hungarian notation all over again.14:25
bachi marcoceppi_14:47
marcoceppi_hey bac14:47
bacmarcoceppi_: lazyPower_ has filed a bug regarding supporting tags as a constraint for MAAS.  you've seen it i think.14:48
marcoceppi_bac: yup14:48
bacmarcoceppi_: in the definition tags are a comma-separated list.  until now we've marked bundles with constraints listed as a comma-separated as deprecated.  clean implementation of tags will require us to reject those deprecated bundles.14:49
baci.e. constraints: 'k1=v1 k2=v2 tags=a,b,c' is valid bug 'k1=v1,k2=v2' is not14:50
marcoceppi_bac: the error we're getting is tags is not a valid constraint14:51
* marcoceppi_ checks the bundle file14:51
bacmarcoceppi_: yes.  i'm trying to fix that.14:52
marcoceppi_oh, I see14:52
marcoceppi_one sec14:52
bacmarcoceppi_: to properly support tags will require not allowing comma-separation in the other constraint key value pairs14:52
marcoceppi_bac: maybe constraints are all wrong14:53
bacis it possible to run charm-proof against the set of all bundles to see if it is even an issue?14:53
marcoceppi_maybe they should be a YAML list14:53
marcoceppi_bac: I can download them all and see14:53
bacmarcoceppi_: that would be great14:53
marcoceppi_constraints:14:53
marcoceppi_  - key: v114:53
marcoceppi_  - key1: v214:53
marcoceppi_hazmat: ^^14:53
bacmarcoceppi_: that may be the best long term solution but i thought you needed a fix now.14:54
marcoceppi_well, I'll look at all the bundles we have14:55
marcoceppi_and see what each is doing for constraints14:55
bacchanging proof rules already touches way too many parts...14:55
=== hatch__ is now known as hatch
TheMueoh, bugfix by accident, nice. field of a struct has been prepared but never been set. now I deeded it.15:01
perrito666TheMue: lol15:01
TheMueperrito666: yeah, gave me a panic during tests :D15:02
perrito666TheMue: which one (bug)? just in case15:04
TheMueperrito666: it never has been filed. it has been a field for checking the authorization of reading a machine15:05
TheMueperrito666: the function (it's a function type) has been created, but the field never set15:06
TheMueperrito666: and I now wanted to check if I can read => *bang*15:06
perrito666ouch, I wonder if its there on the bugs ian added to the doc which are not all reported15:06
TheMuehave to check15:09
=== jheroux is now known as jheroux_away
natefinchAnyone up for reviewing my log rotation change?  It's pretty small: https://github.com/juju/juju/pull/51215:57
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1363130 1363143
mattywnatefinch, I'll take a look16:18
perrito666mattyw: what is a vanity url?16:25
mattywgithub.com/perrito666/projectname16:26
mattywperrito666, A url with someones name in it16:26
mattywperrito666, I'm not happy with the name vanity url either :)16:26
mattywbut that's what they're called in the mailing list16:27
mattywand who am I to go against consensus?16:27
perrito666I would think a vanity url is something like beautifulpopleonly.com/perrito666/thewonderfulwonderfulman/16:27
perrito666:p16:27
perrito666now that is a vanity url16:28
jcw4perrito666: can you get me one like that too?16:32
perrito666:p16:32
mattywperrito666, I'd be happy with that one - at least make it obvious16:32
mattywperrito666, what I'm happy and not happy with is inconsistent and changes daily16:33
perrito666we might want to rething our mentor policy to not be 12 hours distance with our reviewers16:33
jcw4perrito666: quit complaining... you're on here 24/7 anyway16:34
perrito666jcw4: Id say around 2016:34
perrito666but yes16:34
jcw4:)16:34
perrito666its the corners of the week which are a problem, my mentor will not be here until sunday (my sunday)16:35
jcw4yeah, that's a bummer.16:35
mattywperrito666, how many corners does a week have? I thought they were circular?16:35
mattywthey feel circular sometimes16:35
jcw4I have to say though, working with folks all over the globe make it more than worth it for me :)16:35
perrito666if weeks where circular in two days it would be last monday16:36
jcw4spiral then16:36
perrito666uff, this bug is a heavy thing to pinpoint, I am pretty sure I know what is going on, I am not so sure on the how part16:37
bodie_my weeks have no corners, only hills and valleys16:38
natefinchperrito666, mattyw: a vanity url, in the context of Go is a url which is not the same as the url to the repo.  So, for example, the package that gets imported when you do import "labix.org/v2/mgo"  is actually hosted on launchpad, so the real url is launchpad.net/mgo (or something like that).16:43
mattywnatefinch, I didn't know that - thanks very much16:46
natefinchmattyw, perrito666: Go supports this through the go tool which, if it doesn't recognize the url of the import path, will fall back to trying to get a web page from that URL, and it'll look for a header that looks something like <meta name="go-import" content="labix.org/v2/mgo bzr https://launchpad.net/mgo">16:46
natefinchIt's pretty nice because it means that if you control the domain, you can move your code from one host to another and not break anyone else's code that imports using the vanity url.16:47
mattywnatefinch, now I know the proper definition of vanity url my comment probably makes no sense16:51
mattywnatefinch, I was just wondering if accepting a number of dependencies that had team members names in was ok16:52
mattywhas anyone else seen this error using the local provider on tip? http://paste.ubuntu.com/8180167/16:53
perrito666mattyw: are you sure your code is up to date?16:58
mattywperrito666, it was tip16:59
perrito666mattyw: looks a lot like someone made one of those automatic changes on the code and forgot to change a return somewhere17:00
mattywperrito666, I was trying to recreate this https://bugs.launchpad.net/juju-core/+bug/1363143 but I can't even get that far17:01
mupBug #1363143: local lxc deployments fail to create machines <ci> <local-provider> <lxc> <precise> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1363143>17:01
perrito666mattyw: checking17:01
alexisbperrito666, the mentorship matching is my fault, we did the best we could but most of the mature skills on the team are in +12 timezone, you are one of the few with potential overlap17:01
perrito666alexisb: sorry didnt meant to make you feel bad17:02
perrito666mattyw: and this blows running bootstrap right?17:02
mattywperrito666, yeah17:02
* jcw4 wonders about relocating to UTC+1217:02
jcw4;17:02
jcw4)17:02
jcw4;) even17:02
perrito666mattyw: rm /pkg/* on your go path and then recompile17:02
alexisbyes perrito666 I feel terrible, I may never recover from your slam ;)17:03
wwitzel3lol17:03
natefinchmattyw: btw, your comment is actually correct - gopkg.in/natefinch/lumberjack.v2 *is* a vanity url.  It redirects to github.com/natefinch/lumberjack at the v2 branch.17:03
perrito666this will so cost me beer on the next sprint17:03
alexisbperrito666, you should feel tremendously guilty on my behalf17:03
alexisblol totally17:03
alexisbo wait17:03
alexisbnot thumber buys the beer remember17:04
mattywperrito666, same problem17:04
alexisbno, thumber buys the beer, remember?17:04
natefinchclose17:04
natefinchone more try?17:04
perrito666we can levenstein from there17:04
natefinchlol17:04
mattywperrito666, I'm about to EOD to be honest, maybe we can take a look at it on monday?17:04
alexisb:)17:04
perrito666mattyw: sure, ping me, honestly looks like a red herring17:05
natefinchmattyw: btw, the reason it's not under juju is because it's my personal code written during off hours.  Otherwise, yes, absolutely, anything written during hours is Canonical's and belongs under github.com/juju17:05
mattywperrito666, ok cool17:06
natefinchmattyw: in theory, the code is MIT licensed and anyone could just fork my repo to put the code under github.com/juju17:06
natefinchbut some might consider that rude17:06
perrito666that would remind me the early days of google chrome17:07
perrito666absolutely all of the deps from the project had been imported into the project svn17:07
perrito666from here it was a 3 or 4 hs checkout17:07
natefinchouch17:08
natefinchgood old SVN17:08
mattywperrito666, I like red herrings17:08
natefinchtasty with a little lemon and butter17:08
mattywperrito666, I might be able to work it out for myself once I've slept :)17:08
perrito666I only ate herring once in my life, in amsterdam, there was this kiosk next to the canal that made raw herring sandwitches17:09
perrito666mattyw: try coffee, has pretty much the same effect17:09
mattywnatefinch, my point is probably pretty academic as all the code is on github anyway17:10
natefinchmattyw: it's a valid point... if it were canonical's code, it should be represented as such, and under canonical's control.  But it's not, so it's not :)17:10
mattywnatefinch, I just don't want to end up in the situation where core relies on changes landing in your project but you want to take the project in another direction17:11
mattywnatefinch, but we can cross that bridge if it comes - and there are many ways of fixing it17:11
natefinchmattyw: that would be a perfectly valid reason to fork the project, and like I said, it's MIT, you can just do that.17:11
natefinchmattyw: exactly17:11
natefinchmattyw: especially for a package that's used in exactly one file... it's trivial to change.17:11
mattywfolks - it's time for me to call it a day17:17
mattywhave a good weekend all and I'll speak to you on monday17:18
wwitzel3see ya mattyw17:19
TheMueso, off for today, have a nice weekend17:24
perrito666TheMue: likewise17:26
perrito666I might be wrong here, but does this sounds like a huge isolation bug to anyone else? https://github.com/juju/juju/blob/master/juju/testing/conn.go#L42617:58
=== mup_ is now known as mup
natefinchperrito666: certainly seems like something that should be exposed by MgoServer not something the suite is figuring out.18:01
perrito666natefinch: I am a bit worried about the shared nature of the mongo server also18:02
perrito666https://github.com/juju/testing/blob/master/mgo.go#L3518:02
natefinchperrito666: yeah18:02
natefinchperrito666: that very well could be why some of our tests are failing... they're running at the same time and then the streams cross and boom18:02
perrito666The failure I am looking at (only have a few logs) seems to be triggered by the test assuming the server is alive and trying to connect but it gets auth fails, which makes me think its hitting someone else's server18:03
natefinchhmm could be18:03
natefinchperrito666: this may actually not be that bad18:06
natefinchperrito666: each package runs tests as an independent process18:07
ericsnowanyone have a little time to give a follow-up review?18:07
ericsnowhttps://github.com/juju/juju/pull/60618:07
natefinchericsnow: is there a reason you need to hide the fields of the archive?18:10
ericsnownatefinch: I guess not...I've been trying to make things private by default and avoid exposing them if possible18:11
natefinchericsnow: for things that are just data... don't bother.... and this is definitely just data18:12
natefinchericsnow: I'm used to the same pattern from past experience, too.  But honestly, if someone wants to change the filename after the make a new Archive.... who cares?18:12
natefinchit simplifies the code a bunch not to hide the values - you don't need a constructor and don't need the getters18:13
ericsnownatefinch: Archive is one of the types that I actually think might be used outside of juju, so I wanted to be extra careful there to keep the interface clear18:14
ericsnownatefinch: those fields are just implementation details18:14
ericsnownatefinch: it's the getters that expose the structure of the archive file18:15
natefinchericsnow: it's not really an implementation detail if you're just returning what you got passed in.  It's just data18:17
natefinchericsnow: unless you need the functions to fulfill an interface18:18
ericsnownatefinch: yeah, the fields are not part of the interface I care about here.18:19
ericsnownatefinch: so you make a good point18:20
natefinchericsnow: it's not that the way you have it is wrong, it's just somewhat more complicated that necessary.  Not that it's actually complicated at all, of course - the functions are trivial.18:23
ericsnownatefinch: yeah, I've run into that several times and it's always tempting to just make fields/types public because it simplifies things to much18:25
ericsnownatefinch: in some cases I did so because keeping them private wasn't worth it18:25
natefinchericsnow: I've come to the conclusion that the only time I need to make fields private is when there are interactions between different fields that would be invalidated if the fields were updated after construction.... like if you were generating the DBDumpDir just one time in the constructor.18:27
ericsnownatefinch: yeah, the caching case18:27
bacping lazyPower_18:31
lazyPower_hey bac18:31
lazyPower_sorry i saw teh pings while i was out and about checking on my phone18:31
lazyPower_you're looking for an example bundle with tags as constraints yes?18:31
bacyes i am18:31
baclazyPower_: any that are blocked18:31
lazyPower_bac: i edited the bundles for promulgation18:33
baclazyPower_: so you took the tags out?18:34
lazyPower_sure did. I pointed the resource to the charm store, and removed the tags as constraints - and left a note in the bzr log + MP that i had done so for promulgation.18:35
lazyPower_https://code.launchpad.net/~kirkland/charms/bundles/transcode-cluster/bundle18:35
lazyPower_this was the hottest culprit, as the orange-box bundle has tags to denote NFS and TRANSCODE should go on hardware / physical nodes18:36
baclazyPower_: ok.  i mean it is trivial for me to come up with test bundles but i thought i'd run my charm proof against the real ones.18:36
lazyPower_bac: well that submission would be a great one to look at18:36
bacoh, the famous transcoder...18:37
lazyPower_famous? :D18:37
baclazyPower_: minimally.  :)18:40
baclazyPower_: that bundle is actually trivial wrt constraints.18:40
lazyPower_indeed. very minor set of constraints - it was throwing the charmworld proofer through loops though18:41
baclazyPower_: i've got a charmworldlib fix that i'll put up for review soon.  it'll require a small code change to charmworld and a redeploy, which cannot happen until monday18:41
lazyPower_when i run charm proof --offline  it passes.18:41
baclazyPower_: you're not currently blocked so monday should be fine, correct?18:41
perrito666natefinch: yes, but that still leaves a whole package to race against18:55
perrito666I mean, you cannot guarantee that a mgo server died properly in the last test18:55
natefinchperrito666: well, the tests are run in series, not in parallel, so there's no concern as long as the setup and teardown do the right thing18:57
perrito666natefinch: I believe the tear down might be failing19:08
perrito666this is a heisembug so I might try to make sure this is isolated and hope for the best19:09
bodie_https://github.com/juju/juju/pull/617 should be done now19:29
bachi marcoceppi_, when you get a chance could you look at this charmworldlib branch for the constraints issue: https://codereview.appspot.com/131710044/ ?19:31
marcoceppi_bac: I wonder if there's a limit to characters that can be in a tag/constraint19:39
marcoceppi_nvm19:39
marcoceppi_ignore what I'm saying19:39
* bac ignores you19:39
* bac listens again19:40
natefinchericsnow: is backups.create actually used anywhere?19:50
ericsnownatefinch: not until the next patch19:50
natefinchericsnow: ahh ok19:50
ericsnownatefinch: I linked it in the PR summary19:51
natefinchericsnow: aww... reading?! :/19:57
=== urulama_ is now known as urulama-afk
perrito666aghhh I believe I foundiiiiiittttt20:55
natefinchhuzzah!20:55
perrito666ish, someone might be re-setting the mgoserver but I cannot find who yet :p20:59
=== mup_ is now known as mup
=== lifeless1 is now known as lifeless
=== perrito6` is now known as perrito666

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