-
Notifications
You must be signed in to change notification settings - Fork 28
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
gather_licenses_info does not seem to capture license of external packages #140
Comments
I'm not sure if this is a bug report or just highlighting a different problem. gather_licenses_info should capture all
I would expect that to show up in the JSON, and it does for me. So far so good. As far as the query goes: I'm not sure what the intent is, so let's parse it back to the minimal. This gets the license declaration, but with The bigger problem is for modules which do not have those declarations. Most of the importers used by workspace resolution or bzlmod do not splice in a What are you expecting from the query? |
Expected Behavior
gather_licenses_info.bzl
should also gather license from external packages (fetched thruWORKSPACE
orBzlmod
).Actual Behavior
gather_licenses_info.bzl
only gathers license from in-tree project sources and vendored dependencies.Steps to Reproduce the Problem
Specifications
bazel 6.4.0
Linux penguin 6.1.64-09049-g010fe86d9eae #1 SMP PREEMPT_DYNAMIC Thu, 1 Feb 2024 01:25:43 +0000 x86_64 GNU/Linuxw
The text was updated successfully, but these errors were encountered: