Matt Clay
05531b99d0
Restore README.rst, update and fix formatting. ( #18012 )
...
* Revert "Update validate-modules README and convert to MD. (#18008 )"
* This reverts commit 4916fe9962
.
* Fix formatting of README.rst.
8 years ago
Peter Sprygada
936bca9fc6
fixes issue when checking if sessions are supported ( #18013 )
...
the supports_sessions() call was sending the command as a string instead
of a list which is required when transport is eapi. This fixes that bug
8 years ago
Peter Sprygada
b1666020a9
adds additional exception handling in open() ( #18003 )
...
The open() method will now catch a socket.timeout exception and raise
a ShellError.
8 years ago
Peter Sprygada
bce31a11c2
minor fix for checking kwargs in get_config() ( #18002 )
...
The get_config() method was checking for a nonexistent kwarg that would
cause an exception. This fixes that problem.
8 years ago
Brian J. Dowling
2be2f35373
Quick ansible-doc fix -- don't run pager if there was an error (no text)
8 years ago
Matt Clay
4916fe9962
Update validate-modules README and convert to MD. ( #18008 )
8 years ago
Brian Coca
18d3e0533f
always log unexpected exceptions
8 years ago
Brian Coca
cdb5a222c5
restored 'results' filters
...
tests do not work the same, restoring old filters to keep backwards compat
tests now only implment the new normalized 'tense'
8 years ago
Brian Coca
1e308a09e2
removed non-feature -include in requirements.txt ( #17921 )
...
fixes #17917
8 years ago
Matt Clay
c2ec86cb78
Migrate Windows CI roles to test targets. ( #18005 )
8 years ago
Matt Clay
9182619fef
Merge pull request #18001 from gundalow/validate-modules
...
Take ownership of ansible-validate-modules
8 years ago
Matt Clay
75e4645ee7
Migrate Linux CI roles to test targets. ( #17997 )
8 years ago
John Barker
2445ad72de
Don't update submodules
8 years ago
John Barker
25286c3c7d
README.rst to reference new name
8 years ago
John Barker
ef06b5501c
Port sivel/ansible-validate-modules into Ansible
8 years ago
John R Barker
60e8cf9aa7
version_added for deprecated modules ( #36 )
...
* version_added for deprecated modules
Modules are deprecated by renaming so they start with "_".
This means we will not find an existing module with that
name, so look up the original name, i.e. without the leading '_'.
* Deal with aliased/symlinked modules
8 years ago
Adrian Likins
f883b33441
short_description is just basestring ( #35 )
...
As of ansible/ansible 883f451158
'short_description' value is expected to only be a string.
This should catch issues like
https://github.com/ansible/ansible/issues/17634
8 years ago
nitzmahone
3eec84b69a
add async_status to PS module doc blacklist
8 years ago
Matt Clay
54118d45da
Add blacklist/ignore for .idea dir.
8 years ago
Matt Clay
5d342050a6
Add shippable.yml to blacklist. ( #32 )
8 years ago
John R Barker
247066e6a8
Report missing ansible.module_utils.basic import as a warning ( #31 )
...
For new Networking modules we import via another library
See sivel/ansible-testing/issue/30
8 years ago
Matt Martz
43c028d52d
options can be None, don't iterate None
8 years ago
Matt Martz
d777e217e7
Issues with pre-existing docs should not cause errors, only warnings
8 years ago
Matt Martz
aeb064520e
When checking option version_added, if unexpected exception, continue
8 years ago
Toshio Kuratomi
d6ecdfd00a
Blacklist __pycache__ directories
8 years ago
Matt Martz
3c02af6494
BLACKLIST_IMPORTS can be regex to making matching easier
8 years ago
Matt Martz
44fa8c1fb2
Add ability to analyze the argument_spec for a module
8 years ago
Matt Martz
7cc11e4ad5
mark requests and boto as blacklisted imports for new modules. Fixes #21
8 years ago
Matt Martz
9ce546d03e
Don't check for basic.py redeclarations. Fixes #10
8 years ago
Matt Martz
b8b3003b29
Rework module_utils detection for zipmodule
8 years ago
Matt Martz
38464b1fdc
Don't exit after individual file
8 years ago
Matt Martz
074661ef0e
Make modules accept multiple paths
8 years ago
Matt Martz
a90e1c353e
Drop bottom import checking. Fixes #22
8 years ago
Matt Martz
71562d83e1
Consolidate blackist imports, remove JSON import check. See #23
8 years ago
Matt Martz
9c029eca9e
Fix license headers and copyright across all files
8 years ago
Matt Martz
d945198faf
Fix license headers and copyright across all files
8 years ago
Matt Martz
eb352e2876
Ignore the .github directory
8 years ago
Matt Martz
3d2c5f3016
Choices should be a list, not a string
8 years ago
Matt Martz
a103f81513
Validate DOCUMENTATION schema
8 years ago
Matt Martz
10d683a962
Look inside try/except for requests imports
8 years ago
Matt Martz
28774875b4
On ast parser failure, try compiliation to get error
8 years ago
Matt Martz
9b31175cf8
Get module version_added from existing, and catch invalid versions
8 years ago
Matt Martz
3842ae9ded
Don't error on version_added for arg, if version_added should be the same as when the module was added. Fixes #18
8 years ago
Matt Martz
113c74faac
flake8 clean ups
8 years ago
Matt Martz
75b299e6de
Add CaptureStd context manager for capturing stdout and stderr
8 years ago
Matt Martz
60a2165987
Improved documentation error handling
8 years ago
Matt Martz
ddf0474a76
Manipulate YAMLError for docs. Fixes #14
...
* reference the section the error came from
* offset the line number to reference the actual line in the file
8 years ago
Matt Martz
6bcc5e6f6a
Add *.txt and test dir to exclusions
8 years ago
Matt Martz
cd88cb753c
Make sure we find the .py file when looking for a module to compare docs with
8 years ago
Matt Martz
87808797ea
Fix flake8 error
8 years ago