出于个人兴趣,我好奇从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:
- 问题Remove dependency on github.com/pkg/errors #113627
- PR fix: remove dependency on github.com/pkg/errors #117572
(对于从空白问题类型开始感到抱歉。这并不完全符合选项。)
3条答案
按热度按时间irlmq6kh1#
2w3rbyxf2#
感谢@vbatts!
q8l4jmvw3#
/triage accepted