-
Notifications
You must be signed in to change notification settings - Fork 2.1k
remove various deprecated types and functions #4146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| // InStream is an input stream used by the DockerCli to read user input | ||
| // Deprecated: Use github.com/docker/cli/cli/streams.In instead | ||
| type InStream = streams.In |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cory pointed out that the deprecation in this package used the wrong format (missing a newline). While most editors/IDEs may pick this up, Golang itself doesn't, which means that pkg.go.dev doesn't show it as deprecated (and Linters may not be warning about it); https://pkg.go.dev/github.com/docker/[email protected]+incompatible/cli/command#InStream
I had a quick look if I could find external consumers of this, and only found 2 (both were using a very old version of docker (1.4.0), so likely no concern, but "just in case";
- I'll remove this commit from this PR
- Open a PR to fix the comments (and cherry-pick that into the 23.0 branch)
- Create a new draft PR to remove this (but for the 25.0 release, and we can merge that once we created the 24.0 branch)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ^^ removed that commit, and opened cli/command: fix deprecation comments for Stream types #4152
This was deprecated in 467e650, which is part of docker 23.0, so users should have had a chance to migrate. Signed-off-by: Sebastiaan van Stijn <[email protected]>
These were deprecated in de6020a, which is part of docker 23.0, so users should have had a chance to migrate. This removes IsErrContextDoesNotExist() and IsErrTLSDataDoesNotExist() Signed-off-by: Sebastiaan van Stijn <[email protected]>
These were deprecated in 3499669, which is part of docker 23.0, so users should have had a chance to migrate. Signed-off-by: Sebastiaan van Stijn <[email protected]>
This field was deprecated in 15535d4, which is part of docker 23.0, so users should have had a chance to migrate. Signed-off-by: Sebastiaan van Stijn <[email protected]>
This field was deprecated in 6ea2767, which is part of docker 23.0, so users should have had a chance to migrate. Signed-off-by: Sebastiaan van Stijn <[email protected]>
800c3b7 to
66a1c3b
Compare
|
@vvoland @laurazard ptal |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4146 +/- ##
==========================================
+ Coverage 59.03% 59.04% +0.01%
==========================================
Files 287 287
Lines 24767 24761 -6
==========================================
Hits 14620 14620
+ Misses 9264 9258 -6
Partials 883 883 |

cli/command/formatter: remove deprecated KubernetesEndpoint
This was deprecated in 467e650 (#3440), which
is part of docker 23.0, so users should have had a chance to migrate.
cli/context/store: remove deprecated error-utilities
These were deprecated in de6020a (#3790), which
is part of docker 23.0, so users should have had a chance to migrate.
This removes IsErrContextDoesNotExist() and IsErrTLSDataDoesNotExist()
cli/context/store: remove deprecated IsErrTLSDataDoesNotExist()
These were deprecated in de6020a (#3790), which
is part of docker 23.0, so users should have had a chance to migrate.
cli/flags: remove deprecated CommonOptions, NewCommonOptions
These were deprecated in 3499669 (#3876), which
is part of docker 23.0, so users should have had a chance to migrate.
cli/context/docker: remove deprecated Endpoint.TLSPassword
This field was deprecated in 15535d4 (#3218), which
is part of docker 23.0, so users should have had a chance to migrate.
cli/config/configfile: remove deprecated StackOrchestrator field
This field was deprecated in 6ea2767 (#3440), which
is part of docker 23.0, so users should have had a chance to migrate.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)