2019-06-20 07:39:19 +02:00
|
|
|
# cloud.google.com/go v0.34.0
|
|
|
|
cloud.google.com/go/compute/metadata
|
2020-04-01 17:47:41 +02:00
|
|
|
# github.com/Azure/azure-sdk-for-go v56.3.0+incompatible
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/Azure/azure-sdk-for-go/storage
|
|
|
|
github.com/Azure/azure-sdk-for-go/version
|
2020-04-01 17:47:41 +02:00
|
|
|
# github.com/Azure/go-autorest v14.2.0+incompatible
|
|
|
|
github.com/Azure/go-autorest
|
|
|
|
# github.com/Azure/go-autorest/autorest v0.11.20
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/Azure/go-autorest/autorest
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/Azure/go-autorest/autorest/azure
|
2020-04-01 17:47:41 +02:00
|
|
|
# github.com/Azure/go-autorest/autorest/adal v0.9.15
|
|
|
|
## explicit
|
|
|
|
github.com/Azure/go-autorest/autorest/adal
|
|
|
|
# github.com/Azure/go-autorest/autorest/date v0.3.0
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/Azure/go-autorest/autorest/date
|
2020-04-01 17:47:41 +02:00
|
|
|
# github.com/Azure/go-autorest/autorest/to v0.4.0
|
|
|
|
## explicit
|
|
|
|
# github.com/Azure/go-autorest/logger v0.2.1
|
|
|
|
github.com/Azure/go-autorest/logger
|
|
|
|
# github.com/Azure/go-autorest/tracing v0.6.0
|
|
|
|
github.com/Azure/go-autorest/tracing
|
2019-06-06 00:40:29 +02:00
|
|
|
# github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/Shopify/logrus-bugsnag
|
2022-01-04 23:09:44 +01:00
|
|
|
# github.com/aws/aws-sdk-go v1.42.27
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/aws
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/arn
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/aws/awserr
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/awsutil
|
|
|
|
github.com/aws/aws-sdk-go/aws/client
|
|
|
|
github.com/aws/aws-sdk-go/aws/client/metadata
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/aws/corehandlers
|
|
|
|
github.com/aws/aws-sdk-go/aws/credentials
|
|
|
|
github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/credentials/endpointcreds
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/credentials/processcreds
|
2022-01-04 23:09:44 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/credentials/ssocreds
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/credentials/stscreds
|
|
|
|
github.com/aws/aws-sdk-go/aws/csm
|
|
|
|
github.com/aws/aws-sdk-go/aws/defaults
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/aws/ec2metadata
|
|
|
|
github.com/aws/aws-sdk-go/aws/endpoints
|
|
|
|
github.com/aws/aws-sdk-go/aws/request
|
|
|
|
github.com/aws/aws-sdk-go/aws/session
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/aws/signer/v4
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/context
|
|
|
|
github.com/aws/aws-sdk-go/internal/ini
|
2022-01-04 23:09:44 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/s3shared
|
|
|
|
github.com/aws/aws-sdk-go/internal/s3shared/arn
|
|
|
|
github.com/aws/aws-sdk-go/internal/s3shared/s3err
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/internal/sdkio
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/sdkmath
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/sdkrand
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/internal/sdkuri
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/shareddefaults
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/internal/strings
|
|
|
|
github.com/aws/aws-sdk-go/internal/sync/singleflight
|
|
|
|
github.com/aws/aws-sdk-go/private/checksum
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol
|
|
|
|
github.com/aws/aws-sdk-go/private/protocol/eventstream
|
|
|
|
github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
|
2022-01-04 23:09:44 +01:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/jsonrpc
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/query
|
|
|
|
github.com/aws/aws-sdk-go/private/protocol/query/queryutil
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/rest
|
2022-01-04 23:09:44 +01:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/restjson
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/aws/aws-sdk-go/private/protocol/restxml
|
|
|
|
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/service/cloudfront/sign
|
|
|
|
github.com/aws/aws-sdk-go/service/s3
|
2022-01-04 23:09:44 +01:00
|
|
|
github.com/aws/aws-sdk-go/service/sso
|
|
|
|
github.com/aws/aws-sdk-go/service/sso/ssoiface
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/aws/aws-sdk-go/service/sts
|
2020-03-09 08:09:54 +01:00
|
|
|
github.com/aws/aws-sdk-go/service/sts/stsiface
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/beorn7/perks v1.0.1
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/beorn7/perks/quantile
|
2020-08-22 04:04:11 +02:00
|
|
|
# github.com/bitly/go-simplejson v0.5.0
|
|
|
|
## explicit
|
2020-09-01 02:26:57 +02:00
|
|
|
# github.com/bshuster-repo/logrus-logstash-hook v1.0.0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/bshuster-repo/logrus-logstash-hook
|
|
|
|
# github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/bugsnag/bugsnag-go
|
|
|
|
github.com/bugsnag/bugsnag-go/errors
|
|
|
|
# github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/bugsnag/osext
|
|
|
|
# github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/bugsnag/panicwrap
|
|
|
|
# github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/denverdino/aliyungo/cdn/auth
|
|
|
|
github.com/denverdino/aliyungo/common
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/denverdino/aliyungo/oss
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/denverdino/aliyungo/util
|
2020-08-22 04:04:11 +02:00
|
|
|
# github.com/dnaeon/go-vcr v1.0.1
|
|
|
|
## explicit
|
2018-03-14 01:08:11 +01:00
|
|
|
# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2018-03-14 01:08:11 +01:00
|
|
|
github.com/docker/go-events
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/docker/go-metrics v0.0.1
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/docker/go-metrics
|
|
|
|
# github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/docker/libtrust
|
2020-09-01 05:48:55 +02:00
|
|
|
# github.com/felixge/httpsnoop v1.0.1
|
|
|
|
github.com/felixge/httpsnoop
|
2020-04-01 17:47:41 +02:00
|
|
|
# github.com/gofrs/uuid v4.0.0+incompatible
|
|
|
|
## explicit
|
|
|
|
github.com/gofrs/uuid
|
|
|
|
# github.com/golang-jwt/jwt/v4 v4.0.0
|
|
|
|
github.com/golang-jwt/jwt/v4
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/golang/protobuf v1.3.2
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/golang/protobuf/proto
|
2020-09-01 02:15:02 +02:00
|
|
|
# github.com/gomodule/redigo v1.8.2
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2020-09-01 02:15:02 +02:00
|
|
|
github.com/gomodule/redigo/redis
|
2020-09-01 05:48:55 +02:00
|
|
|
# github.com/gorilla/handlers v1.5.1
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/gorilla/handlers
|
2020-08-27 20:09:06 +02:00
|
|
|
# github.com/gorilla/mux v1.8.0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/gorilla/mux
|
|
|
|
# github.com/inconshreveable/mousetrap v1.0.0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/inconshreveable/mousetrap
|
2022-01-04 23:09:44 +01:00
|
|
|
# github.com/jmespath/go-jmespath v0.4.0
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/jmespath/go-jmespath
|
|
|
|
# github.com/matttproud/golang_protobuf_extensions v1.0.1
|
|
|
|
github.com/matttproud/golang_protobuf_extensions/pbutil
|
2019-06-20 07:39:19 +02:00
|
|
|
# github.com/mitchellh/mapstructure v1.1.2
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/mitchellh/mapstructure
|
2020-08-22 04:04:11 +02:00
|
|
|
# github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f
|
|
|
|
## explicit
|
2019-06-20 07:39:19 +02:00
|
|
|
# github.com/ncw/swift v1.0.47
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/ncw/swift
|
|
|
|
github.com/ncw/swift/swifttest
|
2020-08-24 18:45:46 +02:00
|
|
|
# github.com/opencontainers/go-digest v1.0.0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/opencontainers/go-digest
|
2021-11-17 22:23:15 +01:00
|
|
|
# github.com/opencontainers/image-spec v1.0.2
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/opencontainers/image-spec/specs-go
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/opencontainers/image-spec/specs-go/v1
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/prometheus/client_golang v1.1.0
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/prometheus/client_golang/prometheus
|
2020-01-08 18:27:59 +01:00
|
|
|
github.com/prometheus/client_golang/prometheus/internal
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/prometheus/client_golang/prometheus/promhttp
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/prometheus/client_model/go
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/prometheus/common v0.6.0
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/prometheus/common/expfmt
|
|
|
|
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
|
2020-01-29 15:02:25 +01:00
|
|
|
github.com/prometheus/common/model
|
2020-01-08 18:27:59 +01:00
|
|
|
# github.com/prometheus/procfs v0.0.3
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/prometheus/procfs
|
2020-01-08 18:27:59 +01:00
|
|
|
github.com/prometheus/procfs/internal/fs
|
2021-04-22 14:36:56 +02:00
|
|
|
# github.com/sirupsen/logrus v1.8.1
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/sirupsen/logrus
|
2019-06-20 07:39:19 +02:00
|
|
|
# github.com/spf13/cobra v0.0.3
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/spf13/cobra
|
2019-06-20 07:39:19 +02:00
|
|
|
# github.com/spf13/pflag v1.0.3
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/spf13/pflag
|
|
|
|
# github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/yvasiyarov/go-metrics
|
|
|
|
# github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/yvasiyarov/gorelic
|
|
|
|
# github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
github.com/yvasiyarov/newrelic_platform_go
|
2020-04-01 17:47:41 +02:00
|
|
|
# golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/crypto/acme
|
|
|
|
golang.org/x/crypto/acme/autocert
|
|
|
|
golang.org/x/crypto/bcrypt
|
|
|
|
golang.org/x/crypto/blowfish
|
2020-04-01 17:47:41 +02:00
|
|
|
golang.org/x/crypto/pkcs12
|
|
|
|
golang.org/x/crypto/pkcs12/internal/rc2
|
2022-01-04 23:09:44 +01:00
|
|
|
# golang.org/x/net v0.0.0-20211216030914-fe4d6282115f
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/net/context
|
2019-06-20 07:39:19 +02:00
|
|
|
golang.org/x/net/context/ctxhttp
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/net/http/httpguts
|
2020-01-29 15:02:25 +01:00
|
|
|
golang.org/x/net/http2
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/net/http2/hpack
|
|
|
|
golang.org/x/net/idna
|
|
|
|
golang.org/x/net/internal/timeseries
|
2020-01-29 15:02:25 +01:00
|
|
|
golang.org/x/net/trace
|
2019-06-20 07:39:19 +02:00
|
|
|
# golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/oauth2
|
|
|
|
golang.org/x/oauth2/google
|
|
|
|
golang.org/x/oauth2/internal
|
|
|
|
golang.org/x/oauth2/jws
|
2020-01-29 15:02:25 +01:00
|
|
|
golang.org/x/oauth2/jwt
|
2020-04-01 17:47:41 +02:00
|
|
|
# golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
|
|
|
|
golang.org/x/sys/internal/unsafeheader
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/sys/unix
|
2020-01-08 18:27:59 +01:00
|
|
|
golang.org/x/sys/windows
|
2022-01-04 23:09:44 +01:00
|
|
|
# golang.org/x/text v0.3.6
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/text/secure/bidirule
|
2020-01-29 15:02:25 +01:00
|
|
|
golang.org/x/text/transform
|
2019-06-06 00:40:29 +02:00
|
|
|
golang.org/x/text/unicode/bidi
|
|
|
|
golang.org/x/text/unicode/norm
|
|
|
|
# google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2020-01-29 15:02:25 +01:00
|
|
|
google.golang.org/api/gensupport
|
2019-06-06 00:40:29 +02:00
|
|
|
google.golang.org/api/googleapi
|
|
|
|
google.golang.org/api/googleapi/internal/uritemplates
|
|
|
|
google.golang.org/api/storage/v1
|
2019-06-20 07:39:19 +02:00
|
|
|
# google.golang.org/appengine v1.4.0
|
2019-06-06 00:40:29 +02:00
|
|
|
google.golang.org/appengine
|
|
|
|
google.golang.org/appengine/internal
|
|
|
|
google.golang.org/appengine/internal/app_identity
|
|
|
|
google.golang.org/appengine/internal/base
|
|
|
|
google.golang.org/appengine/internal/datastore
|
|
|
|
google.golang.org/appengine/internal/log
|
2020-01-29 15:02:25 +01:00
|
|
|
google.golang.org/appengine/internal/modules
|
2019-06-06 00:40:29 +02:00
|
|
|
google.golang.org/appengine/internal/remote_api
|
2020-01-29 15:02:25 +01:00
|
|
|
google.golang.org/appengine/internal/urlfetch
|
|
|
|
google.golang.org/appengine/urlfetch
|
2019-06-06 00:40:29 +02:00
|
|
|
# google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
google.golang.org/cloud
|
|
|
|
google.golang.org/cloud/internal
|
|
|
|
google.golang.org/cloud/internal/opts
|
2020-01-29 15:02:25 +01:00
|
|
|
google.golang.org/cloud/storage
|
go.mod: add replace rule to prevent unwanted updateds of grpc and jwt-go
This replace rule is to prevent unwanted updates of grpc and jwt-go. When updating
spf13/cobra, we noticed that google.golang.org/grpc got updated.
Doing a search to find which modules (note here that `go mod graph` only looks
at dependencies from a `go modules` perspective, and not all the (current version)
of our dependencies use go modules).
And I found that the only _modules_ depending on it are `github.com/spf13/viper`
and `github.com/grpc-ecosystem/grpc-gateway`:
```bash
$ go mod graph | grep ' google.golang.org/grpc'
github.com/spf13/viper@v1.4.0 google.golang.org/grpc@v1.21.0
github.com/grpc-ecosystem/grpc-gateway@v1.9.0 google.golang.org/grpc@v1.19.0
```
Of those, `github.com/grpc-ecosystem/grpc-gateway` is a dependency of
`github.com/spf13/viper`:
```bash
$ go mod graph | grep ' github.com/grpc-ecosystem/grpc-gateway'
github.com/spf13/viper@v1.4.0 github.com/grpc-ecosystem/grpc-gateway@v1.9.0
```
So looking at that one, it's a dependency of cobra:
```bash
$ go mod graph | grep ' github.com/spf13/viper@v1.4.0'
github.com/spf13/cobra@v1.0.0 github.com/spf13/viper@v1.4.0
```
Ironically, while both `github.com/spf13/viper` and `github.com/grpc-ecosystem/grpc-gateway`,
depend on `google.golang.org/grpc` and (through their `go.mod`) are responsible
for `go mod` to update the dependency version of grpc, none of them are used:
```bash
cat vendor/modules.txt | grep github.com/spf13/viper
cat vendor/modules.txt | grep github.com/grpc-ecosystem/grpc-gateway
```
Unfortunately, `go modules` looks at `go.mod` to determine the *minimum version*
required; _even if the parts of the modules specifying it in the `go.mod` are unused_.
This patch adds a `replace` rule in go.mod to prevent updating grpc based on
other dependencies that _declare_ `google.golang.org/grpc` as a dependency,
but are not used and, hence, should not influence the minumum version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-23 18:34:53 +02:00
|
|
|
# google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a => google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
google.golang.org/grpc
|
|
|
|
google.golang.org/grpc/codes
|
|
|
|
google.golang.org/grpc/credentials
|
|
|
|
google.golang.org/grpc/grpclog
|
|
|
|
google.golang.org/grpc/internal
|
|
|
|
google.golang.org/grpc/metadata
|
|
|
|
google.golang.org/grpc/naming
|
|
|
|
google.golang.org/grpc/peer
|
2020-01-29 15:02:25 +01:00
|
|
|
google.golang.org/grpc/transport
|
2019-06-06 00:40:29 +02:00
|
|
|
# gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
gopkg.in/check.v1
|
2021-04-22 14:31:11 +02:00
|
|
|
# gopkg.in/yaml.v2 v2.4.0
|
2020-08-22 04:04:11 +02:00
|
|
|
## explicit
|
2019-06-06 00:40:29 +02:00
|
|
|
gopkg.in/yaml.v2
|
go.mod: add replace rule to prevent unwanted updateds of grpc and jwt-go
This replace rule is to prevent unwanted updates of grpc and jwt-go. When updating
spf13/cobra, we noticed that google.golang.org/grpc got updated.
Doing a search to find which modules (note here that `go mod graph` only looks
at dependencies from a `go modules` perspective, and not all the (current version)
of our dependencies use go modules).
And I found that the only _modules_ depending on it are `github.com/spf13/viper`
and `github.com/grpc-ecosystem/grpc-gateway`:
```bash
$ go mod graph | grep ' google.golang.org/grpc'
github.com/spf13/viper@v1.4.0 google.golang.org/grpc@v1.21.0
github.com/grpc-ecosystem/grpc-gateway@v1.9.0 google.golang.org/grpc@v1.19.0
```
Of those, `github.com/grpc-ecosystem/grpc-gateway` is a dependency of
`github.com/spf13/viper`:
```bash
$ go mod graph | grep ' github.com/grpc-ecosystem/grpc-gateway'
github.com/spf13/viper@v1.4.0 github.com/grpc-ecosystem/grpc-gateway@v1.9.0
```
So looking at that one, it's a dependency of cobra:
```bash
$ go mod graph | grep ' github.com/spf13/viper@v1.4.0'
github.com/spf13/cobra@v1.0.0 github.com/spf13/viper@v1.4.0
```
Ironically, while both `github.com/spf13/viper` and `github.com/grpc-ecosystem/grpc-gateway`,
depend on `google.golang.org/grpc` and (through their `go.mod`) are responsible
for `go mod` to update the dependency version of grpc, none of them are used:
```bash
cat vendor/modules.txt | grep github.com/spf13/viper
cat vendor/modules.txt | grep github.com/grpc-ecosystem/grpc-gateway
```
Unfortunately, `go modules` looks at `go.mod` to determine the *minimum version*
required; _even if the parts of the modules specifying it in the `go.mod` are unused_.
This patch adds a `replace` rule in go.mod to prevent updating grpc based on
other dependencies that _declare_ `google.golang.org/grpc` as a dependency,
but are not used and, hence, should not influence the minumum version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-23 18:34:53 +02:00
|
|
|
# google.golang.org/grpc => google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a
|