-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support local_repository in Bazel Registry's source.json file
Add "module_base_path" to BazelRegistryJson Add type to SourceJson class that defaults to "archive" and can be changed trough the file to "local_repository". If type is local_repository, calculate path as following: - If path is relative, use module_base_path/path. - If module_base_path is relative, use registry_url/module_base_path/path (registry_url has to start with file://) else would produce an error fixes #16319 RELNOTES[NEW]: Support local_repository in Bazel Registry's source.json file PiperOrigin-RevId: 481660476 Change-Id: Ib12944e416c19ac885c1088b888014acc7f5d047
- Loading branch information
1 parent
c8b7ed3
commit ec3d03c
Showing
6 changed files
with
163 additions
and
16 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
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