Skip to content

Commit

Permalink
Merge pull request #130 from eclipse-score/lt_bazel_registry_doc
Browse files Browse the repository at this point in the history
docs: add bazel registry entry
  • Loading branch information
ltekieli authored Dec 18, 2024
2 parents 4f24483 + 8f98987 commit c7d5c10
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/features/infrastructure/bazel_registry.rst
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\
1 change: 1 addition & 0 deletions docs/features/infrastructure/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ that are used for development.
:titlesonly:
:maxdepth: 1

bazel_registry.rst
config_as_code.rst

0 comments on commit c7d5c10

Please sign in to comment.