ansible/lib/ansible/template
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 Version source tagging (automatic and manual) for version_added and deprecation versions (#69680) 2020-05-28 22:46:16 -07:00
native_helpers.py native types: literal_eval all the things (#68938) 2020-04-17 14:59:52 +02:00
safe_eval.py Properly handle unicode in safe_eval (#68576) 2020-05-20 12:08:50 -04:00
template.py Prevent templating unused variables for {%include%} (#68749) 2020-04-14 10:27:02 +02:00
vars.py