Merging ReviewBoard databases

2014-02-12 Thread Stephen Gallagher
So, I suspect this is going to be a tricky situation to solve: I've been hosting a Review Board instance on Red Hat's public OpenShift for quite a while while we worked on getting a supported version hosted in the Fedora Hosted infrastructure. There are now over 1500 reviews in this OpenShift inst

Error with rbt post and hg

2014-02-12 Thread Kapil Anand
Hi, I apologize for posting it again, I think my previous post got buried down. I am getting a failure while uploading diff file using rbt post command. I have configured a bitbucket repo on ReviewBoard. The server is running on my local host. My .reviewboardrc looks as follows: REVIEWBOAR

Failure authenticating

2014-02-12 Thread Gong Zhang
I am working on a extension which will send HTTP requests to ReviewBoard. But I got a "Failure authenticating with BASIC 'Web API'" error, and that means my authentication failed with ReviewBoard, I do look at the API instruction but still have no idea with this error. The username I used to ma

Re: Error with rbt post and hg

2014-02-12 Thread Christian Hammond
The "error" is coming from whatever's serving up your Mercurial repo that Review Board is talking to. Check your reviewboard.log file and see if anything stands out. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbagi

Push Based Workflow

2014-02-12 Thread Steven MacLeod
Hi everyone, Over the weekend Mike Conley and I hacked together a little project to allow posting code for review using a push based workflow. The idea is to allow for code to be pushed to a special "reviews" clone which handles creating the review requests. This only took a few hours to throw to

Re: Error with rbt post and hg

2014-02-12 Thread David Trowbridge
I think it's actually due to an old hg. You said in your previous email that you were using 2.0.2. Can you upgrade to a more recent release? -David On Wed, Feb 12, 2014 at 11:22 AM, Christian Hammond wrote: > The "error" is coming from whatever's serving up your Mercurial repo that > Review Boa

Re: Failure authenticating

2014-02-12 Thread David Trowbridge
Can you explain more what you were doing when you got that error? What URL are you trying to access? How are you accessing it? -David On Wed, Feb 12, 2014 at 9:11 AM, Gong Zhang wrote: > I am working on a extension which will send HTTP requests to ReviewBoard. > But I got a "Failure authentica

Re: Failure authenticating

