Review Board installed and working, but all other sites on server inaccessible (404)

2009-01-29 Thread Stodge
I installed Review Board to /rb on my server and it's working so far. But all of my other sites are now not accessible. For example if I go to /trac, which is my Trac development environment, I get: Page not found (404) Request Method: GET Request URL:http://mybox/trac Using the URLconf defin

Re: Review Board installed and working, but all other sites on server inaccessible (404)

2009-01-29 Thread Stodge
Thanks that seems to do the trick. On Jan 29, 3:23 pm, Harsha Ramesh wrote: > On 30-Jan-09, at 00:04 , Stodge wrote: > > > > > I installed Review Board to /rb on my server and it's working so far. > > But all of my other sites are now not accessible. For example i

Can't get Subversion pre commit hook to work

2009-01-29 Thread Stodge
I'm trying to get Review Board working with Subversion & pre-commit hooks. I've copied the files postreview.py (maybe should be named createreview.py!), review-board-pre-commit-hook.py to my hooks directory. I've changed pre-commit to: REPOS="$1" TXN="$2" REVIEWBOARD_HOOK=/srv/svn/support/hooks/

CSS and media not loaded when run using rb-site manage / runserver?

2010-02-03 Thread Stodge
Ok dunce question of the day. I installed ReviewBoard onto my Fedora laptop. I just want to play around with it without configuring Apache for now so I'm just using: rb-site manage /var/www/sites/reviews runserver 0.0.0.0:9900 to start RB. However, none of the media or CSS are loaded. Now I'm st

Re: CSS and media not loaded when run using rb-site manage / runserver?

2010-02-03 Thread Stodge
Thanks - much appreciated! On Feb 3, 6:07 am, Christian Hammond wrote: > Hi Stodge, > > runserver is meant for development, and the development server doesn't by > default support any static media, such as CSS or images. Normally, it's best > for a real web server to

Unable to find a Review Board server for this source code tree

2010-02-03 Thread Stodge
I read a few posts with this error but none seem to help. My Mercurial repository is at http://localhost/hg/indigo. I know that works 100%. My ReviewBoard install is at http://localhost:9900/reviews and I know that works 100%. My Mercurial repository is located on disk in /var/www/sites/indigo,

code 206 with Mercurial

2010-02-03 Thread Stodge
I'm trying to get Review Board working with a local Mercurial repository. My hg repository is: http://localhost/hg/indigo and it's on disk at /var/www/sites/indigo So I do: cd /var/www/sites/indigo post-review --repository-url=http://localhost/hg/indigo --revision- range=1:2 --username=admin -

global name 'ClientError' is not defined

2010-02-03 Thread Stodge
I'm getting a ClientError when creating a review request for a remote SVN repository. I have the following versions: pysvn v1.6.1.0 Python 2.5.2 Is my version of pysvn too old? Or am I missing something else? Thanks post-review --repository-url=http://IP_ADDRESS/repos/support -- revision-range=2

Re: global name 'ClientError' is not defined

2010-02-03 Thread Stodge
Looks like I may have forgotten to restart Apache. On Feb 3, 9:47 am, Stodge wrote: > I'm getting a ClientError when creating a review request for a remote > SVN repository. I have the following versions: > > pysvn v1.6.1.0 > Python 2.5.2 > > Is my version of pysv

Re: Unable to find a Review Board server for this source code tree

2010-02-04 Thread Stodge
here: > > http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/#r... > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Wed, Feb 3, 2010 at 4:58 AM, Stodge wr

Multiple diffs per review?

2010-02-04 Thread Stodge
Am I right in thinking that a review can only refer to a single diff (where a diff may contain multiple changesets/revisions)? And uploading a new diff will replace the existing one with a newer version? If my understanding is right, we need to be able to group multiple revisions on one review. Fo

Re: Multiple diffs per review?

2010-02-04 Thread Stodge
02-04 10:13, Stodge wrote: > > > Am I right in thinking that a review can only refer to a single diff > > (where a diff may contain multiple changesets/revisions)? And > > uploading a new diff will replace the existing one with a newer > > version? > > Yes. > >

Is it possible to specify a change number/revision for an SVN repository when creating a review request via json?

2010-02-05 Thread Stodge
Is it possible to specify a change number/revision for an SVN repository when creating a review request via json? I'm guessing not but I wanted to check. ERROR:root:Exception thrown for user admin at http://localhost:9900/reviews/api/json/reviewrequests/new/ Traceback (most recent call last): F

Re: Is it possible to specify a change number/revision for an SVN repository when creating a review request via json?

2010-02-09 Thread Stodge
> Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Fri, Feb 5, 2010 at 10:56 AM, Stodge wrote: > > Is it possible to specify a change number/revision for an SVN > > repository when creating a review request via json? I'm guessing n

Review Board's SVN post-commit hook - post-review cannot write to the cookie file

2010-02-15 Thread Stodge
I installed the SVN post-commit from review board's contrib directory. I'm running into a problem that doesn't make sense. When the hook runs I get an error; [Errno 13] Permission denied: '.post-review-cookies.txt'#012 So initially it does make sense - it's trying to create the cookie file in my

