Skip to content
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

Remove Deprecated Code #9904

Closed
cahillsf opened this issue Dec 19, 2023 · 5 comments
Closed

Remove Deprecated Code #9904

cahillsf opened this issue Dec 19, 2023 · 5 comments
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@cahillsf
Copy link
Member

cahillsf commented Dec 19, 2023

Relates to https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/release/release-tasks.md#track-remove-previously-deprecated-code (part of #9800)

Here are some potential items I came up with using some basic keyword searches (excluding anything related to v1alpha4 removal as that is being tracked separately (#8038))

Would like some feedback before moving forward.

Please let me know if there are other items I might have missed as well

@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Dec 19, 2023
@sbueringer
Copy link
Member

sbueringer commented Dec 20, 2023

We can't drop code in api packages in general (we will only not include it in new apiVersion (e.g. v1beta2 / v1)). See

We can't just remove all code flagged with Deprecated. In some cases like e.g. in API packages we have to keep the old code.

For the metrics-bind-addr. I would guess we want to keep it around for a few more releases to give folks time to adjust.

@cahillsf
Copy link
Member Author

ah-- that makes sense, thanks for the guidance @sbueringer

@sbueringer
Copy link
Member

@cahillsf Checked the occurrences of "Deprecated". We don't have do remove anything for this round.

A general improvement could be that we clearly state in the Deprecated messages when something can be removed
(although I wouldn't do this for api packages and just have the general rule for them to never remove deprecated code in the API packages)

@cahillsf
Copy link
Member Author

sounds good, thanks for confirming @sbueringer, will go ahead and close this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants