My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 415: Can't add url into replication.config
1 person starred this issue and may be notified of changes. Back to list
Status:  CannotReproduce
Owner:  ----
Closed:  Jan 2010


Sign in to add a comment
 
Reported by phamngochai.a7@gmail.com, Jan 22, 2010
Affected Version:2.1
Environment:ubuntu 8.10 ,kernel 2.6.24.7

What steps will reproduce the problem?
1.add remote server with url 
2.restart Gerrit
3.But Gerrit Webside show "Failed to Connect"

How to replication to push to 2 Git repositories?
Can I help you? Detail, please!

replication.config
46 bytes   View   Download
error
3.7 KB   View   Download
Jan 23, 2010
#1 sop@google.com
As mentioned on repo-discuss list, you need to insert ${name} into your
URL, e.g.:

ssh://user@192.168.1.148:29418/home/user/Desktop/review/git/{name}.git/
Status: CannotReproduce
Jan 24, 2010
#2 phamngochai.a7@gmail.com
${name} is project's name ? 
I inserted : test123. Why ?
Jan 25, 2010
#3 phamngochai.a7@gmail.com
I inserted:
 ssh://user@192.168.1.148:29418/home/user/Desktop/review/git/test123.git/
 with "test123" is project's name
It's still not work
Who can help me? Detail

Jan 25, 2010
#4 sop@google.com
Gerrit Code Review expands ${name} in the URL into the project's
name when it reads the configuration file.  So it requires you to
have that placeholder in the URL, otherwise it can't perform the
replacement when it expects to do it.

So its required you enter a URL that contains ${name}.
Sign in to add a comment

Powered by Google Project Hosting