Re: Review Board's SVN post-commit hook - post-review cannot write to the cookie file

2010-02-15 Thread Stodge
'HOME': '/tmp', }) This works nicely but I don't understand why I have to do it. Is anyone using this particular script? On Feb 15, 11:03 am, Stodge wrote: > I installed the SVN post-commit from review board's contrib direct

Review Board and remote user middleware/backend - user not forced to enter first/last names and email address

2010-02-22 Thread Stodge
I'm using the remote user middleware/backend to support basic http authentication: 'django.contrib.auth.middleware.RemoteUserMiddleware', and it seems to work nicely with Review Board. Apache forces a user to login and then this middleware/backend automatically creates the user in Django. The use

Re: Review Board and remote user middleware/backend - user not forced to enter first/last names and email address

2010-02-22 Thread Stodge
Thanks. So I would need to write a custom backend/middleware instead? On Feb 22, 3:20 pm, Stephen Gallagher wrote: > On 02/22/2010 03:10 PM, Stodge wrote:> I'm using the remote user > middleware/backend to support basic http >

Re: Review Board and remote user middleware/backend - user not forced to enter first/last names and email address

2010-02-23 Thread Stodge
I have a custom middleware: http://python.pastebin.com/wAcCNsTE I blank out the names and email address but this doesn't help. Is there something else I should be doing in my middleware? Thanks On Feb 22, 3:20 pm, Stephen Gallagher wrote: > On 02/22/2010 03:10 PM, Stodge wrote:> I&

Re: Review Board and remote user middleware/backend - user not forced to enter first/last names and email address

2010-02-23 Thread Stodge
Ah - I think it's because I was still using the RemoteUserBackend. I disabled that and it seems to work ok. On Feb 23, 9:48 am, Stodge wrote: > I have a custom middleware: > > http://python.pastebin.com/wAcCNsTE > > I blank out the names and email address but this does

Create a repository via API? Alternatives?

2010-02-24 Thread Stodge
Is there a way to create a repository in review board using the API? I can't see anything in the API docs. This is for a script I maintain that administers our development server - it automates creating Trac projects and now RB sites. Also I thought I could import the review board environment and

Re: Create a repository via API? Alternatives?

2010-02-24 Thread Stodge
For now I'm just directly modifying the DB, though that's kind of naughty! On Feb 24, 10:18 am, Stodge wrote: > Is there a way to create a repository in review board using the API? I > can't see anything in the API docs. This is for a script I maintain > that administer

SVN post-commit hook for RB - problem logging into RB site via http authentication

2010-02-24 Thread Stodge
My review board site is protected by Apache's basic authentication. So when I run the SVN post-commit hook for review board (from RBTools) it's asking me for a username/password to login to the RB site. I thought this was all taken care of by the post-review script? Or does that only handle logging

Re: Create a repository via API? Alternatives?

2010-02-24 Thread Stodge
;http://localhost/trac/"; + project + "/ticket/%s", "") try: db.query(q) except pg.ProgrammingError, e: print(str(e)) On Feb 24, 1:18 pm, Stephen Gallagher wrote: > Would you be willing to share yo

Re: SVN post-commit hook for RB - problem logging into RB site via http authentication

2010-02-24 Thread Stodge
eviewboard_url self.rb_user = options.username self.rb_pass = options.password On Feb 24, 1:45 pm, Stodge wrote: > My review board site is protected by Apache's basic authentication. So > when I run the SVN post-commit hook for review board (from RBTools) > it's ask

post-review works from command line, fails from svn hook

2010-02-24 Thread Stodge
I'm trying to get the post-review script working from the svn hook but I'm getting a weird error: ./rb-post-commit-hook /srv/svn/fred 11 /usr/bin/post-review --repository-url=file:///srv/svn/fred -- username=admin --password=admin -p --submit-as=mike --revision- range=10:11 --server=http://local

Re: post-review works from command line, fails from svn hook

2010-02-25 Thread Stodge
viewboard.org > VMware, Inc. -http://www.vmware.com > > On Wed, Feb 24, 2010 at 6:01 PM, Stodge wrote: > > I'm trying to get the post-review script working from the svn hook but > > I'm getting a weird error: > > > ./rb-post-commit-hook /srv/svn/fred 11 > >

Re: SVN post-commit hook for RB - problem logging into RB site via http authentication

2010-02-25 Thread Stodge
doesn't handle HTTP authentication. I'd be perfectly happy to > accept a patch that adds --http-username and --http-password. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com >

Re: post-review works from command line, fails from svn hook

2010-02-25 Thread Stodge
o: svn diff --old=file:///srv/svn/fred/@10 --new=file:///srv/svn/fred/@11 '' '' '' Index: trunk/README.txt I just don't know what this means. On Feb 25, 7:11 am, Stodge wrote: > I'm using SVN version 1.6.9. > > On Feb 24, 9:51 pm, Christian

