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

RFC: Remove drivers/windows #2284

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Mar 14, 2025

Compare #2009 : The code could never build its unit tests since September 2017, and nobody seems to have complained.

Also, see how this impacts go.mod: many of the largest (google.golang.org/grpc), obsolete (github.com/gogo/protobuf) or outright frozen and unmaintained (go.opencensus.io), or just aesthetically unappealing (github.com/containerd/…) dependencies go away.

[And then we could discuss the unmaintained github.com/json-iterator/go, a codebase full of reflect and unsafe. That’s also fun.]

To be fair, containers/ocicrypt drags GRPC into Podman anyway, and several dependencies add various implementations of protobuf.

I’m not going to strongly advocate merging this, but I did want to show that, look, this is clearly not in a good shape, and the cost is not all that small, just as one more data point for the conversation (so, marking as draft, ~indefinitely).

Cc: @giuseppe @nalind @mheon

But then again, would this impact plans for containers/buildah#4010 ? Do we instead need to start seriously caring? Cc: @sebsoto

The code could never build its unit tests since September 2017,
and nobody seems to have complained.

Signed-off-by: Miloslav Trmač <[email protected]>
Copy link
Contributor

openshift-ci bot commented Mar 14, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@giuseppe
Copy link
Member

Cc: @giuseppe @nalind @mheon

But then again, would this impact plans for containers/buildah#4010 ? Do we instead need to start seriously caring? Cc: @sebsoto

I am in favor of simplifying code that is out of maintenance (as it appears to be in this case). (+1. -89,831) is a significant improvement, even if it doesn't affect the binary size

@mheon
Copy link
Member

mheon commented Mar 14, 2025

LGTM on my end

@Luap99
Copy link
Member

Luap99 commented Mar 14, 2025

But then again, would this impact plans for containers/buildah#4010 ? Do we instead need to start seriously caring?

Properly best to wait on some come of outcome on that discussion to see whenever that will be a priority or not. Removing this now just to add it back in a few months doesn't seem particular helpful either.

The diff looks very appealing though, so I would love for this to just be gone...

@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

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-sigs/prow repository.

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

Successfully merging this pull request may close these issues.

5 participants