Project

Profile

Help

Issue #7428

closed

pulp_ansible collection list only shows collection if highest version in repo

Added by awcrosby over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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

Also available in: Atom PDF