ansible/changelogs
Matt Clay c271fd0df2 [stable-2.9] Fixes for validate-modules import handling. (#63932)
* Fix validate-modules support for collections.

- Relative imports now work correctly.
- The collection loader is now used.
- Modules are invoked as `__main__`.

* Remove obsolete validate-modules code ignores.

* Handle sys.exit in validate-modules.

* Add check for AnsibleModule initialization.

* Remove `missing-module-utils-import` check.

This check does not support relative imports or collections.

Instead of trying to overhaul the test, we can rely on the `ansible-module-not-initialized` test instead.

* Fix badly named error codes with `c#` in the name.

The `#` conflicts with comments in the sanity test ignore files.

* Add changelog entries.
(cherry picked from commit e9f8a34dce)

Co-authored-by: Matt Clay <matt@mystile.com>
2019-11-11 15:07:58 -08:00
..
fragments [stable-2.9] Fixes for validate-modules import handling. (#63932) 2019-11-11 15:07:58 -08:00
.changes.yaml New release v2.9.0 2019-10-31 09:06:47 -07:00
CHANGELOG-v2.9.rst New release v2.9.0 2019-10-31 09:06:47 -07:00
CHANGELOG.rst
config.yaml