Project

Profile

Help

Issue #7647

closed

ansible-galaxy v2 collections/{namespace}/{name} not matching with actual

Added by jborean about 2 years ago. Updated about 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 83
Quarter:

Description

The v2 endpoint that Pulp exposes for {root}/collections/{namespace}/{name}/ does not match up with what Galaxy actual exposes for a collection. I've attached an image that shows the response that galaxy returns (galaxy-v2) and what Pulp returns (pulp-v2).

This API is not currently used by 'ansible-galaxy collection install' but there is a PR that will change that https://github.com/ansible/ansible/pull/71904. This will rely on the 'modified' field to determine if a collection version list has been updated or not and whether it should retrieve the list of versions again. Right now this caching mechanism won't work as there is no 'modified' field to check against.


Files

pulp-v2.png (31.4 KB) pulp-v2.png jborean, 10/02/2020 10:26 PM
galaxy-v2.png (57.5 KB) galaxy-v2.png jborean, 10/02/2020 10:26 PM

Also available in: Atom PDF