Actions
Issue #1167
closedThe v2 sync cannot work with a registry that specifies multiple API versions in the Docker-Distribution-API-Version header
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
Actions