summaryrefslogtreecommitdiff
path: root/src/lib/Gitolite/Triggers/Alias.pm
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2020-08-04 18:45:27 +0530
committerSitaram Chamarty <sitaramc@gmail.com>2020-08-04 18:45:27 +0530
commit91f73356bd2a30fcf6ab923ad8e616351adb6cbd (patch)
tree8cc3c53a490e8ea88060f1d6602e637a25fcf795 /src/lib/Gitolite/Triggers/Alias.pm
parent98d1fc8030490e6a16fafb23695b01dc5bc5f5c9 (diff)
gitolite mirroring terminology changes
This affects the mirroring code and documentation: "slave"/"slaves" are now "copy"/"copies". Backward compatibility should be maintained; you do not need to change either your gitolite.conf, or any scripts you have written on top, until you are ready to do so. (This in turn means the word "slave" will still be present in the code, though only just as much as needed.) Should you wish to make this change, you need to migrate to the latest version (which is also tagged as 3.6.12, so if you want to wait till the distros pick it up wait for that), and then: - In the gitolite.conf file, change `option mirror.slaves` to `option mirror.copies`. - If you have any scripts that use the `gitolite mirror list slaves` command, change to `gitolite mirror list copies`. sitaram
Diffstat (limited to 'src/lib/Gitolite/Triggers/Alias.pm')
-rw-r--r--src/lib/Gitolite/Triggers/Alias.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Gitolite/Triggers/Alias.pm b/src/lib/Gitolite/Triggers/Alias.pm
index 1fa24bb..adaceb5 100644
--- a/src/lib/Gitolite/Triggers/Alias.pm
+++ b/src/lib/Gitolite/Triggers/Alias.pm
@@ -73,11 +73,11 @@ Notes:
test it and make it work please let me know.
* funnily enough, this even works with mirroring! That is, a master can
- push a repo "foo" to a slave per its configuration, while the slave thinks
+ push a repo "foo" to a copy per its configuration, while the copy thinks
it is getting repo "bar" from the master per its configuration.
Just make sure to put the Alias::input line *before* the Mirroring::input
- line in the rc file on the slave.
+ line in the rc file on the copy.
However, it will probably not work with redirected pushes unless you setup
the opposite alias ("bar" -> "foo") on master.