Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Expand checklist and clarify requirements #196

Merged
merged 4 commits into from
Feb 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions collection_checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ Every comment should say whether the reviewer expects it to be addressed, or whe
- [ ] collection dependencies must have a lower bound on the version which is at least 1.0.0, and are all part of the `ansible` package
- [ ] `meta/runtime.yml` defines the minimal version of Ansible which the collection works with
- [ ] has changelog, preferably with `changelogs/changelog.yaml`
- [ ] collection repository should not contain any large objects (binaries) comparatively to the current Galaxy tarball size limit of 20 MB like, for example, package installers for testing purposes
Andersson007 marked this conversation as resolved.
Show resolved Hide resolved
- [ ] collection repository should not contain any unnecessary files like, for example, temporary files created by development tools
Andersson007 marked this conversation as resolved.
Show resolved Hide resolved

**Tests:**

- [ ] passed `ansible-test sanity`
- [ ] if `test/sanity/ignore*.txt` exists, it does not contain error codes listed [here](https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst#ci-testing)
- [ ] has CI tests up and running against each of the "major versions" of `ansible-base`/`ansible-core` that the collection supports
Expand Down
5 changes: 5 additions & 0 deletions collection_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Collections
* The CoC MUST be linked from the ``README.md`` file, or MUST be present or linked from the ``CODE_OF_CONDUCT.md`` file in the collection root.

* MUST be published to `Ansible Galaxy <https://galaxy.ansible.com>`_.
* SHOULD NOT contain any large objects (binaries) comparatively to the current Galaxy tarball size limit of 20 MB like, for example, package installers for testing purposes.
* SHOULD NOT contain any unnecessary files like, for example, temporary files created by development tools.
* MUST only contain objects that follow the :ref:`licensing rules<Licensing>`.

Python Compatibility
====================
Expand Down Expand Up @@ -233,6 +236,8 @@ Module naming
Modules that only gather information MUST be named ``<something>_info``. Modules that return ``ansible_facts`` are named ``<something>_facts`` and do not return non-facts.
For more information, refer to the `Developing modules guidelines <https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_general.html#creating-an-info-or-a-facts-module>`_.

.. _Licensing:

Licensing
=========

Expand Down