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

Prevent --repo_env from triggering unnecessary fetches #13126

Closed

Commits on Mar 9, 2021

  1. Prevent --repo_env from triggering unnecessary fetches

    It looks like `--repo_env` entries get added to every repository
    rule's marker data. That is regardless of whether the repository rule
    declared that it uses the environment variable. This causes
    unnecessary fetches of the external repositories.
    
    This patch aims to fix that by making repository rules only depend on
    `--repo_env` values that they specify in their `environ` attributes.
    philsc committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    5c89e5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f23478 View commit details
    Browse the repository at this point in the history