2014-02-12 Thread Gong Zhang
> > Never mind, I just figured out that that`s something wrong with my > extension. I am trying to access the /api/review-requests/#/reviews and do > a post operation. The WEB API works well, I just can not make my > authentication right. Thanks anyway! > -- Get the Review Board Power Pack at

Re: The current directory does not contain a checkout... (problem posting from perforce)

2014-02-12 Thread Greg Dean
Hi there, I've updated to 0.5.7 and I'm running from cygwin and I get the same result. Can rbt be run from cygwin? Here is what I get: $ rbt post -d -o 299074 DEBUG:root:Checking for a Subversion repository... DEBUG:root:Checking for a Git repository... DEBUG:root:Checking for a Mercurial reposi

Re: Error with rbt post and hg

2014-02-12 Thread Kapil Anand
I updated hg to hg 2.9 on ubuntu, but I was still getting the same problem. I looked at the .log file and error does seem to be related to bitbucket (where the repo is hosted) *2014-02-13 05:43:21,606 - DEBUG - - Initialized HgWebClient with url=u'https://ka...@bitbucket.org/kapil/test-reviewboar

Re: Adding gitlab account error

2014-02-12 Thread Christian Hammond
We're working on a better repository form that will be a lot easier to use, and automatically determine many of the fields, but in the meantime, I'll make a note to improve the help text. Service URL is the path to the root of your GitLab server. Same with the URL field for the bug tracker. (I kno

Re: Adding gitlab account error

2014-02-12 Thread Greg
I'm having this same problem with GitLab. :-( Running Debian Jessie and PyCrypto 2.6.1. Help very much appreciated. Also: it's great that this supposedly supports gitlab, but I have no idea what to put into the fields, and the documentation isn't helpful at all. What goes into "Service URL"? W

memcached failing with unix socket

2014-02-12 Thread Greg
I first setup my site to use files as caching, but then the docs convinced me to change to memcached. I set the value for memcaches location to: unix:/tmp/memcached.sock It saved, and the site continued to work for a while (including the admin area), but all of a sudden it stopped work

Re: Adding gitlab account error

2014-02-12 Thread Greg
Thanks for the quick reply Christian. paramiko 1.12.1. Site is being started like so: rb-site manage /path/to/site.com runfcgi daemonize=false host=localhost port=8025 Also, having problems with memcached, but for that I created another thread, hope you can help there too. Thanks, Gr

Re: memcached failing with unix socket

2014-02-12 Thread Christian Hammond
Hi Greg, Review Board expects the usage of an address:port. This will generally be localhost:11211. It's a bug that the socket doesn't work (and should probably be filed), but the address:port is the more typical way of configuring memcached anyway, so it's still a better bet. Christian -- Chr

Re: Adding gitlab account error

2014-02-12 Thread Christian Hammond
Hi Greg, We're running the same versions of PyCrypto and Paramiko, but I haven't managed to reproduce the problem. It's possible it has something to do with fastcgi. These days, wsgi is the better supported option (really across the board on all Python-based webapps). We've seen various issues wi

Re: memcached failing with unix socket

2014-02-12 Thread Greg
OK... well, in that case I'll need to change the setting anyway. How can I change it if it crashes every time I try to? Also, for now I'll probably stick to using "files", so it'd be greatly appreciated if you could explain (or point me to an explanation), of how I can change this setting (for

Re: Adding gitlab account error

2014-02-12 Thread Greg
So what does that mean for nginx users? I already spent a day getting this thing working with nginx. :-\ -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Feb 13, 2014, at 12:55 AM, Christian Hammond wrote: > Hi Greg, > > We're running the same ver

Re: memcached failing with unix socket

2014-02-12 Thread Christian Hammond
I'd expect that you'd still be able to reach the General Settings page at http:///admin/settings/general/. Does that also result in an error page? If it does work, you can switch to file-based caching or change the memcached address from there. Christian -- Christian Hammond - chip...@chipx86.c

Re: Adding gitlab account error

2014-02-12 Thread Christian Hammond
The generally recommended setup is to use Apache with mod_wsgi, but there's also wsgi support for nginx, plus services like gunicorn or uwsgi (though we don't provide any official support for these). I don't know for a fact that fastcgi is the culprit. It's just the one thing that stood out from w

Re: Adding gitlab account error

2014-02-12 Thread Greg
Err... what's the reason for rbssh? I think I have password authentication turned off with ssh (requires key). $ rbssh u...@host.com /usr/local/lib/python2.7/dist-packages/paramiko-1.12.1-py2.7.egg/paramiko/client.py:95: UserWarning: Unknown ssh-rsa host key for host.com: f315ab3debbdf29ae833df

Re: Adding gitlab account error

2014-02-12 Thread Christian Hammond
What's the reason we use rbssh instead of ssh? We need more control over the environment and SSH keys than ssh allows for. So.. wait, let's take a step back. Are you using a GitLab repository here, or are you specifying a standard Git repository and pointing to the local path, or are you specifyin

Re: Adding gitlab account error

2014-02-12 Thread Greg
> So.. wait, let's take a step back. Are you using a GitLab repository here, or > are you specifying a standard Git repository and pointing to the local path, > or are you specifying an SSH or git protocol path? The first two (and potentially third, but that seems like the least convenient of t

Re: Adding gitlab account error

2014-02-12 Thread Christian Hammond
Okay. There's something I want to have you try to rule out fastcgi. We're going to run Review Board's single-threaded devserver and see if it's susceptible to the same problem. That will help narrow down if it could be fastcgi or if it's definitely not. Run: rb-site manage /path/to/site runse