Include ansible.utils collection #4
Replies: 15 comments 46 replies
-
Hi @ganeshrn. The community has agreed on a list of criteria that must be met to move forward with the inclusion of a collection in the Ansible package. For this discussion, we will use a shortened checklist to verify and record compliance, but you can find the full details in the Collection Requirements documentation. This is a new and gradual process, and we will edit this comment as we progress along. The items in the checklist can be in one of the following states:
Feel free to ask any questions and provide feedback. Thanks in advance for your understanding. Public availability and communication:
Standards and documentation:
Collection management:
Tests:
General notes: This collection uses (abuses?) the fact that Ansible does not verify the collection's structure and uses non-standard directories to store code ( |
Beta Was this translation helpful? Give feedback.
-
Question (already asked here, but so far no reply): why is the changelog RST file inside the changelogs/ directory, and not in the collection root? |
Beta Was this translation helpful? Give feedback.
-
Public availability and communication:
Standards and documentation:
Collection management:
Tests:
|
Beta Was this translation helpful? Give feedback.
-
I started to think more about this last night, with how we plan to base testing on execution environments. Given that ansible 2.11 and 2.12 are python38 only. How does that play into community collections. We are seriously considering only supporting python38 for network collections, given ansible-core has move this way. Do we explicitly say, a collection MUST support all python versions? |
Beta Was this translation helpful? Give feedback.
-
Is this officially documented, or personal opinion? Again, I am trying to get to a point, where we can look to the guidelines and be explicit on what is supported or not. None of this on our-side is set in stone, and we have the ability increase coverage. So far, we are told we can pick any version of python to support, in our discussion that is python38 per ansible-core. Yet, also told makes little sense to be included in ansible 3.0.0 now. I would personal like to see, if we as collections owners okay with picking our own version of python, then limit sanity to also be that same version of python to be ran. It makes little sense, to still run python 2.7 or python 3.6 sanity, if un-supported in the collection. |
Beta Was this translation helpful? Give feedback.
-
@tadeboro @felixfontein Thanks for reviewing the collection and providing the comments. I have fixed doc related comments in PR ansible-collections/ansible.utils#32. Please review it. |
Beta Was this translation helpful? Give feedback.
-
I'm starting a new thread so this won't get forgotten: the collection still does not run the ansible-base 2.10 sanity checks (see ansible-collections/ansible.utils#33 (comment)). (To clarify: this is a REQUIREMENT for inclusion in 3.0.0 and for me a BLOCKER if not satisfied.) |
Beta Was this translation helpful? Give feedback.
-
There were concerns raised around the mention of |
Beta Was this translation helpful? Give feedback.
-
Just a note. The deadline for new collections to be accepted was today, 27-01-2021, but we voted at today's community irc meeting to extend that to Friday:
|
Beta Was this translation helpful? Give feedback.
-
The test matrix for the collection as on today is:
The results for unit and integration tests are publicly available with very good code coverage (unlike some other collections in the list :-)) and this should give a high level of confidence in code quality, especially from the end-users perspective. As @pabelanger mentioned in the comment here we are working on adding more python versions for sanity test which should be ready by next week. Considering the extensive test coverage in unit and integration test with different python version the lack of sanity test for other python versions shouldn't be considered as a blocking issue for Ansible 3.0.0 inclusion IMO. |
Beta Was this translation helpful? Give feedback.
-
@ganeshrn Nicely done on the test code coverage! I see ansible.utils is at 98.9%. I wan't able to find the inclusion criteria bar but I'm sure this meets it. https://app.codecov.io/gh/ansible-collections/ansible.utils |
Beta Was this translation helpful? Give feedback.
-
Since the code quality is excellent and sanity testing changes are on the way, I approve the inclusion of this collection in Ansible 3.0.0 |
Beta Was this translation helpful? Give feedback.
-
I need to know some githb ids for the maintainer/owners of this collection to add it to the ansible package. |
Beta Was this translation helpful? Give feedback.
-
@tadeboro @felixfontein @Andersson007 @abadger @gundalow @NilashishC @pabelanger @cidrblock Thank you all for the reviews and the work on this collection. IMO the collection is in a better state today as compared to that of before opening up this discussion and hopefully, all the discussions around it helped improve the process of community inclusion :-) |
Beta Was this translation helpful? Give feedback.
-
This has now been added for the ansible-3 release. |
Beta Was this translation helpful? Give feedback.
-
Repo: https://github.com/ansible-collections/ansible.utils
Galaxy: https://galaxy.ansible.com/ansible/utils
Owners: ganeshrn, cidrblock, pabelanger
Beta Was this translation helpful? Give feedback.
All reactions