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

Add --experimental_repository_cache_urls_as_default_canonical_id to help detect broken repository URLs #14268

Closed
wants to merge 2 commits into from

Commits on Nov 12, 2021

  1. Add --experimental_repository_cache_urls_as_default_canonical_id to h…

    …elp detect broken repository URLs
    
    This new flag can be used to force redownloading when repository URLs are changed. Otherwise, it's possible broken URLs can be masked by the presence of a repository cache entry with the same hash. Specifying a `canonical_id` works as before, overriding this behavior.
    
    Closes bazelbuild#14128.
    kmicklas committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    646c3fa View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. bazel_repository_cache_test: test --experimental_repository_cache_url…

    …s_as_default_canonical_id
    
    We test the current default behavior, which is that broken URLs are not detected, and that this is detected when using the new flag.
    kmicklas committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    8ca23cb View commit details
    Browse the repository at this point in the history