Skip to content

Commit

Permalink
disable code.cloudfoundry.org resolver, it's confused
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgk committed Sep 22, 2020
1 parent 1faae9f commit 7b8b2ca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 49 deletions.
2 changes: 0 additions & 2 deletions testdata/minio_expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ GH_TUPLE= \
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
miekg:dns:v1.1.8:miekg_dns/vendor/github.com/miekg/dns \
minio:cli:v1.22.0:minio_cli/vendor/github.com/minio/cli \
minio:gokrb5:v7.2.5:minio_gokrb5_v7/vendor/github.com/minio/gokrb5/v7 \
minio:hdfs:v3.0.1:minio_hdfs_v3/vendor/github.com/minio/hdfs/v3 \
minio:highwayhash:v1.0.0:minio_highwayhash/vendor/github.com/minio/highwayhash \
minio:lsync:v1.0.1:minio_lsync/vendor/github.com/minio/lsync \
minio:minio-go:v6.0.52:minio_minio_go_v6/vendor/github.com/minio/minio-go/v6 \
Expand Down
39 changes: 0 additions & 39 deletions testdata/minio_modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,45 +227,6 @@ github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/miekg/dns
# github.com/minio/cli v1.22.0
github.com/minio/cli
# github.com/minio/gokrb5/v7 v7.2.5
github.com/minio/gokrb5/v7/asn1tools
github.com/minio/gokrb5/v7/client
github.com/minio/gokrb5/v7/config
github.com/minio/gokrb5/v7/credentials
github.com/minio/gokrb5/v7/crypto
github.com/minio/gokrb5/v7/crypto/common
github.com/minio/gokrb5/v7/crypto/etype
github.com/minio/gokrb5/v7/crypto/rfc3961
github.com/minio/gokrb5/v7/crypto/rfc3962
github.com/minio/gokrb5/v7/crypto/rfc4757
github.com/minio/gokrb5/v7/crypto/rfc8009
github.com/minio/gokrb5/v7/gssapi
github.com/minio/gokrb5/v7/iana
github.com/minio/gokrb5/v7/iana/addrtype
github.com/minio/gokrb5/v7/iana/adtype
github.com/minio/gokrb5/v7/iana/asnAppTag
github.com/minio/gokrb5/v7/iana/chksumtype
github.com/minio/gokrb5/v7/iana/errorcode
github.com/minio/gokrb5/v7/iana/etypeID
github.com/minio/gokrb5/v7/iana/flags
github.com/minio/gokrb5/v7/iana/keyusage
github.com/minio/gokrb5/v7/iana/msgtype
github.com/minio/gokrb5/v7/iana/nametype
github.com/minio/gokrb5/v7/iana/patype
github.com/minio/gokrb5/v7/kadmin
github.com/minio/gokrb5/v7/keytab
github.com/minio/gokrb5/v7/krberror
github.com/minio/gokrb5/v7/messages
github.com/minio/gokrb5/v7/pac
github.com/minio/gokrb5/v7/service
github.com/minio/gokrb5/v7/spnego
github.com/minio/gokrb5/v7/types
# github.com/minio/hdfs/v3 v3.0.1
github.com/minio/hdfs/v3
github.com/minio/hdfs/v3/hadoopconf
github.com/minio/hdfs/v3/internal/protocol/hadoop_common
github.com/minio/hdfs/v3/internal/protocol/hadoop_hdfs
github.com/minio/hdfs/v3/internal/rpc
# github.com/minio/highwayhash v1.0.0
github.com/minio/highwayhash
# github.com/minio/lsync v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion tuple/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var resolvers = map[string]resolver{
"bazil.org": mirrorFn(bazilOrgResolver),
"camlistore.org": &mirror{GH, "perkeep", "perkeep", ""},
"cloud.google.com": mirrorFn(cloudGoogleComResolver),
"code.cloudfoundry.org": mirrorFn(codeCloudfoundryOrgResolver),
// "code.cloudfoundry.org": mirrorFn(codeCloudfoundryOrgResolver),
"docker.io/go-docker": &mirror{GH, "docker", "go-docker", ""},
"git.apache.org/thrift.git": &mirror{GH, "apache", "thrift", ""},
"go.bug.st/serial.v1": &mirror{GH, "bugst", "go-serial", ""},
Expand Down
14 changes: 7 additions & 7 deletions tuple/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ func TestCloudGoogleComResolver(t *testing.T) {
testResolverFnExamples(t, "cloudGoogleComResolver", cloudGoogleComResolver, examples)
}

func TestCodeCloudfoundryOrgResolver(t *testing.T) {
examples := []resolverExample{
// name, expected account, expected project
{"code.cloudfoundry.org/gofileutils", GH, "cloudfoundry", "gofileutils", ""},
}
testResolverFnExamples(t, "codeCloudfoundryOrgResolver", codeCloudfoundryOrgResolver, examples)
}
// func TestCodeCloudfoundryOrgResolver(t *testing.T) {
// examples := []resolverExample{
// // name, expected account, expected project
// {"code.cloudfoundry.org/gofileutils", GH, "cloudfoundry", "gofileutils", ""},
// }
// testResolverFnExamples(t, "codeCloudfoundryOrgResolver", codeCloudfoundryOrgResolver, examples)
// }

func TestGoEtcdIoResolver(t *testing.T) {
examples := []resolverExample{
Expand Down

0 comments on commit 7b8b2ca

Please sign in to comment.