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
Expected Behavior
When using the
gather_metadata_infoaspect, the generatedTransitiveMetadataInfoshould have all fields populated.Actual Behavior
Only
deps,licenses, andtracesare populated.Steps to Reproduce the Problem
gather_metadata_infoaspect on a targetTransitiveMetadataInfoproviderIt looks like the call to the factory method doesn't include a reference to the gathered
PackageInfoinstances: https://github.com/bazelbuild/rules_license/blob/main/rules/licenses_core.bzl#L204-L210