adding repository through web API

2011-07-13 Thread maciek borzecki
I'm trying to add ~50 repositories programmatically using web API. However, for some reason, even if I pass a valid rbsessionid in cookie, I get 405 Method Not Allowed. I'm doing POST on /review/api/ repositories with repository described as follows: {path: http:// 10.10.16.11/scm/git/wific.git,

Re: adding repository through web API

2011-07-13 Thread Maciek Borzecki
Uhh, my bad. I'm using 1.5, just noticed that adding repositories through web API came in 1.5.4. -- Maciek Borzecki On Wed, Jul 13, 2011 at 8:10 PM, Christian Hammond chip...@chipx86.com wrote: What version are you using, and are you logged into the API as an administrator? Christian

Re: adding repository through web API

2011-07-15 Thread Maciek Borzecki
passing {counts-only: true} as data, but got the list of all repositories instead of repository count. I'm not sure if there's something wrong with how simplejson encodes data or httplib passing data in request. But checking the request with wireshark it does seem to be valid. -- Maciek Borzecki

Re: adding repository through web API

2011-07-17 Thread Maciek Borzecki
). -- Maciek Borzecki On Fri, Jul 15, 2011 at 11:20 AM, Maciek Borzecki maciek.borze...@gmail.com wrote: Uhh went too fast, disregard the GET part, forgot to encode that in url, anyway the POST problem still holds, -- Maciek Borzecki On Fri, Jul 15, 2011 at 10:29 AM, Maciek Borzecki maciek.borze

Re: gitolite and ReviewBoard

2011-11-04 Thread Maciek Borzecki
hooks. -- Maciek Borzecki On Fri, Nov 4, 2011 at 3:06 AM, adrian ve...@veshi.com wrote: Hello -- We're having a hard time configuring ReviewBoard for use with Git repositories managed by gitlolite. One of the issues we see is that ReviewBoard executes a command like: $ git ls-remote g

Re: post-receive hook for Reviewboard?

2011-11-09 Thread Maciek Borzecki
imagine you do git rev-list to get a list of revs, then call post-review -p --guess-summary --guess-description, passing (http-)username, (http-)password and rev. With luck this might automatically create a review. -- Maciek Borzecki On Sun, Nov 6, 2011 at 3:12 PM, Daniel Dieckmann dicki

Re: post-review error

2011-11-15 Thread Maciek Borzecki
On Thu, Nov 10, 2011 at 4:16 PM, Krles antonin.nechva...@gmail.com wrote: Hello I would like you to ask about post-review. I've needed install RBtools on RHEL 3. RHEL in default has only python 2.2.3. Therefore I've installed python 2.4.6, setuptools 0.6c11 fo 2.4 and RBtools 0.34. After