Skip to content

[5.1] Add --experimental_repository_cache_urls_as_default_canonical_id to help detect broken repository URLs #14989

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

Conversation

brentleyjones
Copy link
Contributor

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.

(cherry picked from commit f9882e4)

…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.

Closes bazelbuild#14268.

PiperOrigin-RevId: 420976730
(cherry picked from commit f9882e4)
@brentleyjones
Copy link
Contributor Author

@Wyverald

@brentleyjones
Copy link
Contributor Author

Requested here: #14714 (comment)

@Wyverald Wyverald merged commit f15e0c7 into bazelbuild:release-5.1.0 Mar 7, 2022
@brentleyjones brentleyjones deleted the bj/add-experimental_repository_cache_urls_as_default_canonical_id-to-help-detect-broken-repository-urls branch March 7, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants