Move replication logic to replication plugin
This splits all of the replication code out of the core server and moves it into a standard plugin. A new listener API is used inside of the core server to notify interested plugins of any Git reference changes, which the replication code can hook into to schedule its events. Change-Id: I77ee4440a009c2ce1c62fb6a445c7e3c912245f9
This commit is contained in:
@@ -81,10 +81,6 @@ public class SitePathInitializer {
|
||||
savePublic(flags.cfg);
|
||||
saveSecure(flags.sec);
|
||||
|
||||
if (!site.replication_config.exists()) {
|
||||
site.replication_config.createNewFile();
|
||||
}
|
||||
|
||||
extract(site.gerrit_sh, Init.class, "gerrit.sh");
|
||||
chmod(0755, site.gerrit_sh);
|
||||
chmod(0700, site.tmp_dir);
|
||||
|
Reference in New Issue
Block a user