Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 6, 2025

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]>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Aug 6, 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 6, 2025
It was only used internally; inline it where used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the remove_trust_flag_helpers branch from 26efbd6 to c0fbbe0 Compare August 6, 2025 15:00
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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]>
@thaJeztah thaJeztah changed the title cli/command: remove AddTrustSigningFlags and AddTrustVerificationFlags cli/command: remove AddTrustSigningFlags, AddTrustVerificationFlags, AddPlatformFlag utilities Aug 6, 2025
@thaJeztah thaJeztah merged commit 4beddd3 into docker:master Aug 6, 2025
146 of 157 checks passed
@thaJeztah thaJeztah deleted the remove_trust_flag_helpers branch August 6, 2025 17:37
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants