Hi Sebastien,

The best thing to do is to move to named repositories, by creating a
.reviewboardrc and doing:

    REPOSITORY = "my repo name"

Where "my repo name" is the exact name for the repository entry in Review
Board. That way, it won't have to do path comparisons.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, Sep 7, 2011 at 5:02 AM, Sebastien Douche <sdou...@gmail.com> wrote:

> Hi folks,
> I don't understand how post-review extracts the path of the repository.
>
> Ex:
> $ ./bin/post-review
> ...
> The repository path "ssh://<server>/srv/git/vendor/rbtools.git" is not in
> the
> list of known repositories on the server.
>
> Right, the repository is path + repo_name
> (/srv/git/vendor/rbtools.git) and not server_url + path + repo_name.
>
> Did I missed something?
>
> PS: I use server alias:
> [url "ssh://<server>/srv/git"]
> insteadOf = sact:
>
> So, automatic url / path extraction doesn't work. A better way could
> be to add a reviewboard configuration in gitconfig the like this:
> [reviewboard]
> path = /srv/git/repo_name.git
>
> I've a patch for that.
>
> --
> Sebastien Douche <sdou...@gmail.com>
> Twitter : @sdouche
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to