pingcap / pingcap/tidb-operator

go.mod is mess

Open
#3,879 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority:P2 status/discussion-wanted
Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

k8s.io/kubernetes is not prepared as go module, should not be directly imported.

See https://github.com/golang/go/issues/32776#issuecomment-505607726

A better way to use k8s.io/kubernetes/test/e2e/framework may be discussed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with go.mod and the direct k8s.io/kubernetes/test/e2e/framework import, then read the linked Go module discussion. Determine an alternative way to use that framework without directly importing k8s.io/kubernetes, and verify that the resulting module setup is supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
build-system
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.