kubernetes 处理已归档的代码导入

fjnneemd  于 4个月前  发布在  Kubernetes
关注(0)|答案(3)|浏览(59)

出于个人兴趣,我好奇从go.mod导入的项目中有多少是归档项目。我迅速在github.com/vbatts/is-archived上查找了这个问题。
在kubernetes HEAD 3cf3702上运行时,发现了7个已在github上归档的项目:

vbatts@possibly:~/src/k8s.io/kubernetes$ is-archived 
INFO[0000] found 'go.mod'. Running `go mod edit -json'  
INFO[0010] checking 213 github projects ...             
"github.com/golang/mock" is archived (https://github.com/golang/mock)
"github.com/pkg/errors" is archived (https://github.com/pkg/errors)
"github.com/google/shlex" is archived (https://github.com/google/shlex)
"github.com/gregjones/httpcache" is archived (https://github.com/gregjones/httpcache)
"github.com/grpc-ecosystem/go-grpc-prometheus" is archived (https://github.com/grpc-ecosystem/go-grpc-prometheus)
"github.com/rubiojr/go-vhd" is archived (https://github.com/rubiojr/go-vhd)
"go.opencensus.io" is archived (https://github.com/census-instrumentation/opencensus-go)

搜索相关问题/PR:

(对于从空白问题类型开始感到抱歉。这并不完全符合选项。)

相关问题