-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from eclipse-score/lt_bazel_registry_doc
docs: add bazel registry entry
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.. | ||
# ******************************************************************************* | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# ******************************************************************************* | ||
Bazel registry | ||
############## | ||
|
||
Documentation | ||
************** | ||
|
||
Description | ||
=========== | ||
|
||
Score, as a multi repository projects requires a setup of it's own | ||
registry, that will help managing the dependencies between various | ||
parts. | ||
|
||
The registry is located at: | ||
https://github.com/eclipse-score/bazel_registry | ||
|
||
In order to use it the following lines need to be added to the .bazelrc | ||
file of a module: | ||
|
||
.. code:: | ||
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/ | ||
common --registry=https://bcr.bazel.build | ||
Score registry is set as first registry with the fallback to Bazel's | ||
central registry for other open source modules. | ||
|
||
References | ||
========== | ||
|
||
- Bazel external dependency management: | ||
https://bazel.build/external/overview#bzlmod | ||
- Bazel central registry browser: https://registry.bazel.build/ | ||
- Bzlmod usage examples: | ||
https://github.com/bazelbuild/examples/tree/main/bzlmod\ |
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 |
---|---|---|
|
@@ -36,4 +36,5 @@ that are used for development. | |
:titlesonly: | ||
:maxdepth: 1 | ||
|
||
bazel_registry.rst | ||
config_as_code.rst |