Closed bcoca closed 2 years ago
Meeting ended Tue Nov 2 19:33:52 2021 UTC. Information about Zodbot's MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions . Minutes: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-02/core_public_irc_meeting.2021-11-02-19.03.html Minutes (text): https://meetbot.fedoraproject.org/ansible-meeting/2021-11-02/core_public_irc_meeting.2021-11-02-19.03.txt Log: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-02/core_public_irc_meeting.2021-11-02-19.03.log.html
Goneri (moved from last month due to PTO)
M(...)
and some friends). This already exposed broken docs in some collections, and would have also exposed https://github.com/ansible/ansible/pull/76202 if it hadn't already been fixed. (Antsibull now ignores M(...)
where the content is not similar enough to a FQCN, and according to the docs team this made ~150 docs build warnings go away. A certain amount of these will likely be issues exposed by this PR.)Meeting ended Thu Nov 11 15:39:51 2021 UTC. Information about Zodbot's MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions . Minutes: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-11/ansible_core_public_irc_meeting.2021-11-11-15.00.html Minutes (text): https://meetbot.fedoraproject.org/ansible-meeting/2021-11-11/ansible_core_public_irc_meeting.2021-11-11-15.00.txt Log: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-11/ansible_core_public_irc_meeting.2021-11-11-15.00.log.html
It was brought up that we hadn't decided how we would be hinting types in ansible-core. I think the issue is simplified considerably with ansible-core dropping support for Python versions which do not support the PEP484 type hints.
For me, the biggest advantage of type hints is that I can know what type I should expect function arguments or class attributes to be without having to trace their creation. Ansible solves complicated problems, and sometimes tracing where something is created to show which class it is instantiated from can involve moving up several classes through about a dozen functions.
Pros:
Cons:
I think we can mitigate the cons by only putting type hints where they're useful. I think a good definition of "useful" in this case is where someone thought to add them or to request them.
TL;DR: I think we should allow the use of PEP484 type hints in ansible-core
(this is my first time adding an item to the agenda, LMK if there are things I can improve)
Summary from the IRC meeting:
Here's a demo mattclay put together so we can discuss something concrete: https://github.com/ansible/ansible/pull/76332
Meeting ended Tue Nov 16 20:16:34 2021 UTC. Information about Zodbot's MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions . Minutes: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-16/ansible_core_public_irc_meeting.2021-11-16-19.00.html Minutes (text): https://meetbot.fedoraproject.org/ansible-meeting/2021-11-16/ansible_core_public_irc_meeting.2021-11-16-19.00.txt Log: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-16/ansible_core_public_irc_meeting.2021-11-16-19.00.log.html
summary: no discussion, but now have proposal for type hints
Meeting ended Tue Nov 30 19:35:47 2021 UTC. Information about Zodbot's MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions . Minutes: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-30/ansible_core_irc_meeting.2021-11-30-19.19.html Minutes (text): https://meetbot.fedoraproject.org/ansible-meeting/2021-11-30/ansible_core_irc_meeting.2021-11-30-19.19.txt Log: https://meetbot.fedoraproject.org/ansible-meeting/2021-11-30/ansible_core_irc_meeting.2021-11-30-19.19.log.html
Please leave a comment regarding any agenda item you wish to discuss. If you don't show up for the meeting, your item will be skipped. If your IRC nick is different from your Github username, leave that as well. See https://github.com/ansible/community/blob/master/meetings/README.md for the schedule
Once an item has been discussed it should get checked off.
If you just want reviewers for your contribution try the #ansible-devel irc channel on libera.chat