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

[8.0.0] Add --inject_repository and fix crash on overridden non-existent repo #24301

Merged
merged 1 commit into from
Nov 12, 2024

Commits on Nov 12, 2024

  1. Add --inject_repository and fix crash on overridden non-existent repo

    Suggest the new flag instead of crashing when `--override_repository` is applied to a non-existent repo with `--noenable_workspace`.
    
    Fixes #22691
    
    RELNOTES: The new `--inject_repository` flag can be used to add new repositories via the CLI with `--enable_bzlmod`. Such repositories behave as if they were declared by `local_repository` via `use_repo_rule` in the root module.
    
    Closes #23791.
    
    PiperOrigin-RevId: 695848897
    Change-Id: I92ed25261c92d07f289815fcf6a65485ff43f373
    fmeum authored and Wyverald committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    fee3b92 View commit details
    Browse the repository at this point in the history