Repository navigation
Update spec language to support pushing multiple tags at once - #600
Conversation
083f71d to
f271626
Compare
333daf2 to
fde1798
Compare
Implementation of opencontainers/distribution-spec#600 Signed-off-by: Brandon Mitchell <[email protected]>
Implementation of opencontainers/distribution-spec#600. Signed-off-by: Brandon Mitchell <[email protected]>
sudo-bmitch
left a comment
There was a problem hiding this comment.
I noticed there's a newer version of the RFC. So this updates that pointer and makes some, hopefully minor, tweaks.
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
|
I've added a test for this in the conformance redesign (disabled by default, but enabled with the |
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]>
* feat: support pushing multiple tags for a single manifest See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]> * fix: constants not replaced in swagger output Also godot mandates comments ending in dots, which produces bad results in the swagger generated files, see the extra ". which is now fixed below: ``` diff --git a/swagger/docs.go b/swagger/docs.go index 84b0827..fb2c45c 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -114,7 +114,7 @@ const docTemplate = `{ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } @@ -200,7 +200,7 @@ const docTemplate = `{ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } diff --git a/swagger/swagger.json b/swagger/swagger.json index cfeb390..247f95f 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -106,7 +106,7 @@ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } @@ -192,7 +192,7 @@ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 57641c2..09b30dc 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -310,7 +310,7 @@ paths: schema: type: string "400": - description: bad request". + description: bad request schema: type: string "500": @@ -366,7 +366,7 @@ paths: schema: type: string "400": - description: bad request". + description: bad request schema: type: string "500": ``` Signed-off-by: Andrei Aaron <[email protected]> --------- Signed-off-by: Andrei Aaron <[email protected]>
|
LGTM, just needs the DCO and merge conflicts resolved. We could also squash the commits on the rebase. https://github.com/opencontainers/distribution-spec/pull/600/checks?check_run_id=69878174291 |
da0d61a to
7876da2
Compare
sudo-bmitch
left a comment
There was a problem hiding this comment.
I've used up my nit quota, so this LGTM.
…t#3885) * feat: support pushing multiple tags for a single manifest See opencontainers/distribution-spec#600 Signed-off-by: Andrei Aaron <[email protected]> * fix: constants not replaced in swagger output Also godot mandates comments ending in dots, which produces bad results in the swagger generated files, see the extra ". which is now fixed below: ``` diff --git a/swagger/docs.go b/swagger/docs.go index 84b0827..fb2c45c 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -114,7 +114,7 @@ const docTemplate = `{ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } @@ -200,7 +200,7 @@ const docTemplate = `{ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } diff --git a/swagger/swagger.json b/swagger/swagger.json index cfeb390..247f95f 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -106,7 +106,7 @@ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } @@ -192,7 +192,7 @@ } }, "400": { - "description": "bad request\".", + "description": "bad request", "schema": { "type": "string" } diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 57641c2..09b30dc 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -310,7 +310,7 @@ paths: schema: type: string "400": - description: bad request". + description: bad request schema: type: string "500": @@ -366,7 +366,7 @@ paths: schema: type: string "400": - description: bad request". + description: bad request schema: type: string "500": ``` Signed-off-by: Andrei Aaron <[email protected]> --------- Signed-off-by: Andrei Aaron <[email protected]> Signed-off-by: cainydev <[email protected]>
62417fd to
20d21cb
Compare
…tiple tags at once. Also can be used when pushing tags for a non-canonical algorithm (sha-512, blake3) Co-authored-by: Brandon Mitchell <[email protected]> Signed-off-by: Jeff Carter <[email protected]>
4d90975 to
1e06678
Compare
|
I believe @dmcgowan is still a LGTM, and we've seen traction in the community on this (Docker Hub, Zot, olareg, and regclient). So I'll merge it and we can iterate later if anything comes up. |
Also can be used when pushing tags for a non-canonical algorithm (sha-512, blake3)
Implements #591