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.
ansible/test/integration/targets/ansible-galaxy-collection/tasks
Matt Martz 56d142350d
Add support for importlib.resources (#78915)
* Add support for importlib.resources

* Remove the importlib.resources imports

* return the correct data

* Some code comments, and re-order for consistency

* Disallow traversing packages below an individual collection

* Add a traversable class for namespaces

* Re-use variable

* Utilize itertools.chain.from_iterable

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Simplify logic to check for packages from ansible loaders

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Just a generator expression, instead of a generator

* docstrings

* Add comment about find_spec for our namespaces

* Add some initial unit tests for importlib.resources

* normalize

* Utilize importlib.resources for listing collections

* collections_path is already in config, just use config

* install uses a different default for collections_path

* Remove unused import

* Remove duplicate __truediv__

* Bring back TraversableResources

* Apply some small suggestions from code review

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>

* Remove cross contamination between plugin loader code and CLI code

* Remove unused import

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
2 years ago
..
build.yml Remove COMMAND_WARNINGS and warn (#77411) 3 years ago
download.yml ansible-galaxy - support resolvelib versions >= 0.5.3, < 0.9.0 (#77649) 2 years ago
fail_fast_resolvelib.yml ansible-galaxy - support resolvelib versions >= 0.5.3, < 0.9.0 (#77649) 2 years ago
init.yml ansible-galaxy collection|role init - fix preserving symlinks (#79134) 2 years ago
install.yml Fix collection install from source respects symlinks (#78983) 2 years ago
install_offline.yml Add --offline option to 'ansible-galaxy collection install' (#78678) 2 years ago
list.yml Add support for importlib.resources (#78915) 2 years ago
main.yml Limit Galaxy API calls during ansible-galaxy dependency resolution (#77468) 2 years ago
publish.yml Galaxy server update (#72286) 4 years ago
pulp.yml ansible-galaxy - source deps from all servers and not just parent (#72576) 4 years ago
revoke_gpg_key.yml ansible-galaxy-collection - use --pinentry-mode loopback for gpg key revocation (#77967) 2 years ago
setup_gpg.yml fix ansible-galaxy-collection test with revoked key (#77989) 2 years ago
supported_resolvelib.yml ansible-galaxy - support resolvelib versions >= 0.5.3, < 0.9.0 (#77649) 2 years ago
unsupported_resolvelib.yml ansible-galaxy - support resolvelib versions >= 0.5.3, < 0.9.0 (#77649) 2 years ago
upgrade.yml Allow pip like version syntax for installing collections (#79405) 2 years ago
verify.yml Clean up integration tests (#77516) 3 years ago