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.1.0] Allow @repo_name labels in override attributes #21314

Closed
wants to merge 1 commit into from

Commits on Feb 12, 2024

  1. Allow @repo_name labels in override attributes

    This is made possible by a refactoring that moves the label parsing of `RepoSpec` attributes coming from module overrides as well as `.bzl` file labels containing repo rules from `BzlmodRepoRuleFunction` into `ModuleFileGlobals`. Also adds a TODO to `BzlmodRepoRuleFunction` to further simplify the logic after the next lockfile version bumps, as old lockfiles are now the only source of non-canonical labels in `RepoSpec`s.
    
    Work towards bazelbuild#19301
    
    Closes bazelbuild#21188.
    
    PiperOrigin-RevId: 605517195
    Change-Id: Id34c81fa9474fef2354ff1fbc898e518a9044640
    fmeum authored and iancha1992 committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    aac64a3 View commit details
    Browse the repository at this point in the history