Skip to content
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_metadata_info does not populate the package_info field of the returned TransitiveMetadataInfo #154

Open
shs96c opened this issue Sep 11, 2024 · 1 comment

Comments

@shs96c
Copy link
Collaborator

shs96c commented Sep 11, 2024

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

  1. Use the gather_metadata_info aspect on a target
  2. 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

@tonyaiuto
Copy link
Collaborator

tonyaiuto commented Sep 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants