rules_license
rules_license copied to clipboard
`gather_metadata_info` does not populate the `package_info` field of the returned `TransitiveMetadataInfo`
Expected Behavior
When using the gather_metadata_info
aspect, the generated TransitiveMetadataInfo
should have all fields populated.
Actual Behavior
Only deps
, licenses
, and traces
are populated.
Steps to Reproduce the Problem
- Use the
gather_metadata_info
aspect on a target - Inspect the returned
TransitiveMetadataInfo
provider
It looks like the call to the factory method doesn't include a reference to the gathered PackageInfo
instances: https://github.com/bazelbuild/rules_license/blob/main/rules/licenses_core.bzl#L204-L210