Hi, we use couchbase/gocb at Dapr, and I had some confusion regarding a dependency.
Background
This is our go mod why
output:
go mod why gopkg.in/couchbaselabs/jsonx.v1
# gopkg.in/couchbaselabs/jsonx.v1
github.com/dapr/dapr/cmd/daprd
github.com/dapr/components-contrib/state/couchbase
gopkg.in/couchbase/gocb.v1
gopkg.in/couchbaselabs/jsonx.v1
Relevant part from our go.mod file
gopkg.in/couchbase/gocb.v1 v1.6.4
gopkg.in/couchbase/gocbcore.v7 v7.1.18 // indirect
gopkg.in/couchbaselabs/gocbconnstr.v1 v1.0.4 // indirect
gopkg.in/couchbaselabs/gojcbmock.v1 v1.0.4 // indirect
gopkg.in/couchbaselabs/jsonx.v1 v1.0.0 // indirect
Question one
If I try to check the code for gocb.v1@v1.6.4, there is no go.mod file. There is only a Makefile with go get
commands, but the gopkg.in/couchbaselabs/jsonx.v1
dependency is still not here.
How does gocb.v1
depend on jsonx.v1
?
Question two
jsonx.v1
was unlicensed earlier, but with Add Apache License 2.0 by fenech · Pull Request #2 · couchbaselabs/jsonx (github.com), it now has a license. Can we upgrade jsonx.v1
's version in gocb.v1@1.6.4, such that it’s also compliant?