kubernetes / kubernetes

Production-Grade Container Scheduling and Management

Home Page:https://kubernetes.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop archived vendored libraries and switch to active ones

dims opened this issue · comments

Follow up to #120276

There are no sig labels on this issue. Please add an appropriate label by using one of the following commands:

  • /sig <group-name>
  • /wg <group-name>
  • /committee <group-name>

Please see the group list for a listing of the SIGs, working groups, and committees available.

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.

This issue is currently awaiting triage.

If a SIG or subproject 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-sigs/prow repository.

"github.com/grpc-ecosystem/go-grpc-prometheus" is only from etcd.

Search query: https://cs.k8s.io/?q=github.com%2Fgrpc-ecosystem%2Fgo-grpc-prometheus&i=nope&files=%5C.go&excludeFiles=&repos=kubernetes/kubernetes

issue already filed xref - etcd-io/etcd#17883

"github.com/pkg/errors" is there in our code, so we should deal with it first. There are lots of hits in kubeadm ( cc @pacoxu and @neolit123 )

https://cs.k8s.io/?q=%22github.com%2Fpkg%2Ferrors&i=nope&files=%5C.go&excludeFiles=vendor&repos=kubernetes/kubernetes

shlex seems to be only from kustomize:

❯ rg "google/shlex" | grep "\.go"
vendor/sigs.k8s.io/kustomize/api/internal/plugins/execplugin/execplugin.go:	"github.com/google/shlex"

"github.com/pkg/errors" is there in our code, so we should deal with it first. There are lots of hits in kubeadm ( cc @pacoxu and @neolit123 )

https://cs.k8s.io/?q=%22github.com%2Fpkg%2Ferrors&i=nope&files=%5C.go&excludeFiles=vendor&repos=kubernetes/kubernetes

yeah, this was discussed before. the repo is unmaintained but it's not insecure. if we can continue using - great. if we cannot, we are going to fork it under cmd/kubeadm.

we need that stack tracing, consistent wrapping and error formating. just fmt.Error with %w is not a replacement.