Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1583 by jacob.kaplanmoss: Review Board doesn't work with private Mercurial repositories
http://code.google.com/p/reviewboard/issues/detail?id=1583

Bitbucket has authentication issues with private repositories, which makes Reviewboard (1.5 beta 2) fail
when posting reviews against private repositories.

I *think* this is a Bitbucket problem, so I've filed an issue over there:
http://bitbucket.org/jespern/bitbucket/issue/1812/. However, if it can't be fixed on the Bitbucket
side it might be nice to add a work-around here.

In a nutshell, Bitbucket isn't responding with an HTTP 401/WWW-Authenticate when accessing files from a private repository; this causes post-review to fail with an error message about the patched file not being found in the repository. The error message is misleading, actually: the problem really is that
the request for the file returns an HTTP 403.

I'll try to come up with a workaround and post a patch myself, but my naive attempt (always sending authentication data instead of waiting for a HTTP 401) isn't working. I think a better workaround would be to make Reviewboard use SSH when accessing private Bitbucket repositories, but I'm not yet familier
enough with Reviewboard to see exactly how to do that.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to