-
Notifications
You must be signed in to change notification settings - Fork 54
Loosen restrictions #44
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
Changes from 1 commit
1bde248
c1a5479
6dc227c
e2fc9af
d20c56d
a928e2b
6f1f720
6587fa0
5e0175e
5dcd80a
95a6c41
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 | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ The Docker registry protocol has become the defacto standard across the containe | |||||||
|
|
||||||||
| In the OCI, having a solid, common distribution specification with conformance testing will ensure long lasting security and interoperability throughout the container ecosystem. | ||||||||
|
|
||||||||
| This proposal also provides the container ecosystem with a means to discuss and schedule extensions to the distribution specification. | ||||||||
|
|
||||||||
| ## Proposal | ||||||||
|
|
||||||||
| TL;DR; Move [`api.md`][api.md] to a new [distribution-spec project](https://github.com/opencontainers/distribution-spec). | ||||||||
|
|
@@ -107,16 +109,10 @@ The following entries should be added to the [scope table][scope]: | |||||||
| Retrieving images covers the current “tag listing” (e.g. “what named manifests are in `library/busybox`?”), because tags are entries in the image format's [`manifests` array][manifests]. | ||||||||
| Other tag-listing endpoints needed for backwards-compatibility are therefore in scope as well. | ||||||||
|
|
||||||||
| Repository actions and listing images within a repository are considered part of distribution policy or content management and are out of scope for this entry's per-image action. | ||||||||
| For example, “what images are under `library/`?” is out of scope for this project. | ||||||||
|
|
||||||||
| * What: Specifying a distribution method | ||||||||
| * In/Out/Future: In scope | ||||||||
| * Status: In progress (see opencontainers/distribution-spec) | ||||||||
| * Description: Define a protocol for image, manifest, config, and blob creation, retrieval, and deletion. | ||||||||
| Listing repositories is a multi-repository action, which is out of scope for this entry. | ||||||||
| Creating and deleting repositories are per-repository actions, which are out of scope for this entry. | ||||||||
| Listing images within repositories is a per-repository action, which is out of scope for this entry. | ||||||||
|
||||||||
| field | description |
|---|---|
| name | The name of the image. |
| tag | The tag for this version of the image. |
That isn't particularly clear on whether <name> is a repository (as the first excerpt suggests) or an image (as the second excerpt suggests). I've been using “image” to mean “a collection of tagged/named references”. The image-spec phrasing for that is an “image index”. I think operations that take an image-index name as an argument are in-scope, because image-spec's index object can represent them in manifests. Operations that take or return collections of image-indexes (which I've been referring to as “repositories”) are out-of-scope.
Also haven't seen a definitive is
GET /v2/<name>/tags/listin or out…
I'd been arguing to put that in-scope based on the distinction between “image” (-index) and “manifest” here. I also discuss tag-listing here, although that's currently outside of the scope-table entry.
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.
Sounds like we are in full agreement on these details then. Just a matter of terminology and approach. That we can be in agreement on the detail but not the proposal is why I think less is more in the proposal wrt to what should be drawn as out of scope (to reduce confusion). Well unless we are going to go the extra mile and describe it to the spec level of detail in the proposal, which then arguably makes it tldr.
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 we can be in agreement on the detail but not the proposal is why I think less is more in the proposal wrt to what should be drawn as out of scope (to reduce confusion).
Ye of little faith ;). I've filed #46 with an attempt at less ambiguous wording.
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.
well done @wking I like new version. Tower of babel has been brought down.. for the moment anyway :-)
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.
If you want to add this line here, you should remove it below.