1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/sanity
John R Barker a23c95023b
Module deprecation: docs, scheme and tests (#34100)
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()
```
2018-01-30 12:23:52 +00:00
..
ansible-doc Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
code-smell Added code-smell check to verify filenames are allowed with Windows (#35436) 2018-01-29 13:46:02 -08:00
compile Convert ansible-test compile into a sanity test. 2018-01-25 09:45:36 -08:00
import azure_rm_dnsrecordset: fix broken import and minor updates (#34983) 2018-01-25 09:39:49 -08:00
pep8 Test cleanup. 2018-01-11 13:43:10 -08:00
pslint Add pslint sanity test. (#35303) 2018-01-24 17:22:14 -08:00
pylint ACI: Fixing new pylint issue (#34775) 2018-01-12 08:07:59 +01:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Test cleanup. 2018-01-11 13:43:10 -08:00
validate-modules Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
yamllint Add module support to yamllint sanity test. (#34964) 2018-01-16 15:08:56 -08:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00