Re: post-review failing from post-commit hook, but not when run manually

2012-08-22 Thread Peter Konneker
Is this a cvs or svn server?

I'm not familiar with this url format. So that is probably what it's
failing on.


 :pserver:kapilap@svn:/opt/cvsroot


How is your cvs/svn server setup? How do you access it remotely?

-Peter

On Wed, Aug 22, 2012 at 5:50 AM, cmuser kapila.ko...@gmail.com wrote:

 Thanks peter for your inputs tried your inputs but still failed.
 Here what i did-
 *[root@svn CVSROOT]# cat commitinfo*
 ALL  /opt/cvsroot/CVSROOT/postreview.sh

 *[root@svn CVSROOT]# cat /opt/cvsroot/CVSROOT/postreview.sh*
 echo Post-review for $1
 name=kapila
 path=`echo $PATH`
 export
 PATH=$path:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/javancss-32.53/bin:/opt/jdk1.7.0//bin:/usr/local/apache-ant-1.8.1//bin:/usr/local/apache-maven-2.1.0/bin:/usr/local/apr/bin:/usr/local/mysql/bin::/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/apache2/bin:/root/bin:/home/kapilacvs
 echo $PATH
 export HOME=/home/kapilacvs
 echo $HOME
 export GROUP=cvsdev
 /usr/bin/post-review -dn --server=http://172.16.37.170:81
 --submit-as=$name  --repository-url=:pserver:kapilap@svn:/opt/cvsroot

 *[root@svn CVSROOT]# id kapilap*
 id: kapilap: No such user (since its cvs pserver user)
 ~

 then i tried to commit
 [kapila.narang@svn ]$ ll /home/kapilacvs/test
 [kapila.narang@svn ]$ cvs -d :pserver:kapilap@svn:/opt/cvsroot ci -m
 BugID:47300 testing test/document.txt
 Post-review for /opt/cvsroot/test

 /bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/javancss-32.53/bin:/opt/jdk1.7.0//bin:/usr/local/apache-ant-1.8.1//bin:/usr/local/apache-maven-2.1.0/bin:/usr/local/apr/bin:/usr/local/mysql/bin::/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/apache2/bin:/root/bin:/home/kapilacvs
 /home/kapilacvs
  RBTools 0.4.1
  Home = /home/kapilacvs
 No supported repository could be accessed at the supplied url.
 A commit is occurring in /opt/cvsroot/test
 cvs commit: Pre-commit check failed
 cvs [commit aborted]: correct above errors first!


 Not able to understand what is causing error :(

-- 
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

Re: post-review failing from post-commit hook, but not when run manually

2012-08-21 Thread Peter Konneker
So first I set the path, home, and group variable and exported them from 
the svn hook.

export 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/$AUTHOR/bin
 export HOME=/home/$AUTHOR
 export GROUP=mygroup


If that doesn't work for you let me know. There's a ton of stuff I had to 
try to get my hook working the way I wanted, haha.

-Peter

-- 
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

Reviewer to close review request

2012-07-25 Thread Peter Konneker
Is there a permission that can be set on a user to allow them to close a 
review request that they are reviewing (instead of just the owner)?

We are trying to implement reviews with as little impact on work flow as 
possible, so making the owner go back and close the request after the 
review is done seems superfluous.

Thanks!

-Peter

-- 
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

Re: Reviewer to close review request

2012-07-25 Thread Peter Konneker
Okay. I tried playing with that, but will have to try again.  :)

So we have a post-commit hook running that is posting the review request,
then we want the reviewer to be able to come in, look at the code and close
it out. So the owner pushes up the code, then the review request is pushed
up automatically.

So hopefully we can get it working. Not too much trouble even if we can't,
though.

Thanks!

-Peter

