15:01:49 #startmeeting Documentation Working Group aka DaWGs 15:01:49 Meeting started Tue Apr 5 15:01:49 2022 UTC. 15:01:49 This meeting is logged and archived in a public location. 15:01:49 The chair is samccann. Information about MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions. 15:01:49 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:01:49 The meeting name has been set to 'documentation_working_group_aka_dawgs' 15:02:01 #topic opening chatter 15:02:10 @room Meeting time! Who is here to talk the docs? 15:02:37 Raise your ascii hand (o/) to say hi or any other way you want to let us know you are here. And Welcome to any new folks! 15:03:12 briantist: andersson007_ cyberpear around to talk docs today? 15:04:03 o/ 15:04:28 o/ 15:04:35 #chair briantist ariordan 15:04:35 Current chairs: ariordan briantist samccann 15:04:48 felixfontein: around for docs? 15:05:22 o/ 15:05:35 * acozine returns from a small kitchen crisis 15:05:43 #chair acozine 15:05:43 Current chairs: acozine ariordan briantist samccann 15:05:51 ooch hope all is well. no burnt muffins! 15:06:00 heh, nothing burnt 15:06:01 * samccann craving muffins 15:06:25 just mixed up baking soda and baking powder . . . but caught it in time 15:06:31 Official agenda is at https://github.com/ansible/community/issues/643#issuecomment-1082155456 15:06:35 heh woopsie 15:06:48 #topic Documentation Updates 15:06:58 Gonna start with the thread going on in the community channel 15:07:12 #topic Troubleshooting collection CI problems 15:07:30 I've tried to pull out bits and bobs and plop it here - https://hackmd.io/-ahOZc_JSfGjYaK40Nof9w 15:07:55 I'm curious if folks think there is a need for some more/better docs about what this collection owner is trying? 15:08:45 briantist: bcoca any quick opinions since you both have been working with the collection owner the past..erm day or so? 15:08:46 collection owner? 15:09:09 @adhawkins 15:09:30 we're talking about using Zuul for release automation? 15:09:33 There was the start of a thread on the devel channel and then moved to community channel. 15:09:49 Well part of my questions are - is that something we are recommending (and should document) 15:09:58 interesting 15:10:01 I thought these were sanity errors as opposed to zuul errors? 15:10:45 true. What I can't tell is - should a collection owner know how to run sanity tests already? Maybe we just assume everyone knows deep ansible stuff before they become a collection owner. And maybe that's a wrong assumption 15:11:01 So we can take Zuul out of the discussion for now 15:11:03 the current document seems to cover two related things - using Zuul for CI on an Ansible collection, and adding automated Galaxy releases to your Zuul setup 15:11:15 well, they didn't, got help with that this morning, and now are running sanity, that's where the error is coming from: https://github.com/adhawkins/ansible-borgbase/runs/5833712057?check_suite_focus=true#step:7:280 15:11:50 #info our collection development docs may assume a deeper level of ansible experience than actual new collection owners have 15:12:25 I'm a little unclear what we're discussing rn 🤔 15:12:30 #action - put more troubleshooting breadcrumbs in the docs to point out where/when to run some common ansible-test sanity checks 15:12:34 HAHAH 15:12:35 sorry. 15:13:02 to answer your questions samccann I do think we could do a better job of documenting how to test collections . . . at least, I think that was your question - was it? 15:13:02 Let's start with - how did this person get into trouble and what could we add to the docs to help them out? 15:13:25 * acozine BRB, cat howling in the distance 15:13:33 #undo 15:13:33 Removing item from minutes: ACTION by samccann at 15:12:30 : - put more troubleshooting breadcrumbs in the docs to point out where/when to run some common ansible-test sanity checks 15:14:04 #action put more troubleshooting breadrumbs in the developing/releasing collections to run common ansible-test sanity checks locally first. 15:14:27 o/ 15:14:35 #chair felixfontein 15:14:35 Current chairs: acozine ariordan briantist felixfontein samccann 15:14:38 welcome! 15:14:38 * acozine is back at desk, cat released from durance vile 15:14:42 samccann: well going back to yesterday, where I first started interacting with them, they were trying to use `antsibull-docs` to build collection docs in GitHub actions to publish to GH pages 15:14:56 I successfully got them using the docs build stuff (yay!) 15:15:07 hooray! 15:15:16 and to change their repo layout (collection at the root) 15:15:35 later they started adding the automated testing workflows and such, I pointed them at the collection template repo for help there 15:15:37 briantist: may I ask what layout they used before? 15:15:49 ok so they had three things: 15:15:49 1 - generate their own docs pages (using your stuff) 15:15:49 2 - looking for an automated way to publish their collection (where the Zuul recommendation came from) 15:15:49 3 - Basic troubleshooting/tests to run before releasing a collection 15:15:52 Does that sound accurate? 15:16:19 felixfontein: they didn't have anything before, they appear to be trying to start a collection from scratch based on two modules they wrote 15:16:30 briantist: ah, so they didn't have a repo yet? 15:17:03 they had a repo, and the colelction layout was started in a new branch. The Zuul recommendation came after docs building, they were asking if there was already some GH actions or something to publish to galaxy 15:17:19 I mentione dthat included collections already have something so I didn't know of anything else 15:17:34 Goneri suggested that anyone could use the Zuul setup and gave instructions for how 15:17:52 (this is also something interesting to me for the sqlserver collection I'm helping with) 15:17:55 I can ask gundalow if this is something we want to recommend in the future (and in docs) 15:18:15 (I guess the best first step is getting `ansible-test sanity --docker` working first, to avoid strange errors during the docs build caused by invalid docs ;) ) 15:18:24 #action samccann - verify if Zuul is available for automating any collection publishing to galaxy 15:18:43 the docs build succeeded though! it's kind of weird that sanity failed 15:19:00 https://adhawkins.github.io/ansible-borgbase/collections/adhawkins/borgbase/index.html#plugins-in-adhawkins-borgbase 15:19:12 validate-modules failed.. Is that part of the docs build? I didn't think so? 15:20:02 correct, it's not part of what builds the docs 15:21:22 ok thanks everyone for the feedback! I'll figure out where to sprinkle some helpful breadcrumbs in the existing docs for new folks 15:21:40 sounds great! 15:21:52 dmsimard: is there an instruqt or some tutorial that walks through building a collection? 15:22:20 maybe? I'm not sure, /me looks 15:22:30 right now the docs don't link to any of those tutorials. Maybe t hey should? 15:22:35 s/t/they/, s/hey// 15:22:36 if we don't already, pointing at the template is a good idea 15:22:56 #action samccann make sure developing collection docs points to the template 15:22:57 https://www.ansible.com/products/ansible-community-training has "Ansible Community - Creating your own Collection" 15:23:04 I think it might but not ssure 15:23:38 #action - link to the tutorials at https://www.ansible.com/products/ansible-community-training 15:23:52 ok thanks. loads of little action items out of that discussion! 15:24:02 anything else on this before we move on? 15:25:13 https://play.instruqt.com/redhat/tracks/ansible-community-creating-your-own-collection is the link directly to the lab 15:25:59 #info tutorial on creating a collection https://play.instruqt.com/redhat/tracks/ansible-community-creating-your-own-collection 15:26:07 #topic Ansible docs project board 15:26:17 #info - is anyone accessing/using the Docs github project board? is it useful? - https://github.com/ansible/ansible/projects/27? 15:26:34 I confess, I barely use it ^^. But I'm wondering if we did use it more, would it be useful to folks? 15:27:08 I don't feel like ansible projects get a lot of use out of those boards, but maybe I'm not lookin at the right boards? 15:27:38 In the past I've used GitHub boards to track work. 15:27:49 I don't currently use that board, though. 15:28:02 I have a personal one I use all the time. But it's just my work. Dunno if that would be helpful to anyone 15:28:13 though looking at it, there in the Priority Rewrites column I see hte ticket for improving ansible-test docs 15:28:16 or if keeping/updating the docs one would be helpful 15:28:22 which is relevant to our earlier discussion today 15:28:28 heh 15:28:33 samccann: there's a new project board view that feels better 15:28:35 if only we followed the project board! 15:28:35 trying to find it now 15:28:42 he 15:28:45 * heh 15:28:52 oh I played with that a bit dmsimard 15:29:12 I didn't like it for my personal work, but maybe it's better for wide audience project boards like docs. 15:29:18 samccann: like that: https://github.com/orgs/ansible-collections/projects/6/views/1 15:29:19 * samccann assumes a wide audience for docs heh 15:29:56 I am also guilty of not using it but the board in itself is not a bad thing 15:30:04 heh 15:30:29 #info example of a project board using the new format -https://github.com/orgs/ansible-collections/projects/6/views/1 15:30:51 in my experience those boards work best if someone organizes them regularly - updating tickets, grooming the various categories/columns, closing tickets, setting priorities 15:31:00 I confess - I don't want to create busy-work for myself. If others think they'd pay attention to the docs board if we used it more, I'm happy to do it. 15:31:10 I just don't want to do it if I'm the only one looking at it so to speak 15:31:20 acozine: yes, there are people who are paid to do exactly that :D 15:31:25 heh 15:31:39 i feel a vote coming on!!! 15:31:46 yep, but I don't think anyone is currently paid to do that for the docs board 15:31:57 sorry, was mostly afk - but now I'm here :) 15:32:01 like should we vote on something like "If we had a better docs project tracking board, would you use it?" 15:32:16 welcome back felixfontein ;-) 15:33:17 ok here we go 15:33:21 * samccann waits 15:34:10 honestly, I don't think I would use it - I use the DaWGs agenda to track the things I've said I'll do in Ansible-docs-land 15:34:29 or at least, I try to 15:34:35 since I'm not that much working on docs things (at least not things that will probably be tracked there), I odn't think my opinion is really relevant :) 15:34:37 ok let's do this for posterity: 15:34:55 VOTE: DaWGS should keep and maintain a better Github project trackign board 15:34:58 1 if you agree 15:35:10 -1 if you would never touch it 15:35:14 0 if you think, meh, doesn't hurt 15:35:17 :-) 15:35:24 #chair 15:35:24 Current chairs: acozine ariordan briantist felixfontein samccann 15:35:29 0 15:35:30 same as felixfontein , I am generally not working directly on docs things in core, so I doubt I'd ever use it, but would not want it to not exist on my account 15:35:32 so `0` 15:35:40 0+ maybe ;) 15:35:40 agreed, 0 15:35:46 heh 15:35:50 0 also. 15:35:58 if even one person would use it, it's worth it imo 15:36:08 but I will not be that person ;) 15:36:10 I mean, I do some docs stuff but haven't looked at that board in ages 15:36:12 I agree on that! 15:36:20 yeah there is the aspect of 'maybe the powers that be' look at things like that 15:37:02 #info - general consensus is that a better project board is not a bad thing, but no one feels they would necessarily use it vs the existing DaWGs agenda/meeting minutes 15:37:12 if the powers that be want to know whats happeneing, they can always come ask me for data ;) 15:37:20 HAHAH there ya go 15:37:23 ok moving one 15:37:25 * ok moving on 15:37:31 #topic doctools 15:37:45 felixfontein: anything you want to bring up about splitting up `antsibull` ? 15:37:58 #info splitting up the antsibull package - https://github.com/ansible-community/antsibull/issues/410 15:38:40 I'm currently planning to split up antsibull in probably three parts: antsibull-core (some shared code), antsibull-docs (with the antsibull-docs CLI tool), and antsibull (with the antsibull-build and antsibull-lint CLI tools, the latter being deprecated) 15:39:07 splitting it up into three repos? 15:39:15 for users this shouldn't change much, except that if they don't need antsibull-build, they can also just install antsibull-docs in the future and have some less stuff (aka dependencies) coming along 15:39:22 or more refactoring within the existing repo? 15:39:27 the main reason is to separate antsibull-changelog and antsibull-docs more 15:39:38 hmm... will any potential users get confused by `core` in one of the names and think it only applies to ansible-core? 15:39:44 right now antsibull depends on antsibull-changelog (because antsibull-build needs it), but antsibull-docs doesn't need it 15:40:37 so if we bump the antsibull version for the docs build / sanity test in CI (which is internal to ansible/ansible and not visible in the ansible-core release), we also have to bump the antsibull-changelog version for the changelog sanity test in CI (which is actually visible in collections and thus in the ansible-core release) 15:41:05 felixfontein: so with this split, when we need an update to `antsibull-doc` we can do it w/o affecting the test containers? 15:41:09 bumping something visible has a lot more restrictions, since it's basically a new feature - even if the upgrade has no effect on the changelog sanity test (which it usually has) 15:41:16 samccann: exactly 15:41:24 at least without affecting the collections test container 15:41:41 the ansible-core test container is always affected, since it includes the things needed for the docs build test 15:41:50 ah so it might still require container updates for things like the docs-build sanity test? 15:41:57 gotcha. 15:42:01 so this basically allows us to upgrade antsibull-docs internally without affecting something visible in an ansible-core installation 15:42:06 yes 15:42:13 but fewer container updates 15:42:18 (one vs. two) 15:42:19 make sense 15:42:25 * makes sense 15:42:27 and it doesn't affect the publicly visible changelog sanity test 15:42:46 #info currently planning to split up antsibull in probably three parts: antsibull-core (some shared code), antsibull-docs (with the antsibull-docs CLI tool), and antsibull (with the antsibull-build and antsibull-lint CLI tools, the latter being deprecated) 15:43:23 one could even split up antsibull a bit more and remove the dependency on antsibull-build on antsibull-docs, but that can be done in a next step - depending on what we learned from the first step :) 15:43:40 #info this would mean `antsibull-doc updates would no longer impact the the publicly visible changelog sanity test or the collections test container 15:43:49 good stuff, thanks for explaining it all! 15:43:58 is there any feedback you are looking for at this point? 15:44:13 I created a test PR for this, which adds a develop dev dependency on antsibull-changelog to antsibull which would be similar to how it would depend on the new repos (antsibull-core, antsibull-docs) 15:44:30 I think I'm mainly interested in feedback from developers like briantist and dmsimard :) 15:44:44 because the splitup should be effectively invisible to most users 15:45:06 of course if someone else has some feedback, it's also welcome! 15:45:29 heh cool 15:45:44 I guess the main downside for the docs team would be 'more repos in which issues can be opened' ;) 15:45:54 (or PRs) 15:46:08 heh 15:46:08 felixfontein: it sounds great to me! I feel slightly unqualified to have thought it through, because I don't have a lot of context on the issues of interactions into core. But I do trust your judgement on it, and the plan sounds forward-thinking and like an improvement to me :) 15:47:03 heh that's another problem with the existing docs project board - hard to cover all the other repos with it! Though I do realize it's possible 15:47:09 I don't think there are a ton of folks opening issues on antsibull today, are there? I would not expect many docs issues there. 15:47:18 I think we already discussed splitting up for a longer time, even when Toshio was still around, but never implemented it because it wasn't really urgent. but the necessity of bumping antsibull-changelog in core is a good reason to do it IMO. 15:47:47 acozine: there are not. also it's easy to move issues between repos in the same organization, so it's not a problem anyway :) 15:48:02 I do remember discussions about it, and it seems like a good idea. 15:48:07 it could mostly be a little bit confusing if you're searching for an issue and cannot find it because you look in the wrong repo 15:48:51 yeah I think so long as docs are in ansible/ansible, there will be the odd issue or two opened up about something that's actually in the theme or in `anstibull-docs` 15:49:02 but I don't see that happening much 15:49:32 ok we have 10 minutes left to open the floor 15:49:35 #topic Open Floor 15:50:10 * samccann feels that has a strange sort of history to it..parliamentary procedure or something? 15:50:26 Here's the time to bring up anything you want about docs! 15:50:37 planning on adding no_log to docs (already present in argspec) 15:50:42 I've already created new repos (https://github.com/ansible-community/antsibull-core, https://github.com/ansible-community/antsibull-docs) and will start filling them with content to see how things work. once I got something that looks promising I'll do more pings :) 15:50:50 bcoca: awesome! 15:50:55 do i keep no_log name or should we have confidential/secret/etc? 15:51:12 bcoca: what's the status of the sidecar PR? will it be merged early in the next development phase? 15:51:19 I updated https://github.com/ansible/ansible/issues/75509 with a checklist of CLI commands to add cheatsheet entries for. 15:51:27 felixfontein: i wish i knew 15:51:42 and checked off `ansible-playbook` now that PR 76655 is merged 15:52:04 Thanks acozine !! 15:52:31 bcoca: I could see the argument either way - `no_log` has a long history and experienced folks know it 15:52:46 bcoca: realizing I know zero about this - but 'secret' has a security implication so I'd avoid that 15:53:08 also `no_log` describes what the feature actually does 15:53:12 'censor' might also be another name for it 15:53:14 does no_log mean just... no logging? 15:53:26 because that's basically what it does, it will censor that value in any output (log or return value) 15:53:32 "redact" is also an option? 15:53:35 samccann: no_log has security implication 15:53:39 * gwmngilfen-work is a thesaurus 15:53:45 it means "don't put this into the log because the output will contain secrets/passwords" 15:53:46 gwmngilfen-work: 'redact' sounds better than 'censor' :) 15:53:57 heh, agreed 15:53:59 gwmngilfen-work++ on redact 15:54:04 censor is so . . . censorious 15:54:12 redacted: true 15:54:13 censor implies judgement ;) 15:54:37 redact might work, but I agree with acozine comment - if there is already a `no_log` feature, we would need a compelling reason to change the name 15:55:29 there are two different (but related) no_log features in Ansible 15:55:44 the other argument in favor of the change (or the addition) would be that `redacted: true` is easy to read - easier in my mind than `no_log: true` which always takes me a few seconds to parse . . . 15:56:05 I think "wait, do i set this to `true` or to `false`? and then I have to think through the logic 15:56:09 also just because it's called `no_log` in YAML doesn't mean it couldn't be shown as `redacted` in the HTML version :) 15:56:38 though it will be confusing if different help display programs show that value differently 15:56:42 can also just have both, one as alias to other ... 15:57:23 acozine: indeed, double-negatives aren't great (i.e no_log: false) 15:57:30 bcoca: that makes the doc display world more complicated :) 15:57:55 felixfontein: more worried about user comprehension than the complexity of code they'll never read 15:58:37 bcoca: I'm worried about both ;) 15:58:50 `redacted: false` vs `no_log: false` 15:58:59 anyway, I have to switch to the more important questions in life - what do I cook for today's dinner? 15:59:07 lol 15:59:17 whatever it is, ya gotta share the recipe! 15:59:20 ;-) 15:59:28 felixfontein: i already have my lunch planned, creamy fetuchini with spinach 16:00:08 so +1 for `redacted` with a `no_log` alias from me 16:00:25 and +1 for bcoca sharing lunch w the rest of us cuz that sounds tasty 16:00:41 We're at the top of the hour. Anything else before we end the meeting? 16:00:42 bcoca: I'll probably do some kind of curry... I have enough fitting fresh veggies for that 16:00:50 i have still not solved the PoIP issue (pasta over internet protocol) 16:00:59 but yeah, a bite of bcoca's lunch also sounds good :D 16:00:59 I just placed my lunch order, after not being able to decide for 45 minutes (so, regular day really) 16:01:05 felixfontein: i have some fresh asparragus also as salad 16:01:08 hahaha 16:01:25 should have started this with topic food plans 16:01:34 ok, I'm off to the kitchen now. see you later ;) and enjoy your food! :) 16:01:37 #endmeeting