Skip to content

--repo_env should be a common option #12689

@sjoerdvisscher

Description

@sjoerdvisscher

Description of the problem / feature request:

Currently --repo_env is not a common argument. I don't see how it could be useful if I just set it on build: If I first do bazel build it applies the repo_env and downloads the repository data. But if I then do bazel query repo_env is no longer applied, the repository cache is invalidated and all the repository data is downloaded again.

If I could just set --repo_env on common this would not happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.type: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions