Skip to content

Conversation

thaJeztah
Copy link
Member

backport:

- Human readable description for the release notes

Go SDK: cli/command/image/build: deprecate IsArchive utility
Go SDK: opts: deprecate `ValidateMACAddress`.
Go SDK: opts: deprecate ListOpts.Delete()

- A picture of a cute animal (not mandatory but encouraged)

- fix minor linting issues (unhandled errors)
- rename vars to prevent shadowing
- use sub-tests for tests that already prepared for it

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 2c539a6)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used internally.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 64be664)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 9e646f6)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was a wrapper around net.ParseMAC from stdlib, so users should
use that directly.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 17d6a92)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
This method was added as part of a refactor in [moby@1ba1138], at which
time it was used to delete original values for "--host" and "--volume"
after normalizing. This beccame redundant in [moby@6200002], which added
specialized options that used a validate function, which both validated
and normalized inputs.

It's no longer used, so let's mark it deprecated so that we can remove it.

[moby@1ba1138]: moby/moby@1ba1138
[moby@6200002]: moby/moby@6200002

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 193db8e)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.5.2 milestone Oct 13, 2025
@thaJeztah thaJeztah added impact/deprecation status/2-code-review kind/refactor PR's that refactor, or clean-up code area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Oct 13, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 37.03704% with 17 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/image/build/context.go 38.88% 11 Missing ⚠️
cli/command/image/build.go 25.00% 3 Missing ⚠️
cli/command/image/build/dockerignore.go 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/go-sdk Changes affecting the Go SDK impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants