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
I'm looking at how COS collects the licenses of Golang dependencies, and spotted that although osconfig specifies github.com/sirupsen/logrus as an indirect dependency in go.mod, it doesn't include its license in THIRD_PARTY_LICENSES.
Does THIRD_PARTY_LICENSES need updating? Could you explain how it was generated? (this would also be useful for me, as I'll have to do the same for another project)
I also used https://github.com/google/go-licenses to double-check, although I wouldn't trust that too much, as it seems to be in the "current tool is deprecated, new tool is not ready" state we know and love (google/go-licenses#70).
PS. I noticed that other dependencies from go.sum aren't mentioned, including https://github.com/BurntSushi/toml, although since go-licenses doesn't list these, I suspect that go.sum is too conservative here and they aren't included in the osconfig binary.
The text was updated successfully, but these errors were encountered:
In case you might want to try, the new go-licenses tool is available in my fork: https://github.com/Bobgy/go-licenses/tree/main/v2, which is integrated fully with github.com/kubeflow/pipelines. The issue tracks upstreaming my fork to the official repo, so it's still WIP.
Besides using a built tool, note that you can also find dependencies of a go binary simply using go version -m <path-to-binary> (the binary must be built using go modules).
I'm looking at how COS collects the licenses of Golang dependencies, and spotted that although osconfig specifies github.com/sirupsen/logrus as an indirect dependency in go.mod, it doesn't include its license in THIRD_PARTY_LICENSES.
Does THIRD_PARTY_LICENSES need updating? Could you explain how it was generated? (this would also be useful for me, as I'll have to do the same for another project)
I also used https://github.com/google/go-licenses to double-check, although I wouldn't trust that too much, as it seems to be in the "current tool is deprecated, new tool is not ready" state we know and love (google/go-licenses#70).
PS. I noticed that other dependencies from go.sum aren't mentioned, including https://github.com/BurntSushi/toml, although since go-licenses doesn't list these, I suspect that go.sum is too conservative here and they aren't included in the osconfig binary.
The text was updated successfully, but these errors were encountered: