Project

Profile

Help

Issue #7647

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

Added by jborean 2 months ago. Updated about 2 months 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.

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
250
250

Associated revisions

Revision f04c6b3e View on GitHub
Added by Fabricio Aguiar about 2 months ago

Update Collection serializer to match Galaxy v2

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

Revision 1ba998f4 View on GitHub
Added by Fabricio Aguiar about 2 months ago

Update Collection serializer to match Galaxy v2

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

History

#1 Updated by fao89 2 months ago

Note for future: check where v2 endpoint is used

#2 Updated by fao89 2 months ago

  • Sprint/Milestone set to 0.5.0
  • Triaged changed from No to Yes
  • Sprint set to Sprint 83

#3 Updated by pulpbot 2 months ago

  • Status changed from NEW to POST

#4 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED

#6 Updated by fao89 about 2 months ago

  • Sprint/Milestone changed from 0.5.0 to 0.4.2

#7 Updated by pulpbot about 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF