| Issue 886: | Replication should honor url.insteadof | |
| 3 people starred this issue and may be notified of changes. | Back to list |
Gerrit's repliction.config file has only a simple replacement mechanism for specifying replication URLs.
[remote "mirror"]
url = mirror1.example.org:/pub/git/${name}.git
Currently, ${name} is simply replaced by the name of the replicated project.
Unfortunately, it is not possible to replace some parts of the project names, e.g. "core/platform" -> "platform", if the mirror's directory structure is different.
This limitation could be removed if Gerrit uses the URL replacement patterns defined in .gitconfig for pushes to replication URLs:
[url "mirror1.example.org:/pub/git/"]
insteadOf = mirror1.example.org:/pub/git/core/
May 20, 2011
Project Member
#1
nas...@grainawi.org
Status:
Accepted
May 23, 2011
JGit needs to honor url.insteadof, then Gerrit will just do the right thing. https://bugs.eclipse.org/bugs/show_bug.cgi?id=346873
Summary:
Replication should honor url.insteadof
Labels: Component-JGit
Nov 24, 2013
It appears that the JGit bug was closed in early 2012. Has anyone been able to get this to work? Gerrit seems to still be ignoring url.insteadof in 2.7 |
|
| ► Sign in to add a comment |