Associated GitRepositoryManager indirectly through a Named binding

Allow to have different implementations of the GitRepositoryManager
through a named binding. This allows to have the caller to
have additional logic on the wrapped local disk implementation,
such as MultiBase or Cached refdb.

Change-Id: I5d5e6fb8e552a9bc82b1686636dbfb1c6f7365de
5 files changed
tree: b48d00fe1fd69f07c02a3b39144dd825b3741a6c
  1. src/
  2. .gitignore
  3. bindings.md
  4. BUILD
  5. config.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Gerrit interface to a global-refdb

Global ref-database interface for use with Gerrit Code Review.

Enables the de-coupling between Gerrit, its libModules and the different implementations of a globally shared ref-database.

Design

The design for a global ref-db interface can be found as part of the multi-site design documentation, where it first originated and was approved by the community.

Bindings

In order to consume this library, some Guice bindings need to be registered appropriately. More information in the relevant documentation.