On Wed, Jul 25, 2012 at 2:06 PM, Christian Hammond chip...@chipx86.comwrote:

 Yep, there's a Can Change Status permission you can set on a user that
 will allow them to do just that.

 Is it not the owner that's committing the code?

 Christian

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


 On Wed, Jul 25, 2012 at 12:53 PM, Peter Konneker pkonne...@wahoo.comwrote:

 Is there a permission that can be set on a user to allow them to close a
 review request that they are reviewing (instead of just the owner)?

 We are trying to implement reviews with as little impact on work flow as
 possible, so making the owner go back and close the request after the
 review is done seems superfluous.

 Thanks!

 -Peter

 --
 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

-- 
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

Re: post-review failing from post-commit hook, but not when run manually

2012-07-12 Thread Peter Konneker
Got it. Not sure which variable it needs, though.

On Wednesday, July 11, 2012 1:08:52 PM UTC-6, Peter Konneker wrote:

 Hey,

 I can run the command: 

 post-review -p --repository-url=file:///home/svn/repos/project 
 --revision-range=$PREV:$REV 
 --server=http://192.168.0.55--username='rbcommit' --password='pwd' 
 --submit-as=user --debug 
 --summary=$LOG1  /var/log/test.out 


 just fine manually, but when it runs from the post-commit hook it is 
 giving me the following output:

  RBTools 0.4.1
  Home =
 No supported repository could be accessed at the supplied url. 


 I assume this is a path or other environment error?

 Here's what I get from outputting env and then specifically $path

 PWD=/wahoo/home/myuser
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin




-- 
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

post-review failing from post-commit hook, but not when run manually

2012-07-11 Thread Peter Konneker
Hey,

I can run the command: 

 post-review -p --repository-url=file:///home/svn/repos/project 
 --revision-range=$PREV:$REV --server=http://192.168.0.55 
 --username='rbcommit' --password='pwd' --submit-as=user --debug 
 --summary=$LOG1  /var/log/test.out 


just fine manually, but when it runs from the post-commit hook it is giving 
me the following output:

  RBTools 0.4.1
  Home =
 No supported repository could be accessed at the supplied url. 


I assume this is a path or other environment error?

Here's what I get from outputting env and then specifically $path

 PWD=/wahoo/home/myuser
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


-- 
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

Re: Having trouble with post-review.

2012-07-06 Thread Peter Konneker
Any word?

On Tuesday, July 3, 2012 11:03:50 PM UTC-6, Christian Hammond wrote:

 Ignore that. The iPhone email client wasn't loading everything.

 I'll respond with something hopefully more useful when  back at my 
 computer.

 Christian



-- 
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

Re: Having trouble with post-review.

2012-07-06 Thread Peter Konneker
It's not giving me any more info.

We'll just run with it for now. If it comes up again we'll see if we can 
track the problem down in a smaller revision history.  :)

Thanks again for all your help.

-Peter

-- 
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

Re: Having trouble with post-review.

2012-07-03 Thread Peter Konneker
Yeah, it's an svn checkout.

I tried configuring it with svn+ssh, but it wasn't happy with that. I'll 
play with it some more and post if it's still not working.

Thanks!

On Tuesday, July 3, 2012 12:17:20 AM UTC-6, Christian Hammond wrote:

 What is wstartupapp? An SVN checkout?

 post-review requires a valid repository URL. This must be the same as that 
 configured on Review Board, so it likely would be http(s)/svn(+ssh)-based 
 (assuming SVN).

 Christian


-- 
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

Re: Having trouble with post-review.

2012-07-03 Thread Peter Konneker
When I try to configure the repository in reviewboard it keeps saying it 
can't find a valid repo.  This is looking for the server, isn't it? Not 
sure why it's failing.  :/

Here's a picture:

https://lh3.googleusercontent.com/-WeuZNZbKENY/T_NBXoh5gHI/AAM/qpEApFU_TZs/s1600/reviewboard.jpg

This is all correct as far as I can tell. I have pub/priv keys set up for 
ssh to make sure that wasn't the problem.


Sorry I'm being such a newb, haha. Really appreciate your help.


-Peter

