Project

Profile

Help

Issue #7428

Updated by daviddavis over 4 years ago

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 https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/galaxy/v3/views.py#L84

Back