summaryrefslogtreecommitdiff
path: root/lib/ansible/galaxy/dependency_resolution/providers.py
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2023-04-12 12:22:56 -0400
committerGitHub <noreply@github.com>2023-04-12 11:22:56 -0500
commit4aa682003dadc7894a4c13247ca21a2d5f0a674a (patch)
treed0df1cf7ab35c672c873e20d713cbc5f2599e8cb /lib/ansible/galaxy/dependency_resolution/providers.py
parentc4b33c7ce8e534dcd21d10fe528243faf78dce86 (diff)
downloadansible-4aa682003dadc7894a4c13247ca21a2d5f0a674a.tar.gz
Fetch signatures from galaxy after the dependency resolver runs (#80334) (#80398)
Reduce the number of Galaxy API calls made during dependency resolution by fetching remote signatures afterwards, since these are not used in backtracking. Reduce the verbosity to `-vvvv` (to match other Galaxy API calls) to see this activity. Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com> (cherry picked from commit 460abe0ceffc5ca99b3cc2f2e3ef07aa2cb225dc)
Diffstat (limited to 'lib/ansible/galaxy/dependency_resolution/providers.py')
-rw-r--r--lib/ansible/galaxy/dependency_resolution/providers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ansible/galaxy/dependency_resolution/providers.py b/lib/ansible/galaxy/dependency_resolution/providers.py
index 817a1eb227..156fb9462f 100644
--- a/lib/ansible/galaxy/dependency_resolution/providers.py
+++ b/lib/ansible/galaxy/dependency_resolution/providers.py
@@ -392,7 +392,6 @@ class CollectionDependencyProviderBase(AbstractProvider):
if not unsatisfied:
if self._include_signatures:
- signatures = src_server.get_collection_signatures(first_req.namespace, first_req.name, version)
for extra_source in extra_signature_sources:
signatures.append(get_signature_from_source(extra_source))
latest_matches.append(