Update git submodules
* Update plugins/replication from branch 'stable-3.4'
to 9a76d4505e0f327db5d2b2a650b1c1985c26077b
- Merge branch 'stable-3.3' into stable-3.4
* stable-3.3:
Doc: make explicit that remoteNameStyle is for non-Gerrit repos
Doc: remoteNameStyle might result in a repo name clashes
Change-Id: I1b2e9c5fd408b8f8bd1a3ef3104182c6f6474559
- Merge branch 'stable-3.2' into stable-3.3
* stable-3.2:
Doc: make explicit that remoteNameStyle is for non-Gerrit repos
Doc: remoteNameStyle might result in a repo name clashes
Change-Id: I32d598a36fe20c469528eca8d4c10d8775f7a3c4
- Merge "Doc: remoteNameStyle might result in a repo name clashes" into stable-3.2
- Doc: make explicit that remoteNameStyle is for non-Gerrit repos
The documentation already specify non-Gerrit examples of use
of remoteNameStyle; however, it does not say that if the remote
repository is backed by Gerrit, the *ONLY* supported option is
"slashes", otherwise the consequences could be catastrophic.
Two Gerrit servers (e.g. primary and replica) need to have
full alignment of repository names, as they are also referenced
in the inherited ACLs. Having a repository name mapping, may
disrupt the ACLs evaluation and make the remote Gerrit replica
unusable.
Bug: Issue 15318
Change-Id: I4d9447a4d0366a98037470c0cceda36f7a1b8a25
- Doc: remoteNameStyle might result in a repo name clashes
When using the remoteNameStyle in the replication.config settings
the Gerrit admin needs to be warned on the risks of using sytles
that may be ambiguous and associate two source repositories to
the same target repository on the replica.
Example: set remoteNameStyle to basenameOnly
/foo/my-repo.git => pushed to my-repo
/bar/my-repo.git => pushed to my-repo
When two commits are pushed to the same branch on the two repos
/foo/my-repo.git and /bar/my-repo.git, the replication plugin
would push them to the same target repo my-repo, causing clashes
and losing commits (depending which one is pushed first).
The risk needs to be highlighted so that the Gerrit admin
can check that univocity of the mapping is respected.
Bug: Issue 15315
Change-Id: Iba42907bceb8d1c27d739f3b0cded4a1d7400686
diff --git a/plugins/replication b/plugins/replication
index 7d9ba0d..9a76d45 160000
--- a/plugins/replication
+++ b/plugins/replication
@@ -1 +1 @@
-Subproject commit 7d9ba0d543e8212b73d8cf8e2e2d5764b63b7678
+Subproject commit 9a76d4505e0f327db5d2b2a650b1c1985c26077b