19:06:38 #startmeeting Public Core Meeting - 2016-05-03 @ 19:00 UTC 19:06:38 Meeting started Tue May 3 19:06:38 2016 UTC. The chair is nitzmahone. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:06:38 Useful Commands: #action #agreed #halp #info #idea #link #topic. 19:06:38 The meeting name has been set to 'public_core_meeting_-_2016-05-03_@_19:00_utc' 19:07:14 #topic discuss https://github.com/ansible/ansible/pull/15134 19:07:34 this is a jinja2 search path issue 19:07:44 in my specific use case is with the role 19:07:50 but i believe it's a generic issue 19:08:01 that if you have 'include' statement in your j2 template 19:08:13 and that's not on the current path 19:08:19 it can't find that file 19:08:55 here is the sample template file 19:09:03 bcoca: any update on thta ^ 19:09:13 github.com/keinohguchi/ops-switch-role/templates/main.j2 19:09:38 which include some *.j2 files from role's templates path 19:09:49 as ops-switch-role/templates/ops_bridge.j2 19:12:09 bcoca: Maybe we should apply this fix for now and then revert later when it's fixed more generically? 19:12:38 abadger1999: i don't mind that approach. :) 19:12:53 i just want to have my role up and running 19:12:55 that's all. :) 19:13:04 Figured, that would be good for your use case ;-) 19:13:27 and since it's net_template.py 19:13:38 all the networking module people have this feature up and running 19:14:08 hope i'm not the only one who loves j2's include statement. :) 19:14:44 Okay, bcoca must be busy with something else... I'll pose that as an option in the issue and we can get back to it if bcoca is able to join later in the meeting. 19:15:08 abadger1999: sounds good! 19:15:13 #chair alikins abadger1999 19:15:13 Current chairs: abadger1999 alikins nitzmahone 19:16:46 Alright -- is there another PR that people here want to discuss? 19:16:53 If not, we can move on to #80 19:17:37 #topic SLA for shipit https://github.com/ansible/community/issues/80 19:18:06 gregdek, rbergeron, bcoca, jimi|ansible: any of you around to talk about the SLA for shipit? 19:18:27 not seen gregdek today 19:18:32 I agree we need something like it. 19:18:54 I am here, but not sure gregdek is, and i think we need more than... just robyn 19:19:00 k 19:19:19 rbergeron: I don't recall whether shipit is just for extras? Or is it core and extras now? 19:19:34 by shipit, do we mean 2xship its 19:19:58 gundalow: i believe it is the "once it gets the shipit label" 19:20:09 rbergeron: hey :) 19:20:14 by whatever means that is (2x, or whatever in the future) 19:20:29 cool, so that's "the whatever the Bot believes is the correct number", sounds good 19:20:48 then XYZ should happen in that time frame: either merged, or since it gets eyeballs from the core team, gets put back into needs_revision 19:20:53 just not... sitting around waiting forever 19:21:22 but: abadger1999 - to your question -- the core / extras question is a good one. 19:21:37 So does this break down to 19:21:45 1) How well are we doing at meeting that target 19:21:49 and i think (a) without other folks saying "yes i feel like 2 weeks is a good time frame" (i mean -- i am happy to commit people to whatever, but it's pointless if that's not feasible) 19:21:52 2) How can we hit that target 19:22:03 3) is 2 weeks sensible 19:22:25 slas without metrics are difficult. 19:22:27 (b) without having a bit more clarity on core / extras -- ... maybe hanging on and having a bit more discussion in the issue woudl be useful to clarify things 19:22:31 where (2) means do we need to repeatably poke people 19:22:32 Lurking 19:22:38 jtanner: aye, that's my view 19:22:45 hey lurker 19:23:04 jtanner: yeah, and i know mr. mckerr has been poking at getting better metrics on things 19:23:13 I don't pretend to speak for the rest of the core team but I'd be very happy with 1 week in extras. core we can do 2 weeks, see if it's working and then move to 1 week if that seems sane. 19:23:38 +1 for make a decision, get on withit, adjust if needed 19:23:45 but i also feel like if we don't just ... pick something, we might wait forever -- i would rather strive for something and then fine tune once we have the metrics also fine-tuned 19:23:50 i think the sla is going to have to flexible until we know if we're hitting it at the aggregate or not 19:24:08 because right now the metrics he's started poking at are like "average over the course of the whole frickin repository" and ... that's hard to start making a dent in 19:24:11 start with 1-2 weeks, measure, re-eval, repeat 19:24:21 jtanner: yep 19:24:22 per repo / topic 19:24:30 2 wks is fine by me. 19:24:31 topic? 19:24:54 i can't gaurantee a 2 week sla on cloud modules if i don't have cloud credentials to work with ... for example 19:25:18 Shipit is most critical because it represents maintainers work. 19:25:18 jtanner: I think the idea is... if it doesn't get eyeballs in 2 weeks, then it gets merged. 19:25:22 ah, OK. wasn't sure what "topic" meant in this context. Sounds sensible 19:25:37 abadger1999: so auto-merge? 19:25:41 in core and extras? 19:25:49 Core and extras can have different standards. 19:26:07 And should ultimately. 19:26:25 * rbergeron nods 19:26:27 * gundalow 's inner QA starts screaming 19:26:27 jtanner: yeah, definitely for extras ... core I'd lean towards it but I can see how we'd want to trial that some other ways first. 19:26:36 But in either case, we don't want to leave shipits waiting. 19:27:00 gundalow: note -- shipit is suppsoed to mean that it has seen QA -- just not by someone capable of merging it on their own. 19:27:04 auto-merging extras after 2 weeks sounds sensible 19:27:12 re shipit... why doesn't 'shipit' mean 'merge it now' ? 19:27:25 alikins: good point well made :) 19:27:26 It once did in extras. 19:27:32 And may again. 19:28:00 abadger1999: who can give shipits on modules-core? 19:28:04 But it's been good to have the extra eyes. 19:28:31 The module maintainer gives shipit in both. 19:29:03 But what shipit means? It's ok if that's slightly different between core and extras. 19:29:12 OK 19:29:54 * gregdek afk again. 19:31:07 Alright -- so what do we want to do from here? 19:31:08 hum, so different process for new modules, as they don't have a module maintainer ansibullbot/MAINTAINERS-$repo.txt, or does that drop back to the Core Team? 19:56:36 this puts a clock on that: "core team has 2 weeks from when (authorized person) says shipit to merge, block, or it gets automerged: 19:56:37 alikins: ideally, anyway :) hopefully it is just okay by community folks but for whoever takes a look at it before actually merging it... sometimes there are lingering "ooh, maybe this wasn't a good idea" when they take a quick eyeball 19:56:46 (1) +1 19:56:47 (2) I'd be okay with too but ithink that's part of a more ambitious change to how we perceive extras. 19:56:47 I guess my big wish here would mostly be that if it gets -1 by a core team person, that we either make it clear that after the contributor makes the requested changes, that anyone can either give it a +1 again for shipit, or that that core person comes back and looks at it 19:56:47 because sometimes it turns into the cookie licking effect 19:56:48 "ohhh, a core team person blocked it, so we're all just gonna step aside now" 19:56:48 is shipit limited to any certain types of PRs? 19:56:48 and i don't want that to ... slow it down in getting back to shipit again 19:56:48 feature/bugfix/docs/etc ? 19:56:49 LOL @ "cookie licking" 19:56:49 http://communitymgt.wikia.com/wiki/Cookie_Licking 19:56:50 jtanner: no. It is limited to certain repos and ithink we're not discussing new modules right now (those would have both new_module and shipit labels) 19:56:53 jtanner|t420: i don't think so. and at this point we don't really have a way to differentiate between feature and bugfix, it's just either code or docs (at least via the bot) 19:56:53 or "new module" which we can tell because it's a pr for something that doesn't exist yet 19:56:53 rbergeron: agreed, we've had a number of PRs stall for that exact reason 19:56:53 i'm just pondering if the 2 week automerge is going to work if someone needs to make a fast bugfix on a recently broken module 19:56:54 or even a revert 19:56:54 jtanner: the hope there would be that we review it instead of relying on the automerge. 19:56:55 If it's urgent wouldn't someone from core be aware and actively following it? 19:56:55 exactly- the automerge is the sword of damocles, not the happy path 19:56:55 not in extras 19:56:55 nitzmahone: yeah, i've seen lots of people just say "well, waiting to see what $coreteamperson says since they had misgivings" and unless they come back, everyone just kind of ... waits for that 19:56:56 If we find it's a problem, we'd have to think of something else... automerge in less time, better escalation path, more community committers, etc. 19:56:56 "better review it or it's going in anyway" 19:57:01 i think most folks if they have something urgent and they're even remotely involved in the community know that sending a mail or popping into irc to say "things are on fire, yo" can accellerate stuff when needed 19:58:31 or we can have them add some sort of "on_fire_yo" keyword to ring the PLZHURRY alarm :) 19:58:57 but i think unless that becomes frequent it's probably not a case to worry about right this second 19:59:03 -1 to that. :P (URGENT flag on email, anyone?) 19:59:15 yeah. it's full of abuse potential 19:59:19 everything is urgent to someone 19:59:27 sev1 hipchat module bugs 19:59:35 "I'm going to get fired if you don't merge this PR" 20:00:01 and that's the hour 20:00:46 So do we have consensus on 2wk automerge in extras? More details to work out, but as a direction to move in? 20:01:01 (2 weeks from authorized shipit) 20:01:08 yes, i think so :) 20:01:17 for patches to existing modules 20:01:29 Yes, not for new modules 20:02:56 yeah -- At least among the people here. bcoca and jimi|ansible aren't here and their input is missing but we can gather that out of band I think - Record the votes in the issue, if they do object this week, we can revisit the topic next meeting. 20:03:27 alikins: You haven't weighed in on whether you think (1) is good... care to cast a vote? 20:04:25 rbergeron: If there's more that we should talk about, (core as well as extras, new modules, other proposals...) update the bug for either friday or next tuesday's meeting sound like a plan? 20:04:35 1 is ok, as long as it end sup being unambiguous 20:04:58 * ryansb makes bug 20:05:10 oh ryansb, you didn't vote either. 20:05:27 I didn't either 20:06:00 I don't feel like I've been around long enough to have an informed opinion. Abstention :) 20:06:05 k 20:06:22 Man you guys have to speak up earlier so I know you're active ;-) 20:06:23 I feel like I want to push -extras into a completely separate installable package 20:06:37 sivel, you aren't alone 20:06:42 I wasn't, I somehow lost connection 20:07:06 i'd like non-core modules to be galaxy installed personally 20:07:25 I plan on playing with some stuff to shuffle -extras around, and allow them to have their own action_plugins, etc... 20:07:33 #chair sivel ryansb rbergeron gundalow jtanner 20:07:33 Current chairs: abadger1999 alikins gundalow jtanner nitzmahone rbergeron ryansb sivel 20:07:59 and introducing some code to allow finding the -extras via setuptools registered entry point 20:08:06 or something similar 20:08:11 netsplit whee 20:08:13 but anyway... 20:08:25 don't want to diverge too far from the topic 20:08:29 20:08:59 sivel: +1 from me, but you'll find much resistance on that path (I've talked about that one a lot internally) 20:09:21 I don't necessarily have an opinion, and -extras are getting better due to linting and such, I just want to make sure quality doesn't drop 20:09:44 right, I'm heading offline now 20:09:57 nitzmahone: we are apparently a democracy now, without a BDFL, so we vote and see who has more +1s ;) 20:10:16 heh. 20:10:36 honestly, I wish we had a BDFL. :( 20:10:41 I think that's probably not the real governance structure... maybe more like a democracy seeking a BDFL ;-) 20:10:47 sivel: are you volunteering? 20:10:48 i'll be a Big Dumb Foss Lover 20:10:57 lol 20:10:59 if that's what you meant 20:11:25 I submit my name for BDFL ;) You may all proceed to vote 20:11:42 * nitzmahone looks for PayPal payment in inbox 20:11:46 haha 20:11:48 * nitzmahone sees none 20:12:05 you do realize that when there's a BDFL, the only person who can say "shipt" is the BDFL 20:12:34 or at least the BDFL has an "f-it" trump card (trump tag?) 20:12:37 jtanner|t420: BDFL's delegate. 20:12:43 not all of them 20:12:49 denied unless proven approved 20:13:31 jtanner|t420: perhaps, but I think we find that BDFL's who don't delegate transmute from (B)enevolent to (B)urntout. 20:13:48 Okay, I think we've beaten this topic for this meeting. 20:14:02 20:14:16 * jtanner|t420 kicks it 3 more times 20:14:29 so, next week: dictator elections ;) 20:14:31 okay, done 20:14:58 ryansb: nah, that's already been decided. next week we just find out who it is ;-> 20:15:12 #action abadger1999 to record the votes on the SLA in the ticket... give bcoca and jimi a chance to weigh in before next meeting. rbergeron and gregdek can ask for more decisions/discussion if need be to move things along. 20:15:26 #topic Open Floor 20:15:39 hyperized: I think you had a PR you wanted to get final review? 20:15:50 Yes I did: https://github.com/ansible/ansible-modules-core/pull/3320 20:16:12 #topic Added restart functionality to ec2.py https://github.com/ansible/ansible-modules-core/pull/3320 20:17:23 ryansb: You had been reviewing this, is it good to go now or do you need to do some more in-depth checking now? 20:17:47 Code looks good, but tbh I haven't tested it locally 20:18:05 once I do that, I'm good with it 20:19:24 Cool. 20:19:33 well, thanks :) 20:19:55 #topic Open Floor 20:21:14 Anything else? 20:21:42 We do have some proposals on the table. 20:22:01 well, aside from absurdly-marketed CVE of the week https://imagetragick.com/ , nope 20:22:54 well if I may, I brought up the topic the other day about notation style in the documentation 20:22:59 Okay 20:23:07 hyperized: Go! 20:23:13 #chair hyperized 20:23:13 Current chairs: abadger1999 alikins gundalow hyperized jtanner nitzmahone rbergeron ryansb sivel 20:23:14 hmm, missed this 20:23:22 +1 on autoclose after 2 weeks 20:23:38 bcoca, automerge 20:23:46 i stand by my statement 20:23:54 heh, okay, just making sure 20:23:59 hyperized, details? 20:24:21 I noticed there's a vague mix of in-line notation and 'normal' notation in the documentation, the only section where it makes sense to mention the existance of this notation in my opinion is in the section explaining CLI commands 20:24:44 I would urge to keep one style, consistent across the documentation 20:24:55 ansible.com/docs in general or just the module docs? 20:25:02 hyperized: i think both can be used as they are both used in ansible 20:25:03 on the site in general 20:25:08 neither is going away 20:25:27 Im not saying one should go away, I'm saying the documentation could be more consistent and clear about it 20:26:08 we should mention there are 2 ways, yes, but i would not normalize on one 20:26:21 the inline notation creates room for incorrect escaping (imo) 20:26:30 both do 20:26:35 heh 20:26:37 with diff quirks 20:26:42 fair enough 20:26:50 also typecasting 20:26:54 booleans are not exactly same 20:26:55 etc 20:28:16 I almost would normalize on yaml syntax ("if in doubt, use yaml") we can fix quoting issues in yaml a lot easier than we can with k=v. 20:28:40 ^ that summarizes what I mean 20:29:13 but k=v is more concise normally, better suited to minimize 'vertical scrolling' 20:29:50 more concise yes, but not more clear and not something I think we really want people to do in their playbooks. 20:29:52 to be fair, when I open them in an editor and especially with large sets of variables, I much prefer yaml style, its easier to identify faults 20:30:17 If a command is ften used at the cli, I can see giving k=v examples. 20:30:23 I think for teaching folks, we should prefer YAML even more 20:30:31 for the command module it makes a lot of sense 20:30:41 honestly when I started with ansible I didn't know about anything but k=v for months 20:30:50 but if it's used from a playbook, I'd rather we show people the yaml syntax than have them get used to the k=v syntax and then start doing multiline strings to keep things k=v 20:31:24 that is why i think we should have page explaining both 20:31:37 also showing the 'multiline k=v and why you should use YAML instead' 20:31:43 < | < =explain those 20:32:17 Sounds fair to me, but I think for examples we should err on the side of using YAML 20:32:35 and only do k=v when there's a particular reason (like ad hoc CLI use) 20:32:45 Sure, a page to show how to use k=v is fine... but I think we should default to yaml in the module docs (only use k=v if it's something that is going to be used often from adhoc) 20:32:52 ryansb: +1 20:32:55 in context of task argument examples? 20:34:37 we actually encourage our devs to use module: > (\n) var='something' when the k=v style has to be used 20:34:58 to keep in style with the yaml syntax 20:35:30 i get tired of templated vars with k=v screwing up my syntax highlighting in vim, so i use yaml syntax for most things 20:35:38 abadger1999: +1 - I always trained users on both, but when people asked my opinion, I'd say KV is almost always more readable 20:35:39 jtanner|t420: yes. 20:35:45 other than that, i don't really care 20:35:54 Sorry YAML is more readable 20:36:04 yaml linters are a serious argument to use yaml syntax too, its easier to check for mistakes. 20:36:08 hold up: readable isn't an objective measure here 20:36:13 i did find that i couldn't persist quoted strings with spaces in test-module ... so i use @args.yml there too 20:36:25 but linter availability and syntax checking is definitely a pro 20:36:54 Plus the "sneaky spaces break templated values" in KV thing (eg, "debug: msg={{ blar | default('hi mom')}}" == "hi") 20:37:19 ban all spaces! 20:37:25 ryansb: fair enough; how about "scales better with more values" 20:37:31 again, im not advocating k=v vs yaml, just to keep the documentation (starting point for newbs) a clear one thats easy to learn and harder to make mistakes on. 20:39:29 which I think Ansible is all about :) 20:39:51 i don't think i'm qualified to pick one or the other 20:40:28 diff people find each way 'easier', i would not judge to force YAML in all docs just cause many prefer k=v 20:40:40 * bcoca does not like vim vs emacs debates 20:40:52 it's the same problem in bash examples with $(foo) versus `foo` 20:41:05 both work, but one is cleaner is certain contexts 20:41:22 * dharmabumstead mutters "nano ftw!" and ducks 20:41:28 hyperized: okay, I htink we need a proposal and then we can approve or reject it. Maybe a proposal for module guidelines that says we should usually use yaml syntax and then we can talk about it at next week's meeting. 20:41:46 abadger1999: in the shape of an issue on github? 20:41:51 yeah... 20:41:55 can do 20:41:58 ansible/proposals 20:42:33 I'll take some time tomorrow to write it up, thanks for considering! 20:43:02 hyperized: https://github.com/ansible/proposals/issues/new should have a helpful template when you go to create it. 20:43:27 yeah I'll find some good examples we found during development 20:43:35 thanks 20:43:43 no problem. 20:43:48 jtanner|t420: but also ` ` is 'more portable' 20:43:51 Okay, we're at the end of time. 20:43:56 and $() has the advantage of 'stacking' 20:44:06 If no one has anything else we can close in 60s 20:44:17 bcoca, not going to argue it ... each has it's merits 20:44:43 * bcoca broke shell compatiblity by using $() in base shell plugin 20:45:06 * jtanner|t420 revokes bcoca's bofh card 20:45:43 bcoca: ` is also a way to confuse people who didn't knew that ` and ' are different key on the keyboard :p 20:45:53 (aka, a good way to mess with new interns) 20:46:35 #endmeeting