On 24 Jun 2024, at 15:38, Kenny Ho <y2k...@gmail.com> wrote:Hi Luca,I think I am missing something really obvious. If I want to mirror https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ into gerrit with pull-replication plugin, what would the config look like? (or is pull-replication the wrong tool to use?)
KennyOn Tuesday, June 18, 2024 at 12:59:52 AM UTC-4 Kenny Ho wrote:ok, so if I specify remote.NAME.url to "remote-host.xyz/org/projectA.git", where would I specify "mirror/upstream/project-a"?KennyOn Monday, June 17, 2024 at 7:35:27 PM UTC-4 Luca Milanesio wrote:
> On 17 Jun 2024, at 22:58, Kenny Ho <y2k...@gmail.com> wrote:
>
> ok... so I must be missing some part of the documentation.
>
> If I have a "remote-host.xyz/org/projectA.git" and want to put it into local gerrit project named "mirror/upstream/project-a", how should I make the configuration? I guess I am confused about where ${name} gets its value if it's not NAME (that's why I speculated about refs/meta/config but I guess that's not correct.)
{name} is the local project name that you can use for associating to the remote repository.
If your local project name is 'mirror/upstream/project-a’ and the remote project name 'org/projectA.git’ then I don’t see much in common.
In that case, you can’t use the {name} in the URL I believe.
Luca.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/cf859445-9739-4b19-ba99-62f409369ebbn%40googlegroups.com.