Project

Profile

Help

Issue #7428

closed

pulp_ansible collection list only shows collection if highest version in repo

Added by awcrosby over 4 years ago. Updated about 4 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

Actions #1

Updated by fao89 over 4 years ago

  • Project changed from Pulp to Ansible Plugin
Actions #2

Updated by daviddavis over 4 years ago

  • Description updated (diff)
Actions #3

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #4

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 4 years ago

Revision 25e54161 | View on GitHub

List highest versions per repository

https://pulp.plan.io/issues/7428 closes #7428

Actions #5

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #7

Updated by daviddavis about 4 years ago

  • Status changed from MODIFIED to ASSIGNED
  • Sprint/Milestone set to 0.4.0

Added by Fabricio Aguiar about 4 years ago

Revision 4daa91d7 | View on GitHub

Fix is_highest query

https://pulp.plan.io/issues/7428 fixes #7428

Actions #8

Updated by pulpbot about 4 years ago

  • Status changed from ASSIGNED to POST
Actions #10

Updated by Anonymous about 4 years ago

  • Status changed from POST to MODIFIED
Actions #13

Updated by fao89 about 4 years ago

  • Sprint set to Sprint 82
Actions #14

Updated by pulpbot about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF