15:00:18 #startmeeting core meeting 15:00:18 Meeting started Thu Jun 29 15:00:18 2017 UTC. The chair is thaumos. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:18 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:00:18 The meeting name has been set to 'core_meeting' 15:01:06 hey errbody 15:01:10 hello! 15:01:13 #chair ryansb chillysurfer 15:01:13 Current chairs: chillysurfer ryansb thaumos 15:01:24 happy thursday 15:02:00 and to you 15:03:01 * gundalow waves 15:03:08 * mattclay waves 15:03:31 * samdoran dances 15:03:37 :D 15:03:46 #chair gundalow mattclay samdoran 15:03:46 Current chairs: chillysurfer gundalow mattclay ryansb samdoran thaumos 15:04:55 * nitzmahone lurks 15:05:01 #chair nitzmahone 15:05:02 Current chairs: chillysurfer gundalow mattclay nitzmahone ryansb samdoran thaumos 15:05:05 #topic Open Floor 15:07:24 would like to see this pr merged: https://github.com/ansible/ansible/pull/26077 15:07:32 basically it fixes python3 incompatibilities 15:07:41 backward compatible with python2 as well 15:07:41 #topic ansible/ansible#26077 15:07:52 #link https://github.com/ansible/ansible/pull/26077 15:08:16 as it stands right now, these azure modules don't work with python3. this is important as we move to merge in support for azure==2.0.0 to have a copmlete solution 15:08:35 and likewise most end users would be using a local connection, which would commonly use python3 15:08:56 Hola 15:08:59 and just to say it out loud, it also works for python2, correct? 15:09:01 #chair abadger1999 15:09:01 Current chairs: abadger1999 chillysurfer gundalow mattclay nitzmahone ryansb samdoran thaumos 15:09:09 thaumos: that's correct 15:09:14 👍 15:10:12 @abadger1999 would you mind glancing at the PR mentioned to give a +1 for python3 compat? 15:10:29 15:10:32 Yep, I'll merge 15:10:33 ty! 15:10:35 cool 15:10:53 awesome, thank you so much 15:11:08 #action abadger1999 to view and merge the PR 15:11:18 fwiw the breaking change in python3 is that dict.keys() returns dict_keys class now instead of list 15:11:22 ready for your topic abadger1999? 15:11:46 calling `list(dict.keys())` solves this when appending through additive to another list 15:11:54 and of course backwards compat with python2 15:11:57 thanks, all! 15:12:02 * jhawkesworth_ waves 15:12:19 no no, thank you chillysurfer 15:12:24 Hi 15:12:28 :-) 15:12:30 #chair jhawkesworth_ shaps 15:12:30 Current chairs: abadger1999 chillysurfer gundalow jhawkesworth_ mattclay nitzmahone ryansb samdoran shaps thaumos 15:12:45 just silently following, I'm in another meeting too :) 15:12:45 #topic docstring format for metadata for 2.4 15:12:59 abadger1999, you have the floor bud 15:13:25 So metadata in plugins is a new feature that bcoca added for 2.4 15:13:50 When doing it, he made it so the metadata can be in special methods like in the modules 15:13:52 or in docstrings. 15:14:11 I want to get rid of the docstring portion for metadata. 15:15:10 As written in the meeting ticket, there's no need for metadata to be in docstrings (documentation needs to for filters and tests plugins but not hte metadata) 15:15:37 seems sensible not to have more than one way to do it, especially as it is new 15:15:38 the implementation is lacking write support 15:15:40 Don't see why we'd need two ways for something that has to be written in Python anyway 15:15:52 +1 15:15:55 +1 15:16:15 and the implementation is lacking support in the code I just ported over from metadatatool to lib/ansible/parsing/metadata.py 15:16:33 Getting rid of docstring support just for metadata fixes all of that. 15:16:40 (well... eliminates the problem) 15:16:46 +1 to fewer ways to write metadata 15:17:12 So this would also apply to modules, right? 15:17:30 nitzmahone: correct. 15:17:51 any examples for the module implementation we could browse? or is that not available yet? 15:18:14 * resmo waves 15:18:22 So it just means that non python modules will continue to need a python doc stub. I don't think that's really a problem, but just makes that more "set in stone". 15:18:32 got it 15:18:46 With bcoca's current code, metadata could theoretically be in docstrings in the modules... the plugindocs code would find it there. However, any additional tools we have built to process metadata wouldn't work with it because they only anticipate the metadata forms we accepted i nthe proposal, not hte docstring style 15:19:12 nitzmahone: well... the docstrings wouldn't help you... docstrings are a python technology. 15:20:21 nitzmahone: i'm not getting rid of the yaml string format that is listed i nthe metadata proposal; I just want to get rid of being able to put metadata in docstrings. 15:20:26 Ah ok, it's not YAML comments 15:21:02 Gotcha, definitely +1 then 15:21:18 Cool. 15:21:30 wondering if this was intentional - perhaps to support metadata in things that currently don't have it - say filters? 15:21:58 or is it unintended? 15:21:59 I wish bcoca was here to defend this but I'm glad people seem to be in agreement. 15:22:24 jhawkesworth_: Sorta. I think that's bcoca's intention. But it doesn't seem like it's needed for metadata. 15:24:20 because it would be quite painful to have one file with multiple pieces of metadata for it. 15:24:49 yep that would be painful. 15:25:09 okay, so verdict is to remove docstring support for metadata 15:25:42 Sounds good 15:25:43 I'm -1/+1 on it... not a fan of deserializing from a inline string, but dont really like doing ast on real code to get the data either 15:26:18 alikins: note that you have to use ast either way. 15:26:27 alikins: with the docstring you have to use ast to get the docstring. 15:27:18 thaumos: okay, do we want to call this decided? Or do we want to get more votes or something else? 15:27:37 yes 15:27:41 it's decided. 15:27:44 abadger1999, yup 15:27:44 Cool. thanks. 15:28:06 #info votes taken for proposal. 15:28:23 #action abadger1999 to remove docstring support for metadata 15:28:30 #topic Open Floor 15:29:36 https://www.irccloud.com/pastebin/s4qfePEf/ 15:29:53 #link https://github.com/ansible/community/issues/162#issuecomment-311900850 15:30:21 both prs seem to be tackling the same thing really - more flexible doc building. 15:30:37 +1000000000 15:30:45 #topic Doc building 15:31:26 #info https://github.com/ansible/ansible/pull/24576 15:31:36 #info https://github.com/ansible/ansible/pull/25791 15:32:16 in 24576 you limit by setting environment variables 15:32:58 in 25791 there's a command docs/bin/ansible-makepage 15:33:03 So minor points 15:33:16 though I think it's nice being able to drive this from the top level 15:33:59 hum, adding docs/bin/ansible-makepage.sh to PATH in hacking/env-setup would solve that 15:34:38 that's definitely doable 15:35:26 not sure the project wants bash scripts to proliferate 15:35:27 #25791 covers *all* docs pages where #24576 doesn't 15:36:34 dharmabumstead: you around? 15:36:37 arguing slightly against my on pr, 25791 doesn't let you rebuild everything, have to make webdocs for that. 15:36:49 ^ on = own 15:37:31 Do we want both? 15:38:06 also, isn't #24576 very similar to https://github.com/ansible/ansible/pull/25313 15:38:31 heh, I have a branch for this as well, but it's not different enough to muddy the waters 15:38:42 sorry, sounds like I'm against #24576. I'm not, just pointing out things :) 15:39:12 both prs I think are trying to make #25313 a little easier to use 15:40:27 abadger1999 both is an option 15:40:42 might dev guide a little more verbose I suppose though 15:40:51 python over bash may be easier to maintain in the future 15:41:17 good point. 15:41:40 24576 does the same thing without adding a new file into the mix 15:42:24 sorry I have to leave now - maybe time to move on to next topic anyway 15:42:26 * jhawkesworth_ afk 15:42:42 does Jon's only allow building one page 15:43:15 * gundalow votes for 24576 as 15:43:17 1) No new file 15:43:25 +1 to 24576 15:43:29 2) Allows building multiple modules in a single command 15:43:36 3) Python 15:43:46 #agreed we will use 24576 15:43:59 thaumos: what's next? 15:44:04 #topic Open floor 15:44:07 ^ 15:44:16 we don't have anything else on the docket for today 15:44:28 if nothing else, we can close 15:45:02 alright, thanks everyone for the discussions today! 15:45:05 Testing Working Group is in 1h15, we will be discussing the new structure of Working Groups, and dependencies 15:45:09 all welcome 15:45:13 * gundalow has nothing else 15:45:18 #endmeeting