Use a simpler named binding for the LocalDiskRepositoryManager

This partly reverts commit 0db559343d648180cb25d340c72f1e479165fb0c
and introduces a simpler named binding using the simple class name
of the LocalDiskRepositoryManager.

Allows to have a zero-configuration chaining between different
repository managers, using the optional binding technique.

Also, does not require anymore changes in other dependent plugins
such as multi-site and high-availability, because the absence of a
named binding is already managed with a fallback to the previous
legacy binding to the LocalDiskRepositoryManager class.

Bump the global-refdb version to 3.4.4.4.

Change-Id: I95ca0c2f9281384d29494c4594699a1c1add29ca
5 files changed
tree: 8f152158ed84b71682905ba668c50514021e6f62
  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.