ansible/test/support
Felix Fontein 40f21dfd3c
Version source tagging (automatic and manual) for version_added and deprecation versions (#69680)
* Track collection for version_added.
Validate *all* version numbers in validate-modules.
For tagged version numbers (i.e. version_added), consider source collection to chose validation.

* Make tagging/untagging functions more flexible.

* Tag all versions in doc fragments.

* Tag all deprecation versions issued by code.

* Make Display.deprecated() understand tagged versions.

* Extend validation to enforce tagged version numbers.

* Tag versions in tests.

* Lint and fix test.

* Mention collection name in collection loader's deprecation/removal messages.

* Fix error IDs.

* Handle tagged dates in Display.deprecated().

* Also require that removed_at_date and deprecated_aliases.date are tagged.

* Also automatically tag/untag removed_at_date; fix sanity module removal version check.

* Improve error message when invalid version number is used (like '2.14' in collections).
2020-05-28 22:46:16 -07:00
..
integration/plugins Version source tagging (automatic and manual) for version_added and deprecation versions (#69680) 2020-05-28 22:46:16 -07:00
network-integration/collections/ansible_collections
windows-integration Internally redirect win modules to collection name (#68317) 2020-03-23 11:14:21 -05:00
README.md add readme to test/support (#68450) 2020-03-24 17:15:01 -05:00

IMPORTANT!

Files under this directory are not actual plugins and modules used by Ansible and as such should not be modified. They are used for testing purposes only (and are temporary).

In almost every case, pull requests affecting files under this directory will be closed.

You are likely looking for something under https://github.com/ansible-collections/ instead.