Move ProjectDeletionAction/CacheDeleteHandler PullReplicationModule

Following I31cb7378ba7a the classes responsible for providing the delete
project functionality need to be moved to PullReplicationModule as it is
used also in the stream event listener and therefore used even without
the HTTP REST-APIs.

Having the binding in the HttpModule caused two conflicting bindings,
one done just-in-time indirectly by the StreamEventListener and another
one explicitly bound in the PullReplicationModule which was making the
plugin failing to load because of a double binding.

Change-Id: I9dd29693ee48851a45bff79078f7de27d7c631fc
2 files changed
tree: f2960601409545094625c1e3e0a77a51246d7b81
  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