Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Odd lack of dependency licenses for moby/buildkit #64

Closed
StevenACoffman opened this issue May 26, 2021 · 2 comments
Closed

bug: Odd lack of dependency licenses for moby/buildkit #64

StevenACoffman opened this issue May 26, 2021 · 2 comments

Comments

@StevenACoffman
Copy link

StevenACoffman commented May 26, 2021

~/go/bin/go-licenses csv github.com/moby/buildkit
prints only:

github.com/moby/buildkit,https://github.com/moby/buildkit/blob/master/LICENSE,Apache-2.0

Build buildkit’s go.mod looks like this: https://github.com/moby/buildkit/blob/master/go.mod

go.mod
module github.com/moby/buildkit

go 1.13

require (
    github.com/BurntSushi/toml v0.3.1
    github.com/Microsoft/go-winio v0.4.17
    github.com/Microsoft/hcsshim v0.8.16
    github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58 // indirect
    github.com/containerd/console v1.0.2
    github.com/containerd/containerd v1.5.0
    github.com/containerd/continuity v0.1.0
    github.com/containerd/fuse-overlayfs-snapshotter v1.0.2
    github.com/containerd/go-cni v1.0.2
    github.com/containerd/go-runc v1.0.0
    github.com/containerd/stargz-snapshotter v0.5.0
    github.com/containerd/typeurl v1.0.2
    github.com/coreos/go-systemd/v22 v22.1.0
    github.com/docker/cli v20.10.5+incompatible
    github.com/docker/distribution v2.7.1+incompatible
    github.com/docker/docker v20.10.5+incompatible
    github.com/docker/go-connections v0.4.0
    github.com/docker/libnetwork v0.8.0-dev.2.0.20201215162534-fa125a3512ee
    github.com/gofrs/flock v0.7.3
    github.com/gogo/googleapis v1.4.0
    github.com/gogo/protobuf v1.3.2
    // protobuf: the actual version is replaced in replace()
    github.com/golang/protobuf v1.4.3
    github.com/google/go-cmp v0.5.4
    github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
    github.com/gorilla/mux v1.8.0 // indirect
    github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
    github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
    github.com/hashicorp/go-immutable-radix v1.0.0
    github.com/hashicorp/golang-lru v0.5.3
    github.com/hashicorp/uuid v0.0.0-20160311170451-ebb0a03e909c // indirect
    github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07 // indirect
    github.com/jaguilar/vt100 v0.0.0-20150826170717-2703a27b14ea
    github.com/mitchellh/hashstructure v1.0.0
    github.com/moby/locker v1.0.1
    github.com/moby/sys/mount v0.2.0 // indirect; force more current version of sys/mount than go mod selects automatically
    github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf // indirect
    github.com/morikuni/aec v1.0.0
    github.com/opencontainers/go-digest v1.0.0
    github.com/opencontainers/image-spec v1.0.1
    github.com/opencontainers/runc v1.0.0-rc93
    github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d
    github.com/opencontainers/selinux v1.8.0
    github.com/opentracing-contrib/go-stdlib v1.0.0
    github.com/opentracing/opentracing-go v1.2.0
    github.com/pkg/errors v0.9.1
    github.com/pkg/profile v1.5.0
    github.com/serialx/hashring v0.0.0-20190422032157-8b2912629002
    github.com/sirupsen/logrus v1.7.0
    github.com/stretchr/testify v1.7.0
    github.com/tonistiigi/fsutil v0.0.0-20201103201449-0834f99b7b85
    github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea
    github.com/uber/jaeger-client-go v2.25.0+incompatible
    github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
    github.com/urfave/cli v1.22.2
    go.etcd.io/bbolt v1.3.5
    golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
    golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
    golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
    golang.org/x/sys v0.0.0-20210324051608-47abb6519492
    golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
    // genproto: the actual version is replaced in replace()
    google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a
    // grpc: the actual version is replaced in replace()
    google.golang.org/grpc v1.35.0
)

replace (
    // protobuf: corresponds to containerd
    github.com/golang/protobuf => github.com/golang/protobuf v1.3.5
    github.com/hashicorp/go-immutable-radix => github.com/tonistiigi/go-immutable-radix v0.0.0-20170803185627-826af9ccf0fe
    github.com/jaguilar/vt100 => github.com/tonistiigi/vt100 v0.0.0-20190402012908-ad4c4a574305
    // genproto: corresponds to containerd
    google.golang.org/genproto => google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63
    // grpc: corresponds to protobuf
    google.golang.org/grpc => google.golang.org/grpc v1.30.0
)
@Bobgy
Copy link
Collaborator

Bobgy commented Apr 11, 2022

This is a documentation issue, clarified in #111.

Note that go-licenses acts on go packages, the github.com/moby/buildkit package contains only the doc.go file without other dependencies. If you want to check for all dependencies, you can do either:

go-licenses csv github.com/moby/buildkit/... # for all sub packages
go-licenses csv github.com/moby/buildkit/cmd/buildctl # just for deps in the buildctl command

@Bobgy Bobgy closed this as completed Apr 11, 2022
@StevenACoffman
Copy link
Author

@dangoor Oh! This is pretty funny in hindsight!

@Bobgy Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants