Uh oh!
There was an error while loading. Please reload this page.
remove various deprecated types and functions - #4146
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.
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/cli@v24.0.0-beta.1+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.
- ^^ 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 <github@gone.nl>
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 <github@gone.nl>
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 <github@gone.nl>
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 <github@gone.nl>
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 <github@gone.nl>
800c3b7 to
66a1c3bComparethaJeztah
commented
Apr 1, 2023
@vvoland@laurazard ptal |
codecov-commenter
commented
Apr 1, 2023
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)