I have a problem to make RB working with remote https repository(-

1. Go to RB admin page.
2. Repositories -> Add repository.
3a. When I add in the form this URL as "Path" 
and click "Save" RB waits for ever for reply and on the server where
repository is hosted I get:

192.**.**.*** - - [10/Feb/2011:14:22:10 +0200] "GET /git/dir/repo/info/
refs?service=git-upload-pack HTTP/1.1" 401 700 "-" "git/"

You can see that username was not passed and 401 was returned. Even
thou I put user name and password in "Add repository" form under
correct fields.

3b. When on other hand I add in the form as "Path" this URL
https://USERNAME:PASSWORD@repository-url/git/dir/repo , on repository
server I get:

192.**.**.*** - czlowiekwidmo [10/Feb/2011:14:22:10 +0200] "GET /git/
dir/repo/info/refs?service=git-upload-pack HTTP/1.1" 200 527 "-" "git/"
192.**.**.*** - czlowiekwidmo [10/Feb/2011:14:22:10 +0200] "GET /git/
dir/repo/HEAD HTTP/1.1" 200 243 "-" "git/"

So you can see my username and password was passed and repository was
added successfully.

With this approach it is bad that user/pass is exposed on Admin page
and in DB. And that RB does not use "username" and "password" from the

I looked into scmtools/git.py and couldn't see how username and
password are used there, I don't know if missed it or just couldn't
see it.

Did any one had this problem? Am I doing something wrong? Or is it how
RB works? Also is username and password used sometime later when user
submits a review and RB is connecting to repository 
will it succeed if usernam and pass are not in the Path itself?

I hope I explained it clear enough. Any help, comments or explanations
are welcome.

Thanks in advance,

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to