ansible/test/lib/ansible_test/_internal/sanity
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
..
__init__.py Code cleanup in ansible-test. 2020-05-15 18:17:11 -07:00
ansible_doc.py
bin_symlinks.py
compile.py
ignores.py
import.py collection routing (#67684) 2020-05-26 09:42:06 -07:00
integration_aliases.py ansible-test - fix up relative util import for powershell validate-modules (#69753) 2020-05-29 14:31:59 +10:00
pep8.py
pslint.py
pylint.py Version source tagging (automatic and manual) for version_added and deprecation versions (#69680) 2020-05-28 22:46:16 -07:00
rstcheck.py
sanity_docs.py
shellcheck.py
validate_modules.py Allow to deprecate options and aliases by date (#68177) 2020-05-26 20:23:56 -04:00
yamllint.py