-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide
--registry
flags behind a config
Renovate scans for registry URLs in .bazelrc files and tries to use all of them, but it does not support file: URLs and fails. However, it ignores any `--registry` values associated with a configuration. So introduce a `common` configuration which is always enabled, but causes renovate to skip the `--registry` values.
- Loading branch information
Showing
6 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
common:bzlmod --enable_bzlmod | ||
common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build | ||
common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
common:bzlmod --enable_bzlmod | ||
|
||
# Note, have to use /// to make Bazel not crash on Windows | ||
common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build | ||
common:common --registry=file:///%workspace%/../registry --registry=https://bcr.bazel.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
common:bzlmod --enable_bzlmod | ||
common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build | ||
common:common --registry=file://%workspace%/../registry --registry=https://bcr.bazel.build |