Re: SVN post-commit hook for RB - problem logging into RB site via http authentication

2010-02-25 Thread Stodge
I created an enhancement request http://code.google.com/p/reviewboard/issues/detail?id=1514 with an attached patch. First ever patch so be kind! On Feb 25, 7:43 am, Stodge wrote: > This is the simplest patch: > > 261,262c261,262 > <         self.rb_user = None > <      

Re: post-review works from command line, fails from svn hook

2010-02-25 Thread Stodge
, revision, base_path, reviewid] + +# Filter out blank arguments. +args = [elem for elem in args if len(elem) > 1] # if not updating an existing review, add extra arguments if len(reviewid) == 0: @@ -234,3 +237,4 @@ if __name__ == '__main__': main() On Feb 25, 7:

Re: post-review works from command line, fails from svn hook

2010-02-25 Thread Stodge
arguments. +args = [elem for elem in args if len(elem) > 1] + if DEBUG: args += ['-d', '--output-diff'] print [os.path.join(POSTREVIEW_PATH, 'post-review')] + args @@ -234,3 +237,4 @@ if __name__ == '__main__': main() +

Re: How to customize :: Add a new field to each review comment

2010-02-26 Thread Stodge
Could you use the django-tagging application? I'm not sure if that would help but I thought I'd suggest it. On Feb 7, 6:53 pm, B S Srinidhi wrote: > Hi, > > I'm fairly new to ReviewBoard (and Django :) and need some help in > customizing RB for an internal deployment. > > I would like to introduc

Cannot create new review requests on the RB review site web ui or post-review

2010-03-01 Thread Stodge
I'm trying to upload a patch to the RB site for review. So far I've tried using the web interface and post-review but nothing works. post-review gives: post-review --server=http://reviews.reviewboard.org --diff- filename=svn-hook-postcommit-review.patch --repository-url=git:// github.com/reviewb

Re: Cannot create new review requests on the RB review site web ui or post-review

2010-03-01 Thread Stodge
Ironic! Thought I'd try it again for no good reason and it works. Go figure. On Mar 1, 7:42 am, Stodge wrote: > I'm trying to upload a patch to the RB site for review. So far I've > tried using the web interface and post-review but nothing works. > > post-review give

http://pypi.python.org/simple/ReviewBoard/ has references to wrong site

2010-03-02 Thread Stodge
Looks like http://pypi.python.org/simple/ReviewBoard/ still contains references to the old http://www.review-board.org site? I have a shell script that install Review Board using easy_install and I accidentally removed the version 1.0.5.1 from it so it could never install RB or RBTools. Any chance

Re: http://pypi.python.org/simple/ReviewBoard/ has references to wrong site

2010-03-03 Thread Stodge
nt. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Tue, Mar 2, 2010 at 11:40 AM, Stodge wrote: > > Looks likehttp://pypi.python.org/simple/ReviewBoard/still c

Re: Create a repository via API? Alternatives?

2010-03-03 Thread Stodge
site directory. So, you'd be able to > write a script that is pre-bootstrapped and had full access to the database. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > O

Re: Create a repository via API? Alternatives?

2010-03-03 Thread Stodge
Go figure; this seems to work: sys.path.append("/srv/reviews/test/conf") os.environ['DJANGO_SETTINGS_MODULE'] = 'settings_local' from django.contrib.auth.models import User users = User.objects.all() for user in users: print user.username On Mar 3, 1:17 pm

ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
I know this is a silly question, but how do I install and use the ereviewboard for Eclipse? I downloaded the software but I don't know how to tell Eclipse to use/find it. Any suggestions appreciated. Thanks -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/don

Re: ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
yes > Sr. Web Developer | Disney Family > Disney Interactive Media Group > 818-623-3847 > AIM/YIM/gTalk: mrkylehayes > > "It's kind of fun to do the impossible." -Walt Disney > > -Original Message- > From: reviewboard@googlegroups.com [mailto:reviewbo.

Re: ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
ctive Media Group > 818-623-3847 > AIM/YIM/gTalk: mrkylehayes > > "It's kind of fun to do the impossible." -Walt Disney > > -Original Message- > From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On > Behalf Of Stodge > Sent: Wedn

Re: ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
gt; > -Original Message- > From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On > Behalf Of Stodge > Sent: Wednesday, March 24, 2010 8:50 AM > To: reviewboard > Subject: Re: ereviewboard plugin for Eclipse > > Haha! Good question. To be honest I need t

Re: ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
Forgot to say that our RB server is protected by Apache basic authentication with mod-python. On Mar 24, 12:01 pm, Stodge wrote: > I'll debug it but I don't have the time right now. Maybe I should > raise an issue on the github site. > > On Mar 24, 11:53 am, "Hayes,

Re: ereviewboard plugin for Eclipse

2010-03-24 Thread Stodge
's kind of fun to do the impossible." -Walt Disney > > -Original Message- > From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On > Behalf Of Stodge > Sent: Wednesday, March 24, 2010 9:07 AM > To: reviewboard > Subject: Re: ereviewboard plu