-- 
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

Re: Having trouble with post-review.

2012-07-02 Thread Peter Konneker
Ah progress. It's not posting a diff, though. It's giving me this error:

 Got API Error 105 (HTTP code 400): One or more fields had errors
  Error data: {u'fields': {u'path': 
 [u'/home/reviewboard/wstartupapp/wstartupapp/build' is not a working 
 copy\n'/home/reviewboard/wstartupapp/wstartupapp/build' does not exist]}, 
 u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', 
 u'code': 105}}

-- 
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

Re: Having trouble with post-review.

2012-07-02 Thread Peter Konneker
No worries. Grateful for any help at all.

Here's the command: post-review -p 
--repository-url=/home/reviewboard/wstartupapp --revision-range=31272 
--submit-as=pkonneker --debug

running from the root of the checkout.

And here's the .reviewboardrc

#REPOSITORY = 'wstartupapp'
 GUESS_DESCRIPTION = 1
 GUESS_SUMMARY = 1
 USERNAME = 'user'
 PASSWORD = 'pwd'
 REVIEWBOARD_URL = 'http://localhost'


And here's the debug output

 RBTools 0.4.1
  Home = /home/reviewboard
  HTTP GETting api/
  HTTP GETting http://localhost/api/info/
  Using the new web API
 reviewbo...@trogdor.wahoo.com's password:
 reviewbo...@trogdor.wahoo.com's password:
 reviewbo...@trogdor.wahoo.com's password:
  HTTP GETting http://localhost/api/repositories/
  HTTP GETting http://localhost/api/repositories/1/
  HTTP GETting http://localhost/api/repositories/1/info/
  Attempting to create review request on /home/reviewboard/wstartupapp 
 for None
  Submitting the review request as pkonneker
  HTTP POSTing to http://localhost/api/review-requests/: {'submit_as': 
 'pkonneker', 'repository': '/home/reviewboard/wstartupapp'}
  Review request created
  Uploading diff, size: 87196
  HTTP POSTing to http://localhost/api/review-requests/5/diffs/: 
 {'basedir': '/'}
  Got API Error 105 (HTTP code 400): One or more fields had errors
  Error data: {u'fields': {u'path': 
 [u'/home/reviewboard/wstartupapp/wstartupapp/build' is not a working 
 copy\n'/home/reviewboard/wstartupapp/wstartupapp/build' does not exist]}, 
 u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', 
 u'code': 105}}
 Error uploading diff
 The generated diff file was empty. This usually means no files were
 modified in this change.
 Try running with --output-diff and --debug for more information.
 Your review request still exists, but the diff is not attached.


Can get the diff if you want. It's printing one out just fine. 

On Monday, July 2, 2012 3:56:13 PM UTC-6, Christian Hammond wrote:

 Hey Peter,

 Sorry, missed your previous e-mail.

 What's the command line you're using for this?

 Christian


-- 
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

Re: Having trouble with post-review.

2012-06-29 Thread Peter Konneker
Here's the tail end of the log file:

