ea04e0048d
* 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> |
||
---|---|---|
.. | ||
platforms | ||
shared_snippets | ||
style_guide | ||
testing/sanity | ||
debugging.rst | ||
developing_api.rst | ||
developing_collections.rst | ||
developing_core.rst | ||
developing_inventory.rst | ||
developing_locally.rst | ||
developing_module_utilities.rst | ||
developing_modules.rst | ||
developing_modules_best_practices.rst | ||
developing_modules_checklist.rst | ||
developing_modules_documenting.rst | ||
developing_modules_general.rst | ||
developing_modules_general_aci.rst | ||
developing_modules_general_windows.rst | ||
developing_modules_in_groups.rst | ||
developing_plugins.rst | ||
developing_program_flow_modules.rst | ||
developing_python_3.rst | ||
developing_rebasing.rst | ||
index.rst | ||
migrating_roles.rst | ||
module_lifecycle.rst | ||
overview_architecture.rst | ||
testing.rst | ||
testing_compile.rst | ||
testing_documentation.rst | ||
testing_httptester.rst | ||
testing_integration.rst | ||
testing_integration_legacy.rst | ||
testing_pep8.rst | ||
testing_running_locally.rst | ||
testing_sanity.rst | ||
testing_units.rst | ||
testing_units_modules.rst | ||
testing_validate-modules.rst |