Audit errors raised during manifes/manifest list push
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
Research direction
Start by locating the current manifest and manifest-list push error handling, then compare its responses with the referenced Docker Distribution errors.go and the Docker Hub examples in this issue. Done means the relevant error codes, messages, details, and response behavior match the intended Docker Hub behavior, with coverage added or updated where the repository supports it.
Written by the indexing model from the issue text.
Description
Compare our behavior to dockerhub and update where necessary https://github.com/distribution/distribution/blob/d80a63f1eaa215246eee566f4426d2f2ceecc06e/registry/api/v2/errors.go
HTTP/1.1 400 Bad Request
content-length: 237
content-type: application/json
date: Thu, 10 Mar 2022 13:45:35 GMT
docker-distribution-api-version: registry/2.0
docker-ratelimit-source: 86.49.250.169
strict-transport-security: max-age=31536000
{
"errors": [
{
"code": "MANIFEST_INVALID",
"detail": "mediaType in manifest list should be 'application/vnd.docker.distribution.manifest.list.v2+json' not 'application/vnd.docker.distribution.manifest.v2+json'",
"message": "manifest invalid"
}
]
}
HTTP/1.1 400 Bad Request
content-length: 625
content-type: application/json
date: Thu, 10 Mar 2022 13:46:32 GMT
docker-distribution-api-version: registry/2.0
docker-ratelimit-source: 86.49.250.169
strict-transport-security: max-age=31536000
{
"errors": [
{
"code": "MANIFEST_BLOB_UNKNOWN",
"detail": "sha256:b5b2b2c507a0944348e0303114d8d93aaaa081732b86451d9bce1f432a537bc7",
"message": "blob unknown to registry"
},
{
"code": "MANIFEST_BLOB_UNKNOWN",
"detail": "sha256:e692418e4cbaf90ca69d05a66403747baa33ee08806650b51fab815ad7fc331f",
"message": "blob unknown to registry"
},
{
"code": "MANIFEST_BLOB_UNKNOWN",
"detail": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
"message": "blob unknown to registry"
},
{
"code": "MANIFEST_BLOB_UNKNOWN",
"detail": "sha256:ec4b8955958665577945c89419d1af06b5f7636b4ac3da7f12184802ad867736",
"message": "blob unknown to registry"
}
]
}
- Dominant language
- Python
- Stars
- 31
- Forks
- 56
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pulp/pulp_container
-
Issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pulp/pulp_container#1976 · 2 comments · 8 reactions ·
-
base_path uniqueness constraint prevents syncing the same image from multiple remote registries OpenQuestion
Difficulty 5/5 Over a week Newbie friendliness 35/100
pulp/pulp_container#2495 · 1 comment ·
-
Issue
Difficulty 3/5 1-2 days Newbie friendliness 68/100
pulp/pulp_container#2494 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
pulp/pulp_container#2474 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
pulp/pulp_container#2473 ·
All issues in pulp/pulp_container
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100