Project

Profile

Help

Issue #1167

closed

The v2 sync cannot work with a registry that specifies multiple API versions in the Docker-Distribution-API-Version header

Added by rbarlow over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

pulp_docker.plugins.registry.V2Repository.api_version_check() cannot handle the case when the Docker-Distribution-API-Version header specifies multiple versions. This was discussed on Github originally in the pull request that introduced the v2 sync feature. We should identify how the client code will present the case where multiple versions are supported and rework the code to handle that situation.

[0] https://github.com/pulp/pulp_docker/pull/83#discussion_r36096118

Also available in: Atom PDF