Actions
Issue #7428
closedpulp_ansible collection list only shows collection if highest version in repo
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 82
Quarter:
Description
The pulp_ansible collection list only shows that a repo contains a collection if the highest version of the collection is in the repo. For example:
/pulp_ansible/galaxy/published/api/v3/collections/<my_namespace>/<my_collection>/versions/ shows many versions
however /pulp_ansible/galaxy/published/api/v3/collections/ does not show <my_collection> in list if the highest version is not in "published" repo but in another repo such as "staging"
This is likely related to the is_highest check here: https://github.com/pulp/pulp_ansible/blob/49ec73f88a3bd5f62e7c77f13afe110e178b9d29/pulp_ansible/app/galaxy/v3/views.py#L117-L119
Actions
List highest versions per repository
https://pulp.plan.io/issues/7428 closes #7428