Open shs96c opened 1 week ago
Sounds like a bug to me. A perfect thing to look into after vacation
On Wed, Sep 11, 2024, 1:25 PM Simon Stewart @.***> wrote:
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
— Reply to this email directly, view it on GitHub https://github.com/bazelbuild/rules_license/issues/154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC22ZWMPPBDFTTHBIB4YHPTZWASBTAVCNFSM6AAAAABOAXW3P6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTSNBWGM4DIMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Expected Behavior
When using the
gather_metadata_info
aspect, the generatedTransitiveMetadataInfo
should have all fields populated.Actual Behavior
Only
deps
,licenses
, andtraces
are populated.Steps to Reproduce the Problem
gather_metadata_info
aspect on a targetTransitiveMetadataInfo
providerIt 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