Closed maelvls closed 3 years ago
I tried with the changes introduces by #4, I am still having issues 😔
Using commit 1233357400ad3a62ecbdfff96bea69c894cede02:
% go install github.com/jakexks/go-providence-checker@1233357400ad3a62ecbdfff96bea69c894cede02
% go-providence-checker dependencies github.com/jetstack/preflight@v0.1.29
2021-04-22T18:10:10.646+0200 INFO checker/state.go:33 Creating Temporary Directories
2021-04-22T18:10:10.648+0200 INFO checker/state.go:58 Downloading github.com/jetstack/preflight@v0.1.29
2021-04-22T18:14:30.118+0200 INFO checker/state.go:74 Downloading transitive dependencies
2021-04-22T18:18:02.697+0200 INFO checker/license.go:39 FYI: bazil.org/fuse: no license file was found
module bazil.org/fuse@v0.0.0-20160811212531-371fbbdaa898: no license detected, check + add manually
module cloud.google.com/go@v0.73.0: Apache-2.0 (notice)
module cloud.google.com/go/bigquery@v1.8.0: Apache-2.0 (notice)
module cloud.google.com/go/datastore@v1.1.0: Apache-2.0 (notice)
module cloud.google.com/go/firestore@v1.1.0: Apache-2.0 (notice)
module cloud.google.com/go/pubsub@v1.3.1: Apache-2.0 (notice)
module cloud.google.com/go/storage@v1.10.0: Apache-2.0 (notice)
module contrib.go.opencensus.io/exporter/prometheus@v0.2.0: Apache-2.0 (notice)
module dmitri.shuralyov.com/gpu/mtl@v0.0.0-20190408044501-666a987793e9: BSD-3-Clause (notice)
module github.com/Azure/aks-engine@v0.56.0: MIT (notice)
module github.com/Azure/azure-sdk-for-go@v46.4.0+incompatible: Apache-2.0 (notice)
module github.com/Azure/go-ansiterm@v0.0.0-20170929234023-d6e3b3328b78: MIT (notice)
module github.com/Azure/go-autorest@v14.2.0+incompatible: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest@v0.11.8: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/adal@v0.9.5: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/azure/cli@v0.3.0: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/date@v0.3.0: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/mocks@v0.4.1: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/to@v0.4.0: Apache-2.0 (notice)
module github.com/Azure/go-autorest/autorest/validation@v0.3.0: Apache-2.0 (notice)
module github.com/Azure/go-autorest/logger@v0.2.0: Apache-2.0 (notice)
module github.com/Azure/go-autorest/tracing@v0.6.0: Apache-2.0 (notice)
module github.com/BurntSushi/toml@v0.3.1: MIT (notice)
module github.com/BurntSushi/xgb@v0.0.0-20160522181843-27f122750802: WTFPL (FORBIDDEN)
module github.com/DATA-DOG/go-sqlmock@v1.5.0: BSD-1-Clause (restricted)
Error: github.com/DATA-DOG/go-sqlmock@v1.5.0 is under a restricted license BSD-1-Clause
Usage:
go-providence-checker dependencies <module path> [flags]
Should I just --force
?
Using --force
, it manages to process all modules, but some modules are returning errors.
Here are the ones failing:
Module | Message |
---|---|
bazil.org/fuse@371fbbdaa898 |
no license detected, check + add manually |
github.com/BurntSushi/xgb@27f122750802 |
WTFPL (FORBIDDEN) |
github.com/chzyer/logex@v1.1.10 |
no license detected, check + add manually |
github.com/garyburd/redigo@535138d7bcd7 |
no license detected, check + add manually |
github.com/ghodss/yaml@v1.0.0 |
no license detected, check + add manually |
github.com/globalsign/mgo@eeefdecb41b8 |
no license detected, check + add manually |
github.com/juju/errors@d42613fe1ab9 |
LGPL-3.0 (restricted) |
github.com/juju/loggo@6e530bcce5d8 |
LGPL-3.0 (restricted) |
github.com/juju/testing@ce9dec17d28b |
LGPL-3.0 (restricted) |
github.com/kr/logfmt@b84e30acd515 |
Unlicense (unencumbered) |
github.com/pascaldekloe/goe@57f6aae5913c |
CC0-1.0 (unencumbered) |
github.com/rcrowley/go-metrics@3113b8401b8a |
no license detected, check + add manually |
github.com/smartystreets/assertions@b2de0cb4f26d |
no license detected, check + add manually |
github.com/smartystreets/goconvey@v1.6.4 |
no license detected, check + add manually |
github.com/streadway/handy@d5acb3125c2a |
Unlicense (unencumbered) |
github.com/xi2/xz@48954b6210f8 |
no license detected, check + add manually |
github.com/yvasiyarov/go-metrics@57bccd1ccd43 |
no license detected, check + add manually |
gopkg.in/check.v1@8fa46927fb4f |
no license detected, check + add manually |
gopkg.in/mgo.v2@9856a29383ce |
no license detected, check + add manually |
sigs.k8s.io/yaml@v1.2.0 |
no license detected, check + add manually |
and github.com/lightstep/lightstep-tracer-common/golang/gogo@bc2310a04743
→ no license detected, check + add manually
The first error
go: downloading k8s.io/api v0.21.0
github.com/jetstack/preflight imports
github.com/jetstack/preflight/cmd imports
github.com/jetstack/preflight/pkg/agent imports
github.com/jetstack/preflight/pkg/datagatherer/k8s imports
k8s.io/client-go/kubernetes/scheme imports
k8s.io/api/auditregistration/v1alpha1: cannot find module providing package k8s.io/api/auditregistration/v1alpha1
is now fixed thanks to #4.
The second error:
Error: github.com/DATA-DOG/go-sqlmock@v1.5.0 is under a restricted license BSD-1-Clause
can be worked around with --force
or -f
.
Hi! I have been trying to run
go-providence-checker
with preflight:Output:
I tried cloning jetstack/preflight and running,
go-providence-checker dependencies .
, but that does not seem to be supported either 😞Related: