You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go install github.com/google/go-licenses@latest
git clone https://github.com/crossplane/crossplane.git
cd crossplane
go-licenses csv ./...
That shows many error messages like the following in the output:
E0918 09:17:45.767529 80705 library.go:117] Package bytes does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0918 09:17:45.767626 80705 library.go:117] Package fmt does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0918 09:17:45.785420 80705 library.go:117] Package errors does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0918 09:17:45.803444 80705 library.go:117] Package cmp does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
E0918 09:17:45.803465 80705 library.go:117] Package sort does not have module info. Non go modules projects are no longer supported. For feedback, refer to https://github.com/google/go-licenses/issues/128.
...
Looks like it's mostly the standard library. I was able to get some license scan output after running go install github.com/google/[email protected]. Is there a different way I should be invoking latest to work successfully?
I have faced the same issue runnning go-licenses on a proprietary project, despite the project having a go.mod.
The text was updated successfully, but these errors were encountered:
Originally posted by @jbw976 in #128:
I have faced the same issue runnning go-licenses on a proprietary project, despite the project having a go.mod.
The text was updated successfully, but these errors were encountered: