You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/docsite/rst/dev_guide
Felix Fontein ea04e0048d
Allow to deprecate options and aliases by date (#68177)
* Allow to deprecate options and aliases by date instead of only by version.

* Update display.deprecate().

* Adjust behavior to conform to tested behavior, extend tests, and improve C# style.

* Parse date and fail on invalid date.

This is mainly to make sure that people start using invalid dates, and we eventually have a mess to clean up.

* C# code: improve validation and update/extend tests.

* Make sure that deprecate() is not called with both date and version.

* Forgot to remove no longer necessary formatting.

* Adjust order of warnings in C# code.

* Adjust unrelated test.

* Fix grammar (and make that test pass).

* Don't parse date, and adjust message to be same as in #67684.

* Sanity tests: disable date in past test.

* Validate-modules: validate ISO 8601 date format.

* Validate-modules: switch schema declaration for deprecated_aliases to improve error messages for invalid dates.

* Use DateTime instead of string for date deprecation.

* Validate that date in deprecated_aliases is actually a DateTime.

* Fix tests.

* Fix rebasing error.

* Adjust error codes for pylint, and add removed_at_date and deprecated_aliases.date checks to validate-modules.

* Make deprecation date in the past error codes optional.

* Make sure not both version and date are specified for AnsibleModule.deprecate() calls.

* Stop using Python 3.7+ API.

* Make sure errors are actually reported. Re-add 'ansible-' prefix.

* Avoid crashing when 'name' isn't there.

* Linting.

* Update lib/ansible/module_utils/csharp/Ansible.Basic.cs

Co-authored-by: Jordan Borean <jborean93@gmail.com>

* Adjust test to latest change.

* Prefer date over version if both end up in Display.deprecated().

Co-authored-by: Jordan Borean <jborean93@gmail.com>
4 years ago
..
platforms vmware: example should use FQCN (#69351) 4 years ago
shared_snippets Clarify that GPLv3+ module_utils need core team approval (#56740) 5 years ago
style_guide added guidelines for seo; (#66431) 5 years ago
testing/sanity remove azure extras and extras_require support (#67822) 4 years ago
debugging.rst Correct debugging modules documentation (#69245) 4 years ago
developing_api.rst removes last :doc: links in the dev guide (#58417) 5 years ago
developing_collections.rst Document how to migrate a standalone role to a collection (#68687) 4 years ago
developing_core.rst removes last :doc: links in the dev guide (#58417) 5 years ago
developing_inventory.rst Fix cache example (#64600) 5 years ago
developing_locally.rst Update local module options (#57553) 5 years ago
developing_module_utilities.rst fixed some broken links (#66182) 5 years ago
developing_modules.rst rewrite of the developer guide, part 1 (#45179) 6 years ago
developing_modules_best_practices.rst dev_guide/developing_modules_best_practices.rst: fix typo (#67639) 4 years ago
developing_modules_checklist.rst This was changed to python 2.7 but should have remained python 2.6 (#66836) 4 years ago
developing_modules_documenting.rst Link the testing documentation to the module documenting page (#67248) 4 years ago
developing_modules_general.rst doc: Fix tiny typo in example: change --> changed (#66835) 4 years ago
developing_modules_general_aci.rst fix make webdocs warnings (#68411) 4 years ago
developing_modules_general_windows.rst fix last 7 docs errors on post-migration test runs (#68115) 4 years ago
developing_modules_in_groups.rst This was changed to python 2.7 but should have remained python 2.6 (#66836) 4 years ago
developing_plugins.rst Update inventory caching documentation (#69100) 4 years ago
developing_program_flow_modules.rst doc: explain default "required" value for argument_spec (#68678) 4 years ago
developing_python_3.rst Update developing_python_3.rst (#66249) 5 years ago
developing_rebasing.rst Update developing_rebasing.rst (#51650) 5 years ago
index.rst Document how to migrate a standalone role to a collection (#68687) 4 years ago
migrating_roles.rst Document how to migrate a standalone role to a collection (#68687) 4 years ago
module_lifecycle.rst rewrite of the developer guide, part 1 (#45179) 6 years ago
overview_architecture.rst Docs: edits & expands module_utils & search path info in dev guide (#55931) 5 years ago
testing.rst Extend dev guide for collection testing and collection hacking (#68899) 4 years ago
testing_compile.rst Extend dev guide for collection testing and collection hacking (#68899) 4 years ago
testing_documentation.rst dev_guide: Correct path to ansible-test requirements files (#66626) 5 years ago
testing_httptester.rst removes last :doc: links in the dev guide (#58417) 5 years ago
testing_integration.rst Dev guide: add notes about different image types for integration and unit/sanity tests (#68663) 4 years ago
testing_integration_legacy.rst restores legacy testing file (#46095) 6 years ago
testing_pep8.rst Remove obsolete docs on pep8 sanity test. 5 years ago
testing_running_locally.rst fixes link, makes intrapage TOC local (#67664) 4 years ago
testing_sanity.rst Dev guide: add notes about different image types for integration and unit/sanity tests (#68663) 4 years ago
testing_units.rst Dev guide: add notes about different image types for integration and unit/sanity tests (#68663) 4 years ago
testing_units_modules.rst fixes import paths for ansible unit testing (#65775) 5 years ago
testing_validate-modules.rst Allow to deprecate options and aliases by date (#68177) 4 years ago