our.server:80 192.168.0.150 - - [27/Jun/2012:10:47:49 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:47:49 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:48:54 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:49:06 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:49:20 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:49:20 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:59:45 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:10:59:45 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:11:11:37 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:11:11:40 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:11:12:05 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [27/Jun/2012:11:12:08 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1
 our.server:80 192.168.0.150 - - [28/Jun/2012:15:48:35 -0700] GET 
 /192.168.0.55/api/ HTTP/1.1 404 4071 - RBTools/0.4.1
 our.server:80 192.168.0.150 - - [28/Jun/2012:15:49:12 -0700] POST 
 /192.168.0.55/api/json/accounts/login/ HTTP/1.1 404 4091 - 
 RBTools/0.4.1


Weird. Looks like it's asking for the same URL I am, but not getting it... 
 Here are my requests (if that's useful at all)

our.server:80 192.168.0.71 - - [28/Jun/2012:15:52:23 -0700] GET /api/ 
 HTTP/1.1 200 1309 - Mozilla/5.0 (Windows NT 6.1; WOW64) 
 AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5


On Thursday, June 28, 2012 5:37:34 PM UTC-6, Christian Hammond wrote:

 That's what I'd expect. I'm surprised by the response from post-review, 
 though. Can you check your Apache log files to look up the entry for that 
 404? I'm curious what URL post-review is actually accessing.

 Christian


-- 
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

Re: Having trouble with post-review.

2012-06-29 Thread Peter Konneker
I didn't make one since I wasn't sure where to put it, haha. That must be 
the problem.

Was running the command thusly: post-review --debug -p 
--repository-url=file:///home/svn/repos/repo --revision-range=31648 
--server=192.168.0.55 --username=user --password=pwd--submit-as=otherguy

Where exactly does the . reviewboardrc /root if it's running as root?

On Friday, June 29, 2012 12:42:01 PM UTC-6, Christian Hammond wrote:

 Can you show me your .reviewboardrc? It looks like it's sticking the IP 
 address in the URL, so I imagine it's formatted wrong.

 Christian


-- 
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

Re: Having trouble with post-review.

2012-06-29 Thread Peter Konneker
So how would you automate this from the post-commit hooks? Do you need a 
checkout somewhere to work from?

On Friday, June 29, 2012 2:44:28 PM UTC-6, Christian Hammond wrote:

 You're missing the http:// on the server.

 The .reviewboardrc should be in the root of the repository checkout, not 
 in /root.

 Christian


-- 
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

Fwd: Having trouble with post-review.

2012-06-28 Thread Peter Konneker
Seen several threads on this but no resolution.

We set up reviweboard on a server and are trying to post from a different
one with an svn server from a post-commit hook, but it's not authenticating
in when we try to post.

Here's the output when running on debug. Any help is much appreciated.

Thanks!

-Peter

 RBTools 0.4.1
 Home = /root
 HTTP GETting api/
 Got HTTP error: 404: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;



html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 head
  meta http-equiv=X-UA-Compatible content=IE=10; IE=9; IE=8; IE=7;
IE=EDGE /
  title404 - Page Does Not Exist | Review Board/title
  script type=text/javascript
var AJAX_SERIAL = 1337036178;
var MEDIA_SERIAL = 1337036243;
var MEDIA_URL = /media/;
var SITE_ROOT = /;
var gUserAuthenticated = false;

  /script
  link rel=shortcut icon type=image/x-icon
href=/media/rb/images/favicon.ico?1337036243 /
  link rel=apple-touch-icon-precomposed type=image/png
href=/media/rb/images/apple-home-icon.png?1337036243 /
  link rel=stylesheet type=text/css
href=/media/rb/css/common.css?1337036243 /
  !--[if lt IE 7.]
  style type=text/css
body {
  behavior: url(/media/rb/js/csshover2.htc?1337036243);
}
img,
table.sidebyside .commentflag,
.box.important .box-inner {
  behavior: url(/media/rb/js/pngfix.htc?1337036243);
}
  /style
  ![endif]--
  !--[if lt IE 8.]
  link rel=stylesheet type=text/css
href=/media/rb/css/ie_hacks.css?1337036243/script
  ![endif]--
script type=text/javascript
src=/media/rb/js/jquery-1.3.2.min.js/script

 /head
 body
  div id=container
   div id=headerbar
ul id=accountnav
 lia href=/account/login/?next_page=/192.168.0.55/api/Log
in/a/li


 li- a href=/account/register/Register/a/li

 li- a href=http://www.reviewboard.org/docs/manual/1.6/
Documentation/a/li
 li- a href=http://www.reviewboard.org/bugs/;Bugs/a/li
 li- a href=http://www.reviewboard.org/bugs/new/;Report
bug/a/li
/ul
br /
div id=rbinfo
 a href=/img id=logo src=/media/rb/images/logo.png?1337036243
alt= border=0 //a
 h1 id=title
  a href=/Review Board/a
  span class=version1.6.6/span
 /h1
/div
   /div
   div id=page-container


 div id=navbar-outer
  ul id=navbar
   lia href=/r/All review requests/a/li
   lia href=/groups/Groups/a/li
   lia href=/users/Submitters/a/li
   li id=searchbar
   input type=text name=q id=search_field  /

   /li
  /ul
 /div



noscript
div class=box-container
 div class=box important
  div class=box-inner
 h1JavaScript is turned off/h1
 pReview Board requires JavaScript in order to function.
 Please turn it on in your browser preferences.
 pFirefox users: if you prefer to turn on JavaScript only
 for specific sites, we recommend the
 a href=https://addons.mozilla.org/en-US/firefox/addon/722;NoScript
 extension/a./p
  /div
 /div
/div
/noscript
div id=error/div
div id=content
div class=box-container
 div class=box important
  div class=box-inner
h1The page you were looking for does not exist./h1
p
 If you're pretty sure this page idoes/i exist, try
 a href=/account/login/logging in/a and trying again.
/p
  /div
 /div
/div

/div
   /div
  /div
  script type=text/javascript
src=/media/rb/js/jquery-ui-1.6rc5.min.js/script
  script type=text/javascript
src=/media/rb/js/datastore.js?1337036243/script
  script type=text/javascript
src=/media/djblets/js/jquery.gravy.js?1337036243/script
  script type=text/javascript
src=/media/rb/js/ui.autocomplete.min.js?1337036243/script
  script type=text/javascript
src=/media/rb/js/common.js?1337036243/script
 /body
/html
 Using the deprecated Review Board 1.0 web API
== Review Board Login Required
Enter username and password for Review Board at 192.168.0.55/
 Logging in with username rbcommit
 HTTP POSTing to
http://192.168.0.55/192.168.0.55/api/json/accounts/login/: {'username':
'rbcommit', 'password': '**'}
 Got HTTP error: 404: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;



html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
 head
  meta http-equiv=X-UA-Compatible content=IE=10; IE=9; IE=8; IE=7;
IE=EDGE /
  title404 - Page Does Not Exist | Review Board/title
  script type=text/javascript
var AJAX_SERIAL = 1337036178;
var MEDIA_SERIAL = 1337036243;
var MEDIA_URL = /media/;
var SITE_ROOT = /;
var gUserAuthenticated = false;

  /script
  link rel=shortcut icon type=image/x-icon
href=/media/rb/images/favicon.ico?1337036243 /
  link rel=apple-touch-icon-precomposed type=image/png
href=/media/rb/images/apple-home-icon.png?1337036243 /
  link rel=stylesheet type=text/css
href=/media/rb/css/common.css?1337036243 /
  !--[if lt IE 7.]
  style type=text/css
body {
  behavior: url(/media/rb/js/csshover2.htc?1337036243);
}
  

Re: Having trouble with post-review.

2012-06-28 Thread Peter Konneker
Reviewboard is running on it's own server. So I basically just replaced the 
default apache config with reviewboard.

Looks like it's downloading an xml file?

?xml version=1.0 encoding=utf-8?
 rsp
  statok/stat
  uri_templates
   
 diff_commentshttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/replies/{reply_id}/diff-comments//diff_comments
   
 watched_review_groupshttp://192.168.0.55/api/users/{username}/watched/review-groups//watched_review_groups
   sessionhttp://192.168.0.55/api/session//session
   
 file_attachmentshttp://192.168.0.55/api/review-requests/{review_request_id}/file-attachments//file_attachments
   
 filehttp://192.168.0.55/api/review-requests/{review_request_id}/diffs/{diff_revision}/files/{filediff_id}//file
   
 replieshttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/replies//replies
   
 diffhttp://192.168.0.55/api/review-requests/{review_request_id}/diffs/{diff_revision}//diff
   
 screenshotshttp://192.168.0.55/api/review-requests/{review_request_id}/screenshots//screenshots
   
 watched_review_requesthttp://192.168.0.55/api/users/{username}/watched/review-requests/{watched_obj_id}//watched_review_request
   grouphttp://192.168.0.55/api/groups/{group_name}//group
   
 screenshothttp://192.168.0.55/api/review-requests/{review_request_id}/screenshots/{screenshot_id}//screenshot
   
 reviewhttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}//review
   
 watched_review_grouphttp://192.168.0.55/api/users/{username}/watched/review-groups/{watched_obj_id}//watched_review_group
   
 last_updatehttp://192.168.0.55/api/review-requests/{review_request_id}/last-update//last_update
   
 diff_commenthttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/replies/{reply_id}/diff-comments/{comment_id}//diff_comment
   
 drafthttp://192.168.0.55/api/review-requests/{review_request_id}/draft//draft
   
 replyhttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/replies/{reply_id}//reply
   
 review_requesthttp://192.168.0.55/api/review-requests/{review_request_id}//review_request
   
 fileshttp://192.168.0.55/api/review-requests/{review_request_id}/diffs/{diff_revision}/files//files
   
 review_drafthttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/draft//review_draft
   usershttp://192.168.0.55/api/users//users
   
 repositoryhttp://192.168.0.55/api/repositories/{repository_id}//repository
   
 file_attachment_commentshttp://192.168.0.55/api/review-requests/{review_request_id}/file-attachments/{file_attachment_id}/file-attachment-comments//file_attachment_comments
   watchedhttp://192.168.0.55/api/users/{username}/watched//watched
   
 screenshot_commentshttp://192.168.0.55/api/review-requests/{review_request_id}/screenshots/{screenshot_id}/screenshot-comments//screenshot_comments
   userhttp://192.168.0.55/api/users/{username}//user
   groupshttp://192.168.0.55/api/groups//groups
   
 file_attachmenthttp://192.168.0.55/api/review-requests/{review_request_id}/file-attachments/{file_attachment_id}//file_attachment
   
 changehttp://192.168.0.55/api/review-requests/{review_request_id}/changes/{change_id}//change
   infohttp://192.168.0.55/api/info//info
   
 diffshttp://192.168.0.55/api/review-requests/{review_request_id}/diffs//diffs
   searchhttp://192.168.0.55/api/search/{username}//search
   
 watched_review_requestshttp://192.168.0.55/api/users/{username}/watched/review-requests//watched_review_requests
   roothttp://192.168.0.55/api//root
   
 review_requestshttp://192.168.0.55/api/review-requests//review_requests
   
 file_attachment_commenthttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/file-attachment-comments/{comment_id}//file_attachment_comment
   repositorieshttp://192.168.0.55/api/repositories//repositories
   
 reviewshttp://192.168.0.55/api/review-requests/{review_request_id}/reviews//reviews
   
 reply_drafthttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/replies/draft//reply_draft
   
 screenshot_commenthttp://192.168.0.55/api/review-requests/{review_request_id}/reviews/{review_id}/screenshot-comments/{comment_id}//screenshot_comment
   
 changeshttp://192.168.0.55/api/review-requests/{review_request_id}/changes//changes
  /uri_templates
  links
   info
hrefhttp://192.168.0.55/api/info//href
methodGET/method
   /info
   search
hrefhttp://192.168.0.55/api/search//href
methodGET/method
   /search
   users
hrefhttp://192.168.0.55/api/users//href
methodGET/method
   /users
   self
hrefhttp://192.168.0.55/api//href
methodGET/method
   /self
   repositories
hrefhttp://192.168.0.55/api/repositories//href
methodGET/method
   /repositories
   session
hrefhttp://192.168.0.55/api/session//href
methodGET/method
   /session
   groups
hrefhttp://192.168.0.55/api/groups//href
methodGET/method
   /groups
   review_requests