Hi Eric,

To fix the matching of repositories, you can leave out Mirror Path and just use 
`REPOSITORY = '<name>` in .reviewboardrc, as you've noted. This is the 
recommended way of matching repositories and configuring RBTools.

I'd also recommend using a SSH URL along with a configured SSH key, instead of 
HTTP paths, as the former is more secure and shouldn't require specifying a 
password in the Path field.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Eric Johnson <e...@tibco.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: March 27, 2015 at 11:00:19 AM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  Confusion about Git configuration

> Hi ReviewBoard Devs,
>  
> Using ReviewBoard 1.7.28.
>  
> When adding/changing an HTTP hosted Git repository (using Gitolite), I've
> found that I have to configure the repository with the following pattern:
>  
> Path: http://username:passw...@gitserver.example.com/git/git-repo-path
>  
> Mirror path: http://gitserver.example.com/git/git-repo-path
>  
> Raw file URL mask:
> http://gitserver.example.com/git/?p=git-repo-path.git;a=blob_plain;f=
> ;h=
>  
> Username: username
>  
> Password: password
>  
> ----
> Obviously, where username & password are set to the correct values.
>  
> It seems like a bug to me that I must specify the username and password in
> the URL. I've tried removing them, but then ReviewBoard refuses to add /
> save the repository. When the "Path" is configured with the user name and
> password, rbt post doesn't find the "repository" unless I also set the
> Mirror path, or unless REPOSITORY is set to the name of the ReviewBoard
> repository in .reviewboardrc
>  
> Is there any way to get the username & password out of the Path URL?
>  
> Thanks!
>  
> Eric.
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/  
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups 
> "reviewboard"  
> group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.  
> For more options, visit https://groups.google.com/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to