gerrit - git gerrit - Replication plugin in gerrit - gerrit code review
- It is used to duplicate a git repository from gerrit to anyway. Configuration file is $GERRIT_INSTALL/etc/replication.config.
- Config file example to clone MyRepo from gerrit to backupServer
[remote "backup"]
url = ProjectUrlOnBackupServer/${name} #Example backup.some.org:/pub/git/${name}.git
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
projects = MyRepoClicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - gerrit tutorial - git gerrit - google gerrit - team
- To reload the plugin, restart Gerrit server or execute following command if install plugin is installed:
ssh -p 29418 localhost gerrit plugin reload replicationClicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - gerrit tutorial - git gerrit - google gerrit - team
Events-log plugin
This plugin is mandatory to make Gerrit able to receive message from other services. As an example, it has to be install to use Sonar Gerrit plugin
- Install jar file under plugins folder
- Default configuration is sufficient