go-licenses icon indicating copy to clipboard operation
go-licenses copied to clipboard

Add Bazel support

Open serafeimgr opened this issue 2 years ago • 4 comments

Is there a possibility to support Bazel and not only the native Go tooling?

serafeimgr avatar May 25 '22 10:05 serafeimgr

Does go-licenses 1.0 work with bazel?

Bobgy avatar May 26 '22 13:05 Bobgy

AFAIU no it does not.

Bazel fetches the depedencies based on rules on the WORKSPACE file and stores them in different directories than the native go tooling

serafeimgr avatar May 29 '22 12:05 serafeimgr

https://docs.bazel.build/versions/0.24.0/be/functions.html#licenses

Should bazel handle licenses by itself? It already has dependency info for all packages including, but not limited to Go.

Bobgy avatar May 29 '22 16:05 Bobgy

hey @Bobgy i think this refers to the license of the app not of the depedencies

serafeimgr avatar Jun 10 '22 12:06 serafeimgr