-
Notifications
You must be signed in to change notification settings - Fork 209
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
clarify push manifest spec #333
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -423,13 +423,17 @@ Manifest byte stream: | |
|
||
The uploaded manifest MUST reference any blobs that make up the artifact. | ||
However, the list of blobs MAY be empty. | ||
|
||
The registry MUST store the manifest in the exact byte representation provided by the client. | ||
Upon a successful upload, the registry MUST return response code `201 Created`, and MUST have the following header: | ||
|
||
``` | ||
Location: <location> | ||
``` | ||
|
||
The `<location>` is a pullable manifest URL. | ||
The Docker-Content-Digest header returns the canonical digest of the uploaded blob, and MUST be equal to the client provided digest. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggest rewording this to fit the paragraph.. what if the digest differ? What if the client did not provide one.. |
||
Clients MAY ignore the value but if it is used, the client SHOULD verify the value against the uploaded blob data. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. manifest? what value? probably needs to be reworded? |
||
|
||
An attempt to pull a nonexistent repository MUST return response code `404 Not Found`. | ||
|
||
|
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.
I might've worded "in the exact byte representation" more like "byte for byte exactly as"
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.
Since this one is merged, any wording changes now should be pushed as a new PR.
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.
:-)