mirror of https://github.com/ansible/ansible.git
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.
595413d113
PR #72591 This change: * Adds an artifacts manager that abstracts away extracting the metadata from artifacts, downloading and caching them in a temporary location. * Adds `resolvelib` to direct ansible-core dependencies[0]. * Implements a `resolvelib`-based dependency resolver for `collection` subcommands that replaces the legacy in-house code. This is a dependency resolution library that pip 20.3+ uses by default. It's now integrated for use for the collection dependency resolution in ansible-galaxy CLI. * Refactors of the `ansible-galaxy collection` CLI. In particular, it: - reimplements most of the `download`, `install`, `list` and `verify` subcommands from scratch; - reuses helper bits previously moved out into external modules; - replaces the old in-house resolver with a more clear implementation based on the resolvelib library[0][1][2]. * Adds a multi Galaxy API proxy layer that abstracts accessing the version and dependencies via API or local artifacts manager. * Makes `GalaxyAPI` instances sortable. * Adds string representation methods to `GalaxyAPI`. * Adds dev representation to `GalaxyAPI`. * Removes unnecessary integration and unit tests. * Aligns the tests with the new expectations. * Adds more tests, integration ones in particular. [0]: https://pypi.org/p/resolvelib [1]: https://github.com/sarugaku/resolvelib [2]: https://pradyunsg.me/blog/2020/03/27/pip-resolver-testing Co-Authored-By: Jordan Borean <jborean93@gmail.com> Co-Authored-By: Matt Clay <matt@mystile.com> Co-Authored-By: Sam Doran <sdoran@redhat.com> Co-Authored-By: Sloane Hertel <shertel@redhat.com> Co-Authored-By: Sviatoslav Sydorenko <webknjaz@redhat.com> Signed-Off-By: Sviatoslav Sydorenko <webknjaz@redhat.com> |
4 years ago | |
---|---|---|
.. | ||
_vendor | 4 years ago | |
ansible_test | 4 years ago | |
cli | 4 years ago | |
compat | 6 years ago | |
config | 4 years ago | |
errors | 4 years ago | |
executor | 4 years ago | |
galaxy | 4 years ago | |
inventory | 4 years ago | |
inventory_test_data/group_vars | 10 years ago | |
mock | 4 years ago | |
module_utils | 4 years ago | |
modules | 4 years ago | |
parsing | 4 years ago | |
playbook | 4 years ago | |
plugins | 4 years ago | |
regex | 6 years ago | |
template | 5 years ago | |
utils | 4 years ago | |
vars | 5 years ago | |
__init__.py | 8 years ago | |
requirements.txt | 5 years ago | |
test_constants.py | 4 years ago | |
test_context.py | 4 years ago |