summaryrefslogtreecommitdiff
path: root/src/commands/1plus1
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/commands/1plus1
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/commands/1plus1')
-rwxr-xr-xsrc/commands/1plus12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/1plus1 b/src/commands/1plus1
index 897d235..1d94006 100755
--- a/src/commands/1plus1
+++ b/src/commands/1plus1
@@ -5,7 +5,7 @@ use warnings;
# import LOCK_*
use Fcntl qw(:flock);
-my $lockbase = shift; # suggested: $GL_REPO_BASE/$GL_REPO.git/.gl-mirror-push-lock.$SLAVE_NAME
+my $lockbase = shift; # suggested: $GL_REPO_BASE/$GL_REPO.git/.gl-mirror-push-lock.$COPY_NAME
my @cmd_plus_args = @ARGV; # the actual 'gitolite mirror ...' command
@ARGV = ();