Skip to content

Conversation

@thaJeztah
Copy link
Member

cli/command: remove AddTrustSigningFlags

It was only used internally in a single location, so inline the code where it's used.

cli/command: remove AddTrustVerificationFlags

It was only used internally; inline it where used.

cli/command: remove AddPlatformFlag utility

It was only used internally and has no external users. It should not be
used for new uses, because it also adds a minimum API version constraint
and a default from env-var, which must be evaluated for each individual
use of such flags.

- Human readable description for the release notes

Go SDK: cli/command: remove `AddTrustSigningFlags`,  `AddTrustVerificationFlags`, and `AddPlatformFlag` utilities, which were only used internally.

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

it was only used internally in a single location, so inline the
code where it's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 8c22927)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.4.0 milestone Aug 19, 2025
@thaJeztah thaJeztah added impact/deprecation status/2-code-review area/trust area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Aug 19, 2025
@thaJeztah thaJeztah force-pushed the 28.x_backport_deprecate_platform_flags branch 2 times, most recently from 6494d4b to dc2c262 Compare August 19, 2025 16:31
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/plugin/push.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

These were already removed in master, so adding an extra commit
in the 28.x branch to remove their use.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used internally; inline it where used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit c0fbbe0)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used internally and has no external users. It should not be
used for new uses, because it also adds a minimum API version constraint
and a default from env-var, which must be evaluated for each individual
use of such flags.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 7026e68)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the 28.x_backport_deprecate_platform_flags branch from dc2c262 to 8088471 Compare August 19, 2025 16:35
@thaJeztah thaJeztah marked this pull request as ready for review August 19, 2025 16:46
@thaJeztah thaJeztah requested a review from Benehiko August 20, 2025 07:05
@thaJeztah thaJeztah merged commit acb019a into docker:28.x Aug 20, 2025
85 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_deprecate_platform_flags branch August 20, 2025 10:04
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 area/trust impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK status/2-code-review

4 participants