14:31:49 #startmeeting DaWGs aka Docs Working Group 14:31:49 Meeting started Tue Oct 8 14:31:49 2019 UTC. 14:31:49 This meeting is logged and archived in a public location. 14:31:49 The chair is samccann. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:31:49 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:31:49 The meeting name has been set to 'dawgs_aka_docs_working_group' 14:31:59 #chair felixfontein 14:31:59 Current chairs: felixfontein samccann 14:32:15 who else is around and dyin' to be turned into furniture??? 14:32:40 gundalow bcoca alongchamps cyperpear ?? 14:32:49 * gundalow waves 14:32:58 I can't be a chair today, I'm on a meeting with VMware 14:33:09 ok thanks alongchamps ! 14:33:14 #chair gundalow 14:33:14 Current chairs: felixfontein gundalow samccann 14:33:16 no furniture for you then ;) 14:33:23 :) 14:33:47 well, there's always the option for a comfy pillow - all the joy of furniture w/o the need to reply to every comment :-) 14:34:18 okay let's get started with some easy stuff 14:34:27 #topic - linking PRs in changlog fragments 14:34:40 you can turn me into furniture 14:34:52 though I am double-booked for the next 20 minutes or so 14:34:54 This one is based on a user reading the changelog and finding something interesting, but not enough detail 14:34:59 #chair acozine 14:34:59 Current chairs: acozine felixfontein gundalow samccann 14:35:10 sounds like a good idea to me 14:35:23 So I thought, since our guidelines are to name the changelog fragment file with the PR, we could also ask folks to include a link to the PR in the changelong 14:35:30 should this be formalized, or be a "guideline"? 14:35:32 changelog 14:36:03 for formalizing, it would be nice to have a `PRs:` list in the changelog fragment which links to all PRs involved in this changelog fragment 14:36:05 well, I did a quick check the other day, and only about 1/2 of the changelog filenames included the PR number. So I'm thinking strongly worded guidelines are about all we can hope for 14:36:13 (there can be multiple since stuff can be changed before it appears in a release) 14:36:44 ah hadn't thought about that. Do they usually have an issue they each group up to? We could ask for the issue number instead? 14:36:55 just looked in `changelog/fragments`, not seeing as many PR links as I would have expected 14:37:07 there's not necessarily an issue (and if there is, there could be multiple as well) 14:37:11 yeah that's where I looked - just the filenames 14:37:51 hmm... perhaps we could word it as 'please add a link to the most significant PR or issue related to this changelog fragment' or something vague like that? 14:38:03 +1 14:38:06 or is it worth adding all PRs? 14:38:48 good question - sometimes multiple PRs should be mentioned, since later ones can change a lot important things. but also small bugfixes (before release) would be nice to know. 14:39:39 I'm +1 for adding all PRs that affect the documented change 14:40:02 as a guideline. don't know that we can enforce except for the ones we happen to review (which ain't alot for me in docs land) 14:40:18 +1 for encouraging PR numbers in changelogs 14:40:48 since docs-related changes usually don't have changelog fragments, there's not a lot 14:41:18 I'm wondering how many PRs actually do have a changelog fragment (of the ones that need one) 14:41:43 not sure felixfontein 14:42:27 I regularly remind people that they need to add changelog fragments, and I'm not sure whether everyone is paying attention (and ansibot also happily merges without changelog fragments) 14:42:31 but I think we are agreed to request PR links in changelog fragments. Anyone disagree? 14:43:26 I agree. and if we decide to do it, we should announce it here: https://github.com/ansible/community/issues/346 14:43:52 okay #agreed add section to changelog docs to request PR links in each for all associated PRs. Socialize this request on appropriate channels 14:44:30 +1 to announcing on https://github.com/ansible/community/issues/346 14:44:36 #link https://github.com/ansible/community/issues/346 for where to announce this change 14:45:10 ok onto another easy peasy topic 14:45:27 #topic - creating a new issue for the DaWGs agenda 14:45:53 I'm +1 for that, I'd do that every 3 to 6 months maybe to avoid it getting burried to deep 14:46:01 anyone here a bit early would have seen chatter on this - but the current issue where we put the DaWGs agenda comments is old and long to scroll etc 14:46:02 (and getting too long) 14:46:20 and one will only find it on page 2 of the issues list in ansible/community 14:46:20 Seems other groups create one annually or quarterly etc and I assume close out the old one with a link to the new. 14:47:21 so any opinions on if we should do it 3 months or 6 months? 14:47:35 annually should be OK. If you change it too frequently you will lose people 14:47:48 Also you can mark done items as resolved 14:47:51 The one we have now isn't quite a year old 14:48:05 and that's what's become harder to find/scroll down to etc 14:48:15 https://help.github.com/en/articles/managing-disruptive-comments#hiding-a-comment which is what I do for done items in other agendas 14:49:09 ah... so we could hide all the old agenda items, say every month or two. That would solve the scrolling on that particular page 14:49:24 but still leaves it on the 2nd page or so of the community issues list. 14:50:05 personally, I go here https://github.com/ansible/community and then to the All working groups, then to DaWGs to find the agenda issue 14:51:42 so I can create a new issue since it's been almost a year... and then hide old comments say monthly? (each comment is usually the agenda for the week) 14:52:04 do folks agree/disagree with that approach? And we do a new issue annually? 14:52:06 maybe create a new issue for 2020, and keep using the current one til then. and hide stuff monthly or so. 14:52:22 hmm. that does have an appeal, new year, new issue 14:53:12 hmm, I completely missed the DaWGs logo on https://github.com/ansible/community/wiki/Docs since I never used that page to find the agenda :) 14:53:37 hah! yes we have a spiffy logo now! 14:53:59 how long has it been there? 14:54:05 ok not hearing any disagreements on hiding comments for the rest of this year and starting new agenda issues in 2020 14:54:17 Logo was added... maybe a month a go? hasn't been there for long 14:54:20 felixfontein: we have stickers, too - unveiled at AnsibleFest 14:54:26 cool! 14:54:37 I will happily send you some, or if you see gundalow, he has some too 14:54:55 and credit where do - logo design by https://www.leodurham.com/ 14:54:58 felixfontein: I'll send you some 14:55:04 not sure where you're based, other than the other side of the Atlantic 14:55:11 closer to me than you :) 14:55:13 cool! 14:55:27 gundalow: you could also visit some meetup in zurich or bern ;) 14:55:45 acozine: in switzerland 14:56:07 I don't travel much at all, but when someone decides to have an ansible meetup in Cork, I'm THERE 14:56:11 meanwhile 14:56:20 felixfontein: yes, now that Fest is over I can get my head around that 14:56:36 #agreed - hide resolved comments in the current DaWGs agenda issue and start a new one with the new year, and annually 14:56:47 samccann: cork in ireland? 14:56:51 #link https://help.github.com/en/articles/managing-disruptive-comments#hiding-a-comment for how to hide comments 14:57:14 yeah, my relations came from a TINY TINY island over there, so someday I wanna go visit said tiny island. 14:57:26 I don't know any other, but then for a lot of city names from europe, there's tens of similarly named small cities all over the US ;) 14:57:44 that there are. I used to live in Berlin (MA) for a decade 14:57:51 ok meanwhile, 14:57:53 hehe :) 14:58:14 #topic elements in return values 14:58:17 #link https://github.com/ansible/ansible/pull/62929 14:58:21 I once drove through west berlin and east berlin in nova scotia :) 14:58:30 hahaha!! 14:58:45 two tiny places located next to each other ;) 14:58:45 our Berlin was pronounced differently.. BUUURHlin 14:59:21 so on the elements in return values felixfontein - I tried the sanity-test locally on your branch and it didn't have the errors 14:59:55 #62929 is about how "blabla: " should be handled in docs. 15:00:46 oh did I grab the wrong PR? 15:00:47 I added both in the same comment to the agenda :) 15:00:55 felixfontein: isn't 62929 for clarifying complex return values? 15:01:01 ok which do you want to start talking about? 15:01:03 oh wait 15:01:07 now I'm confused 15:01:20 you're totally right! 15:01:28 I looked at the wrong tab in my browser... 15:01:45 heh, the famous ETOOMANYTABS 15:01:50 I reran the test some minutes ago on CI, with the same result 15:02:54 yeah and that's what I ran locally on both devel and your branch and didn't get those errors. I did ` ansible-test sanity --test docs-build` 15:03:11 can we talk about the goal for a second? I think it's a great idea, but will the placement be confusing, since folks are used to seeing the `required` marker in that spot (for options/params)? 15:03:18 is that the correct test? Can anyone see a reason for tha batch of 90+ errors 15:03:34 * samccann blinks in confusion 15:04:14 for a return value? 15:04:24 maybe those modules got deprecated recently? 15:04:29 I also saw these errors when running make docs locally once 15:04:48 ok maybe I'm doing it wrong locally then. I seldom run the tests (bad me) 15:05:15 samccann: about required: there's no required for return values (that information is in the "returned" column). and that information was already added earlier for options (where there is "required") 15:05:23 samccann: I know, there's never `required` for return values, only for options, but visually the two data sets are very similar 15:06:09 if nobody else is concerned, then that answers my question 15:06:14 probably not an issue 15:06:24 samccann: did you run the tests in a clean environment? 15:07:07 ah sorry, I meant acozine: not samccann: :) 15:07:33 acozine: about required: there's no required for return values (that information is in the "returned" column). and that information was already added earlier for options (where there is "required") 15:07:37 there ^ 15:08:01 * felixfontein just started a build with "make clean" first. now I can turn off the heating... 15:08:19 yup, just for a second with the `blah`/`blah` format, I wasn't sure if i was looking at return values or options 15:08:28 that's probably because the screenshot has no context 15:08:46 acozine: the same thing for module options has been merged here: https://github.com/ansible/ansible/pull/59244 15:08:52 my PR also adds it for module return values 15:09:59 ah, okay, so we do have cases where all three elements appear: `type`/`elements: other_type`/`required` 15:10:01 and it looks fine 15:10:28 and required is always in red, so anyone with color vision can easily tell the difference 15:10:50 within the full context of the module doc, i think this will be very helpful 15:11:21 with a clean build, I also get these warnings 15:11:31 huh 15:12:39 and when grepping in the docs/docsite/rst folder, I actually cannot find the definition for some of them 15:13:20 the error is saying "I'm trying to build a list of all modules, and I can't find the pages for these 97 of them" 15:13:42 like online_server_info_module.rst is not added to docs/docsite/rst/modules, even though that module exists 15:13:48 somehow the template includes the links, but the module docs aren't getting build 15:13:53 s/build/built 15:14:03 (that file sould define the link online_server_info_module) 15:14:37 I was working it from the bottom up - the infoblox scenario guide error 15:14:42 is that true for all 97? do we have a single problem, or more than one? 15:14:49 so it looks like some .rst files are not created 15:14:52 (for modules) 15:15:05 I didn't check all :) but one missing .rst file is already bad enough 15:15:14 it looks like the label used to point to this - https://docs.ansible.com/ansible/latest/plugins/lookup/nios.html#nios-lookup 15:15:34 ah 15:15:40 now I see what's happening, I think: 15:15:40 [WARNING]: Could not parse vultr_firewall_group_facts due to 'list object' has no attribute 'get' 15:15:59 apparently something went wrong during writing the .rst file for these modules 15:16:08 but instead of dying, it only emitted a warning 15:17:56 the nios lookup plugin has a complex value in its return docs: 15:18:17 https://www.irccloud.com/pastebin/3gZ3wyxq/return%20docs%20for%20plugins%2Flookup%2Fnios.py 15:19:09 maybe with the changes, any field that has `type: complex` but doesn't have `elements` causes a failure? that's a guess 15:21:25 I think the problem isn't `type: complex`, but the abuse of `contains:` 15:22:05 compare `status` in https://docs.ansible.com/ansible/latest/modules/nosh_module.html#return-values with https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/system/nosh.py#L134-L187 15:23:19 ah, that should be a sample 15:23:33 yep 15:24:37 I think I have a workaround 15:24:56 simply replacing value.get('elements') --> value.elements seems to work 15:25:14 sounds elegant 15:25:31 yep. easier to read and also works in this case :) 15:25:39 but we should also make a list of the plugins that fail in this way 15:25:51 at least let the maintainers know they should clean them up 15:25:58 and by "we" I mean me, really 15:26:09 that are probably exactly the modules whose labels are listed in the PR ;) 15:26:27 yep 15:26:41 having a better module validation which catches them would also be good IMO 15:26:48 that would be great, yes 15:28:54 for the new pipeline from collections, we need a way for failures like this to block publication of specific plugins/modules to docs.ansible.com, while allowing the rest of the build to succeed 15:29:46 but the first step is giving folks the tools to do documentation right, and that's what your current PR does, felixfontein 15:30:01 thank you! 15:30:54 ok we are about at the end here 15:31:01 anything before we close? 15:31:05 yep 15:31:15 https://github.com/ansible/ansible/pull/63165#discussion_r331860160 15:31:37 (in case you meant closing the meeting?) 15:32:23 ok so on that one - I'd rerewrite to get around the period, not period conundrum if you feel strongly about it 15:32:28 I'd vote for "Device read limit in format `thingy`." 15:32:40 +1 15:32:41 it's not a full sentence 15:32:50 but it's closer and the period feels okay there 15:33:00 ok! 15:33:01 or without a period would work too 15:33:10 then I'll rewrite them so they are "proper" sentences with a period :) 15:33:31 it's kind of nice if there's a period when there's a next paragraph 15:33:40 maybe "Device read limit. Use format `blah`." 15:33:45 that's a full sentence at the end 15:33:59 I agree, a period there makes things look tidy 15:34:29 ok, then I'll do some rewriting :) 15:35:00 samccann and I have not been keeping up with PRs, sorry 15:35:13 but glad you brought that one to the meeting! 15:35:36 no problem, I thought that when I'm around I can also ask ;) 15:35:47 \o/ 15:35:53 #agreed a period at the end of a description makes it tidy, but doesn't have to be a full sentence to add it. 15:36:07 #link https://github.com/ansible/ansible/pull/63165#discussion_r331860160 15:36:18 any other tidbits before we close? 15:36:30 not from me . . . 15:36:37 goin once.... 15:36:58 twice... 15:37:16 #endmeeting