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

[7.2.0] Fail early on certain invalid labels in module files #22506

Merged
merged 1 commit into from
May 22, 2024

Commits on May 22, 2024

  1. Fail early on certain invalid labels in module files

    The following validation checks were not enforced due to backwards compatibility concerns, but ended up crashing Bazel when invalid labels made it into the lockfile, which is enabled by default. We might as well enable them now:
    
    * Fail if a label passed to `use_extension` is not valid
    * Fail if a label passed to the `patches` attribute of an override is not valid or points to a repo other than the main repo
    
    Work towards bazelbuild#21845
    
    Closes bazelbuild#22487.
    
    PiperOrigin-RevId: 636255834
    Change-Id: I55dda374cd1716e514c4d78642479b136fd3ad43
    fmeum authored and iancha1992 committed May 22, 2024
    Configuration menu
    Copy the full SHA
    2192e74 View commit details
    Browse the repository at this point in the history