Andrei Aaron
a5cc8ab810
feat: support pushing multiple tags for a single manifest ( #3885 )
...
* feat: support pushing multiple tags for a single manifest
See https://github.com/opencontainers/distribution-spec/pull/600
Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com >
* 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 84b08277..fb2c45c3 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 cfeb3900..247f95fa 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 57641c2f..09b30dcc 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 <andreifdaaron@gmail.com >
---------
Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com >
2026-03-29 21:13:24 +03:00
Andrei Aaron
da426850e7
chore: update golangci-lint and fix all issues ( #3575 )
...
* chore: Update golangci-lint
Signed-off-by: Lars Francke <git@lars-francke.de >
* chore: fix all golangci-lint issues
- Remove deprecated `// +build` tags
- Fix godoclint, modernize, wsl_v5, govet, lll, gci, noctx issues
- Update linter configuration
- Modernize code to use Go 1.22+ features (for range N, slices.Contains, etc.)
- Update make check lint the privileged tests
Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com >
---------
Signed-off-by: Lars Francke <git@lars-francke.de >
Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com >
Co-authored-by: Lars Francke <git@lars-francke.de >
2025-11-22 23:36:48 +02:00