ansible/lib/ansible/galaxy
Matt Martz bf7d4ce260
Abstract away libyaml details into yaml utils (#72607)
* Add yaml utils file and use it

* Linting fix and missing import

* Abstract a few more details

* Parser imports

* Don't use CSafeDumper in AnsibleDumper

* Move and use convert_yaml_objects_to_native when libyaml is present

* yaml_load and yaml_dump, instead of safe_*

* re-use HAS_LIBYAML from utils.yaml

* add changelog fragment

* Address recent changes

* Use representer instead of recursive type converter

* Restore needed import

* move yaml utils to module_utils

* Properly guard imports

* Update from_yaml(_all)? to handle text wrappers with CSafeLoader

* Use yaml utils for legacy_collection_loader

* Add HAS_YAML, and ignore pylint issue

* oops

* GPL->BSD
2021-04-21 16:47:03 -05:00
..
collection Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
data starting metadata sunset (#69454) 2020-06-04 21:01:46 -04:00
dependency_resolution Use iskeyword and str.isidentifier for "is FQCN" (#73279) 2021-02-11 18:23:57 -08:00
__init__.py Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
api.py ansible-galaxy - set the cache file after getting all collection versions (#73557) 2021-02-15 09:45:01 -05:00
role.py Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
token.py Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
user_agent.py ansible-galaxy - expand User-Agent string for Galaxy endpoints (#65578) 2019-12-06 10:34:14 +10:00