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-scm/tasks
Sloane Hertel 15ace5a854
ansible-galaxy - validate version for directories and collections in git repos (#76579)
* Ensure the version is valid for directories and collections in git repos before installing

Fix the error message for invalid semantic versions

* Make requested changes

* Add a test case for unhandled ValueError exception

* Add changelog

* Update lib/ansible/galaxy/collection/galaxy_api_proxy.py

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

* Reword error message

Include link to learn how to compose a semver version

* Move version validation into the caller, find_matches

* Add tests for more invalid version types

* Remove unused import

Fix raising unexpected error

* Update lib/ansible/galaxy/collection/__init__.py

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

* Update lib/ansible/galaxy/dependency_resolution/providers.py

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

* Update lib/ansible/galaxy/dependency_resolution/providers.py

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

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
3 years ago
..
download.yml Replace the inhouse collection dependency resolver with `resolvelib` 4 years ago
empty_installed_collections.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
individual_collection_repo.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
main.yml ansible-galaxy - validate version for directories and collections in git repos (#76579) 3 years ago
multi_collection_repo_all.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
multi_collection_repo_individual.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
reinstalling.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
requirements.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
scm_dependency.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
scm_dependency_deduplication.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
setup.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
setup_collection_bad_version.yml ansible-galaxy - validate version for directories and collections in git repos (#76579) 3 years ago
setup_multi_collection_repo.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
setup_recursive_scm_dependency.yml Fix build_ignore when installing a collection from source (#75547) 3 years ago
test_invalid_version.yml ansible-galaxy - validate version for directories and collections in git repos (#76579) 3 years ago