-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a patch status to recover failed requests #366
Conversation
Signed-off-by: Brandon Mitchell <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@dmcgowan can you give this a sanity check
@opencontainers/distribution-spec-maintainers any objections to merging? |
|
||
``` | ||
Location <location> | ||
Location: <location> | ||
Range: 0-<end-of-range> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for this to be a new "MUST", do we have an idea of whether registries are already doing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That got pulled in from the Docker Registry spec, so anyone implementing that would already be doing this.
Signed-off-by: Brandon Mitchell [email protected]
Fixes #353.
This defines the get blob upload API from the Docker spec, which is needed to recover an interrupted patch request when the client and server state get out of sync. It also includes updated conformance tests. Fixes to these APIs were recently added in distribution/distribution PR 3755.