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

Backport recent package metadata and license capabilities from Bazel 6 #16892

Merged
merged 2 commits into from
Dec 1, 2022

Commits on Nov 30, 2022

  1. Backport recent package metadata and license check capabilities from …

    …Bazel 6.x.
    
    More context: https://docs.google.com/document/d/1uyJjkKbE8kV8EinakaR9q-Un25zCukhoH_dRBkWHSKQ/edit#
    
    1. Rename default_applicable_licenses to default_package_metadata.
    
    Leave default_applicable_licenses as an alias.  Don't allow both to be set.
    
    Pick: ace99b5
    
    2.  Improve the check for being a package metadata rule
    
    This allows the refactoring which will happen after default_applicable_licenses is renamed to default_package_metadata. The current behavior is intended to prevent `applicable_licenses` from being set on a `license` rule. The required behavior is that we don't set `applicable_licenses` on any of the metadata rules.
    
    Pick: bbc221f
    aiuto committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    fc8f941 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Configuration menu
    Copy the full SHA
    1481832 View commit details
    Browse the repository at this point in the history