Skip to content

Conversation

Benehiko
Copy link
Member

@Benehiko Benehiko commented Jul 16, 2025

This patch deprecates the unused RegistryAuthenticationPrivilegedFunc. The function would prompt the user when the registry returns a 403 after trying the initial auth value set in RegistryAuth.

Relates to:

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

Go SDK: deprecate `cli/command.RegistryAuthenticationPrivilegedFunc`

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@Benehiko Benehiko requested a review from thaJeztah July 16, 2025 07:09
@Benehiko Benehiko changed the title cli/command: remove usages of RegistryAuthenticationPrivilegedFunc cli/command: deprecate RegistryAuthenticationPrivilegedFunc Jul 16, 2025
@thaJeztah thaJeztah added impact/changelog area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Jul 16, 2025
@thaJeztah thaJeztah added this to the 29.0.0 milestone Jul 16, 2025
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This patch deprecates the unused `RegistryAuthenticationPrivilegedFunc`.
The function would prompt the user when the registry returns a 403 after trying
the initial auth value set in `RegistryAuth`.

Signed-off-by: Alano Terblanche <[email protected]>
@thaJeztah thaJeztah force-pushed the deprecate-prompt-privilege-func branch from d28f534 to 29263e8 Compare July 16, 2025 10:49
@thaJeztah
Copy link
Member

Did a quick rebase after #6174 was merged; CI should go green now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants