Merge branch 'stable-3.11'

* stable-3.11:
  Do not lock refs when not executing a fetch
  Allow locking refs whilst filtering for fetch requests
  Remove unused Transport in FetchOneTest
  Avoid mocking ReplicationFetchFilter
  Remove redundant public modifier in ReplicationFetchFilter
  Record replication metrics for retrying tasks

Change-Id: I63317ad5f0f98e988844bf40f81522fec014641a
tree: 7bfcda86ebb79515c2f63729545088b27aa440a7
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. Jenkinsfile
  6. LICENSE
  7. README.md
README.md

Gerrit pull-replication plugin

This plugin can automatically mirror repositories from other systems.

Overview

Typically replication should be done over SSH, with a passwordless public/private key pair. On a trusted network it is also possible to use replication over the insecure (but much faster due to no authentication overhead or encryption) git:// protocol, by enabling the upload-pack service on the receiving system, but this configuration is not recommended. It is also possible to specify a local path as replication source. This makes sense if a network share is mounted to which the repositories should be replicated from.

Access

To be allowed to trigger pull replication a user must be a member of a group that is granted the ‘Pull Replication’ capability (provided by this plugin) or the ‘Administrate Server’ capability.

Change Indexing

Changes will be automatically indexed upon replication.

For more information please refer to the docs