mirror of https://github.com/ansible/ansible.git
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.
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.
* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index
To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
removed_module()
```
|
8 years ago | |
|---|---|---|
| .. | ||
| style_guide | 8 years ago | |
| testing | 8 years ago | |
| Makefile | 9 years ago | |
| developing_api.rst | 8 years ago | |
| developing_core.rst | 9 years ago | |
| developing_inventory.rst | 9 years ago | |
| developing_module_utilities.rst | 8 years ago | |
| developing_modules.rst | 8 years ago | |
| developing_modules_best_practices.rst | 8 years ago | |
| developing_modules_checklist.rst | 8 years ago | |
| developing_modules_documenting.rst | 8 years ago | |
| developing_modules_general.rst | 8 years ago | |
| developing_modules_general_OLD._rst | 8 years ago | |
| developing_modules_general_windows.rst | 8 years ago | |
| developing_modules_in_groups.rst | 8 years ago | |
| developing_plugins.rst | 8 years ago | |
| developing_program_flow_modules.rst | 8 years ago | |
| developing_python3.rst | 8 years ago | |
| developing_rebasing.rst | 9 years ago | |
| index.rst | 8 years ago | |
| overview_architecture.rst | 8 years ago | |
| repomerge.rst | 8 years ago | |
| testing.rst | 8 years ago | |
| testing_compile.rst | 8 years ago | |
| testing_httptester.rst | 8 years ago | |
| testing_integration.rst | 8 years ago | |
| testing_integration_legacy.rst | 9 years ago | |
| testing_pep8.rst | 8 years ago | |
| testing_running_locally.rst | 8 years ago | |
| testing_sanity.rst | 9 years ago | |
| testing_units.rst | 8 years ago | |
| testing_units_modules.rst | 8 years ago | |
| testing_validate-modules.rst | 8 years ago | |