Project

Profile

Help

Issue #7647

closed

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

Added by jborean 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:
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
Actions #1

Updated by fao89 over 3 years ago

Note for future: check where v2 endpoint is used

Actions #2

Updated by fao89 over 3 years ago

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

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST

Added by Fabricio Aguiar over 3 years ago

Revision f04c6b3e | View on GitHub

Update Collection serializer to match Galaxy v2

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

Actions #4

Updated by Anonymous over 3 years ago

  • Status changed from POST to MODIFIED

Added by Fabricio Aguiar over 3 years ago

Revision 1ba998f4 | View on GitHub

Update Collection serializer to match Galaxy v2

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

Actions #6

Updated by fao89 over 3 years ago

  • Sprint/Milestone changed from 0.5.0 to 0.4.2
Actions #7

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF