Re: Set up API for review board
hi Christian, I have done the installation of review board on open suse. I have created the new site too. Everything till this is done successfully. I am using the command prompt version of Linux OpenSuse. But I am having the issue in How to use the created site. I wish to know any more things to be done after this and How to open that in a browser. By just typing the site name in the browser its is not coming as a review board setup. please help me in this .. Regards, Arun. On Mar 27, 2:53 am, Christian Hammond chip...@chipx86.com wrote: Hi Arun, I'm not sure what you mean. Can you elaborate? A valid Review Board install already exposes an API. I don't know what you mean by setting up an API. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Mon, Mar 26, 2012 at 5:55 AM, arun kovai singaiarun...@gmail.com wrote: Hi , I have installed review board on OpenSuse Linux environment as a Virtual machine setup . Installtion is successfull and and the site has been created with mySQL Database. Now I have to setup API for reviewboard which I have installed. Can any of you please sugest me the link where I can get notes for setting API for reviewboard. Thanks in Advance, Regards, Arun. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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: Unable to get post-review to recognise a P4 repository
I don't have SVN installed in any form (command line, TortoiseSVN etc.) so 'svn info' just generates what I'd expect. 'svn' is not recognized as an internal or external command, operable program or batch file. The only other VC system I have installed is Hg, and I'm as far away as possible from any other those repositories. There are no SVN files or files with SVN in their name anywhere in my P4 repository. Lee On Monday, 26 March 2012 16:00:49 UTC+1, Lee Winder wrote: I'm trying to run post-review within a Perforce workspace without any success. I believe I've read all the available documentation and spent the day investigating other peoples similar problems with should have helped but don't seem to. The main problem seems to be that it doesn't know there is a P4 workspace available and is defaulting to an SVN repository (which then fails because I don't have SVN installed at all). I'm assuming SVN is the default if it doesn't find any other repository type? The error I'm getting on every attempt is the following GNU diff is required for Subversion repositories. Make sure it is installed and in the path. On Windows, you can install this from: http://gnuwin32.sourceforge.net/packages/diffutils.htm I've tried various ways to set the P4 properties to give post-review a nudge in the right direction. Initially I set all environment variables (P4PORT, P4USER, P4CLIENT, P4PASSWD) - something I'm not happy doing as it doesn't scale past working on a single P4 repository, which I'm not doing. So the process I'm going through Browse to folder within a workspace post-review my change set no. Generates the error GNU diff is required for Subversion repositories. Make sure it is installed and in the path. On Windows, you can install this from: http://gnuwin32.sourceforge.net/packages/diffutils.htm I've set up a counter to the reviewboard address - does it matter that my address is simply the format http://reviewboard (no trailing .com or anything). reviewboard.url = http://my reviewboard address My server version is Server version: P4D/LINUX26X86_64/2011.1/409024 (2012/01/25) Apparently this may be a problem so I've followed the suggestion here and modified the regex to parse the server version https://groups.google.com/forum/#!msg/reviewboard/jGQN3EEUGGg/2ys8zW8G4VgJ Still generates the SVN error. If I remove the environment variables, p4 info still produces the right infomation about my client etc. So I tried to use .reviewboardrc (setting REPOSITORY, REVIEWBOARD_URL, P4_CLIENT, P4_PASSWD, P4_PORT) in both the folder I was trying to generate the review from and the root of my client workspace but the same error persists. If I run post-review with the -d flag I get the following output before the error RBTools 0.4.1 Home = C:\Users\winderl\AppData\Roaming So I dropped the .reviewboardrc file in C:\Users\winderl\AppData\Roaming, in-case it was looking in there but that didn't help either. So I finally tried the command line options --p4-client, --p4-passwd and --p4-port. I don't think you'll be suprised to find out it did the same thing. So I'm obviously missing something here. It seems unable to find out there is a P4 repository anywhere (As an aside, why do I need to specify p4 password, when it's part of the repository on the ReviewBoard server? Especially as it's specified in clear text in all these cases too) Am I missing something obvious here or are there any suggestions on how I might get this to work? Thanks Lee -- 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: Unable to get post-review to recognise a P4 repository
I don't have SVN installed in any form (command line, TortoiseSVN etc.) so 'svn info' just generates what I'd expect. 'svn' is not recognized as an internal or external command, operable program or batch file. The only other VC system I have installed is Hg, and I'm as far away as possible from any other those repositories. There are no SVN files or files with SVN in their name anywhere in my P4 repository. Lee On Monday, 26 March 2012 22:52:26 UTC+1, Christian Hammond wrote: Hey Lee, Yeah, it looks like it's seeing Subversion and trying that first, and never even reaching the Perforce attempt. Basically, post-review will try a number of tools in order to find out what the repository and type is. First one to report a valid repo wins. Sounds like Subversion is doing that. What happens if you type svn info ? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Unable to get post-review to recognise a P4 repository
Hey Lee, Ah, looks like that error message got copy/pasted for Perforce. So it is likely getting to your Perforce check, but it's not seeing diff. Specifically, it's running diff --version and checking that GNU diffutils is in the output. Can you run those steps on your system and see what it says? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Mar 27, 2012 at 12:16 AM, Lee Winder lee.win...@gmail.com wrote: I don't have SVN installed in any form (command line, TortoiseSVN etc.) so 'svn info' just generates what I'd expect. 'svn' is not recognized as an internal or external command, operable program or batch file. The only other VC system I have installed is Hg, and I'm as far away as possible from any other those repositories. There are no SVN files or files with SVN in their name anywhere in my P4 repository. Lee On Monday, 26 March 2012 22:52:26 UTC+1, Christian Hammond wrote: Hey Lee, Yeah, it looks like it's seeing Subversion and trying that first, and never even reaching the Perforce attempt. Basically, post-review will try a number of tools in order to find out what the repository and type is. First one to report a valid repo wins. Sounds like Subversion is doing that. What happens if you type svn info ? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Unable to get post-review to recognise a P4 repository
I think that this is similar to a problem that I've come across, or might be the same tbh. :) I had all sorts of issues as we're both using a perforce proxy and reviewboard at a remote location so had to do some fiddling to get it all to work, both configuring reviewboard, and poking ssh tunnels to connect to servers. I ended up with a happily working config, but one of the things that I had to do was to have a .reviewboardrc in the directory tree which contained: REPOSITORY='Perforce' REVIEWBOARD_URL='http://OurRBServer' Then on the commandline we can invoke post-review with normal parameters e.g. -o changelist and it picks it up from perforce without problem. It was a fair while ago that I configured it for the team, but I believe that I found that I couldn't correctly force post-review to use perforce just using command line params. (Having just reviewed the configuration I think that the issue I thought we had with the p4 proxy might have been resolved by updating RB or server side, certainly I can't see any client side config for it. :) ) Matt On Monday, March 26, 2012 4:00:49 PM UTC+1, Lee Winder wrote: I'm trying to run post-review within a Perforce workspace without any success. I believe I've read all the available documentation and spent the day investigating other peoples similar problems with should have helped but don't seem to. The main problem seems to be that it doesn't know there is a P4 workspace available and is defaulting to an SVN repository (which then fails because I don't have SVN installed at all). I'm assuming SVN is the default if it doesn't find any other repository type? The error I'm getting on every attempt is the following GNU diff is required for Subversion repositories. Make sure it is installed and in the path. On Windows, you can install this from: http://gnuwin32.sourceforge.net/packages/diffutils.htm I've tried various ways to set the P4 properties to give post-review a nudge in the right direction. Initially I set all environment variables (P4PORT, P4USER, P4CLIENT, P4PASSWD) - something I'm not happy doing as it doesn't scale past working on a single P4 repository, which I'm not doing. So the process I'm going through Browse to folder within a workspace post-review my change set no. Generates the error GNU diff is required for Subversion repositories. Make sure it is installed and in the path. On Windows, you can install this from: http://gnuwin32.sourceforge.net/packages/diffutils.htm I've set up a counter to the reviewboard address - does it matter that my address is simply the format http://reviewboard (no trailing .com or anything). reviewboard.url = http://my reviewboard address My server version is Server version: P4D/LINUX26X86_64/2011.1/409024 (2012/01/25) Apparently this may be a problem so I've followed the suggestion here and modified the regex to parse the server version https://groups.google.com/forum/#!msg/reviewboard/jGQN3EEUGGg/2ys8zW8G4VgJ Still generates the SVN error. If I remove the environment variables, p4 info still produces the right infomation about my client etc. So I tried to use .reviewboardrc (setting REPOSITORY, REVIEWBOARD_URL, P4_CLIENT, P4_PASSWD, P4_PORT) in both the folder I was trying to generate the review from and the root of my client workspace but the same error persists. If I run post-review with the -d flag I get the following output before the error RBTools 0.4.1 Home = C:\Users\winderl\AppData\Roaming So I dropped the .reviewboardrc file in C:\Users\winderl\AppData\Roaming, in-case it was looking in there but that didn't help either. So I finally tried the command line options --p4-client, --p4-passwd and --p4-port. I don't think you'll be suprised to find out it did the same thing. So I'm obviously missing something here. It seems unable to find out there is a P4 repository anywhere (As an aside, why do I need to specify p4 password, when it's part of the repository on the ReviewBoard server? Especially as it's specified in clear text in all these cases too) Am I missing something obvious here or are there any suggestions on how I might get this to work? Thanks Lee -- 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: Unable to get post-review to recognise a P4 repository
Ah, copy/paste errors, we've all been there - my bad for not rooting around in the source code a bit more :) I didn't have the the diffutils installed (it's a pretty new PC set up) but now I have, the reviews are being posted as expected, thanks for the assist. Now I just need to get it set up like I had previously, opening the browser when it's done, short-cut menus etc. Thanks again! Lee On Tuesday, 27 March 2012 08:56:53 UTC+1, Christian Hammond wrote: Hey Lee, Ah, looks like that error message got copy/pasted for Perforce. So it is likely getting to your Perforce check, but it's not seeing diff. Specifically, it's running diff --version and checking that GNU diffutils is in the output. Can you run those steps on your system and see what it says? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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
Not able to edit/publish/add reviewers to review
Hi I am a newbie to reviewboard and I just got reviewboard up and running. I have configured reviewboard with my cvs repository. I am facing several issues with my rb site. 1. I am not able to add people to the review, the text box and the pencil icon mentioned in the documentation are not shown during the creation of the review. In fact am not able to edit any of the fields of a review (including the description and test done fields). 2. I am not able to Publish my review. Whenever I hit publish 'nothing' happens. However when I hit the Discard button the page shows a Loading text towards the upper part but never goes to any other page or does anything meaningful. Can you please help me fix this issue. PS: I tried looking into the server logs for any errors thrown. But i was not able to see any visible errors in the logs. Thanks Sudharsan -- 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: Not able to edit/publish/add reviewers to review
My browser's js console showed this error GET http://reviewboard:8095/djblets/js/jquery.gravy.js?1331614886 404 (NOT FOUND) Then I guessed that my server was not able to locate the path '/ djblets...' on my file system. So I added the line Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets to my VirtualHost configuration in the httpd.conf file and now reviewboard is working fine. But I am curios to know why this happened in the first place. Shouldnt this be working fine without doing this. I also had to write the alias for accessing '/rb...' Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets in my virtualhost config previously to get the css files for my site properly working. Is this a known bug? What is the reason behind this problem? Is there a permanent one point fix to this issue? On Mar 27, 2:52 pm, Christian Hammond chip...@chipx86.com wrote: These would be client-side errors. Sounds like you either have JavaScript turned off, or there's some JavaScript error. What browser are you using? Check your browser's JavaScript debug log to see if it's complaining about anything. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 27, 2012 at 2:32 AM, Sudhar cpsud...@gmail.com wrote: Hi I am a newbie to reviewboard and I just got reviewboard up and running. I have configured reviewboard with my cvs repository. I am facing several issues with my rb site. 1. I am not able to add people to the review, the text box and the pencil icon mentioned in the documentation are not shown during the creation of the review. In fact am not able to edit any of the fields of a review (including the description and test done fields). 2. I am not able to Publish my review. Whenever I hit publish 'nothing' happens. However when I hit the Discard button the page shows a Loading text towards the upper part but never goes to any other page or does anything meaningful. Can you please help me fix this issue. PS: I tried looking into the server logs for any errors thrown. But i was not able to see any visible errors in the logs. Thanks Sudharsan -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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: Not able to edit/publish/add reviewers to review
Sorry i had added the line Alias /rb D:/rb/myreview.reviewboard/htdocs/media/rb to get my css working as my server was not able to access '/rb..' urls On Mar 27, 3:16 pm, Sudhar cpsud...@gmail.com wrote: My browser's js console showed this error GEThttp://reviewboard:8095/djblets/js/jquery.gravy.js?1331614886404 (NOT FOUND) Then I guessed that my server was not able to locate the path '/ djblets...' on my file system. So I added the line Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets to my VirtualHost configuration in the httpd.conf file and now reviewboard is working fine. But I am curios to know why this happened in the first place. Shouldnt this be working fine without doing this. I also had to write the alias for accessing '/rb...' Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets in my virtualhost config previously to get the css files for my site properly working. Is this a known bug? What is the reason behind this problem? Is there a permanent one point fix to this issue? On Mar 27, 2:52 pm, Christian Hammond chip...@chipx86.com wrote: These would be client-side errors. Sounds like you either have JavaScript turned off, or there's some JavaScript error. What browser are you using? Check your browser's JavaScript debug log to see if it's complaining about anything. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 27, 2012 at 2:32 AM, Sudhar cpsud...@gmail.com wrote: Hi I am a newbie to reviewboard and I just got reviewboard up and running. I have configured reviewboard with my cvs repository. I am facing several issues with my rb site. 1. I am not able to add people to the review, the text box and the pencil icon mentioned in the documentation are not shown during the creation of the review. In fact am not able to edit any of the fields of a review (including the description and test done fields). 2. I am not able to Publish my review. Whenever I hit publish 'nothing' happens. However when I hit the Discard button the page shows a Loading text towards the upper part but never goes to any other page or does anything meaningful. Can you please help me fix this issue. PS: I tried looking into the server logs for any errors thrown. But i was not able to see any visible errors in the logs. Thanks Sudharsan -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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: Not able to edit/publish/add reviewers to review
It looks like your media paths were configured incorrectly. How did you install Review Board? That Alias will just mask the problem, at the very best. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Mar 27, 2012 at 3:16 AM, Sudhar cpsud...@gmail.com wrote: My browser's js console showed this error GET http://reviewboard:8095/djblets/js/jquery.gravy.js?1331614886 404 (NOT FOUND) Then I guessed that my server was not able to locate the path '/ djblets...' on my file system. So I added the line Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets to my VirtualHost configuration in the httpd.conf file and now reviewboard is working fine. But I am curios to know why this happened in the first place. Shouldnt this be working fine without doing this. I also had to write the alias for accessing '/rb...' Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets in my virtualhost config previously to get the css files for my site properly working. Is this a known bug? What is the reason behind this problem? Is there a permanent one point fix to this issue? On Mar 27, 2:52 pm, Christian Hammond chip...@chipx86.com wrote: These would be client-side errors. Sounds like you either have JavaScript turned off, or there's some JavaScript error. What browser are you using? Check your browser's JavaScript debug log to see if it's complaining about anything. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 27, 2012 at 2:32 AM, Sudhar cpsud...@gmail.com wrote: Hi I am a newbie to reviewboard and I just got reviewboard up and running. I have configured reviewboard with my cvs repository. I am facing several issues with my rb site. 1. I am not able to add people to the review, the text box and the pencil icon mentioned in the documentation are not shown during the creation of the review. In fact am not able to edit any of the fields of a review (including the description and test done fields). 2. I am not able to Publish my review. Whenever I hit publish 'nothing' happens. However when I hit the Discard button the page shows a Loading text towards the upper part but never goes to any other page or does anything meaningful. Can you please help me fix this issue. PS: I tried looking into the server logs for any errors thrown. But i was not able to see any visible errors in the logs. Thanks Sudharsan -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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: Not able to edit/publish/add reviewers to review
I used easy_install ReviewBoard command to install reviewboard and i created the site using the rb-site command. On Mar 27, 3:24 pm, Christian Hammond chip...@chipx86.com wrote: It looks like your media paths were configured incorrectly. How did you install Review Board? That Alias will just mask the problem, at the very best. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 27, 2012 at 3:16 AM, Sudhar cpsud...@gmail.com wrote: My browser's js console showed this error GEThttp://reviewboard:8095/djblets/js/jquery.gravy.js?1331614886404 (NOT FOUND) Then I guessed that my server was not able to locate the path '/ djblets...' on my file system. So I added the line Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets to my VirtualHost configuration in the httpd.conf file and now reviewboard is working fine. But I am curios to know why this happened in the first place. Shouldnt this be working fine without doing this. I also had to write the alias for accessing '/rb...' Alias /djblets D:/rb/myreview.reviewboard/htdocs/media/djblets in my virtualhost config previously to get the css files for my site properly working. Is this a known bug? What is the reason behind this problem? Is there a permanent one point fix to this issue? On Mar 27, 2:52 pm, Christian Hammond chip...@chipx86.com wrote: These would be client-side errors. Sounds like you either have JavaScript turned off, or there's some JavaScript error. What browser are you using? Check your browser's JavaScript debug log to see if it's complaining about anything. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Mar 27, 2012 at 2:32 AM, Sudhar cpsud...@gmail.com wrote: Hi I am a newbie to reviewboard and I just got reviewboard up and running. I have configured reviewboard with my cvs repository. I am facing several issues with my rb site. 1. I am not able to add people to the review, the text box and the pencil icon mentioned in the documentation are not shown during the creation of the review. In fact am not able to edit any of the fields of a review (including the description and test done fields). 2. I am not able to Publish my review. Whenever I hit publish 'nothing' happens. However when I hit the Discard button the page shows a Loading text towards the upper part but never goes to any other page or does anything meaningful. Can you please help me fix this issue. PS: I tried looking into the server logs for any errors thrown. But i was not able to see any visible errors in the logs. Thanks Sudharsan -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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 athttp://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
HTTP 405, Method Not Allowed
Hi, Using the web services interface on 1.6.4.1 with a Python (2.7) script and the urllib2 module I am getting an HTTP error 405 when requesting the XML for an individual review (api/review-requests/rb entry), yet it works just fine when I request the XML for the set of reviews for that individual RB entry (api/review-requests/rb entry/reviews). Both URL's work fine, returning appropriate XML when pasted into a browser. Both of the URL's worked fine with a previous ReviewBoard installation of version 1.4.x. Here's a snippet of code that fails with the 405: #!/usr/bin/env python import urllib2 url = http://reviewboard/api/review-requests/6721/; header = {'Accept': application/xml} request = urllib2.Request(url, , header) f = urllib2.urlopen(request) xml = f.read() f.close() print xml (replace reviewboard in the URL with the correct system name, redacted for security) Traceback (most recent call last): File ./t.pl, line 8, in module f = urllib2.urlopen(request) File /usr/lib/python2.7/urllib2.py, line 126, in urlopen return _opener.open(url, data, timeout) File /usr/lib/python2.7/urllib2.py, line 400, in open response = meth(req, response) File /usr/lib/python2.7/urllib2.py, line 513, in http_response 'http', request, response, code, msg, hdrs) File /usr/lib/python2.7/urllib2.py, line 438, in error return self._call_chain(*args) File /usr/lib/python2.7/urllib2.py, line 372, in _call_chain result = func(*args) File /usr/lib/python2.7/urllib2.py, line 521, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 405: Method Not Allowed If I simply add /reviews to the URL, it works fine and I get the XML returned with all the reviews. Incidentally, I also get a 405 when accessing a RB user's set of XML (api/users/rb username). This has been driving me nuts, so any help would be greatly appreciated! Thanks, Ken -- 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: HTTP 405, Method Not Allowed
Problem solved. Beware of embedded and trailing slashes. I'd say to use the URL or URL templates as defined in the api, but ReviewBoard returns the user URL with a trailing slash. Ken On Tuesday, March 27, 2012 6:39:12 AM UTC-7, Ken Klingman wrote: Hi, Using the web services interface on 1.6.4.1 with a Python (2.7) script and the urllib2 module I am getting an HTTP error 405 when requesting the XML for an individual review (api/review-requests/rb entry), yet it works just fine when I request the XML for the set of reviews for that individual RB entry (api/review-requests/rb entry/reviews). Both URL's work fine, returning appropriate XML when pasted into a browser. Both of the URL's worked fine with a previous ReviewBoard installation of version 1.4.x. Here's a snippet of code that fails with the 405: #!/usr/bin/env python import urllib2 url = http://reviewboard/api/review-requests/6721/; header = {'Accept': application/xml} request = urllib2.Request(url, , header) f = urllib2.urlopen(request) xml = f.read() f.close() print xml (replace reviewboard in the URL with the correct system name, redacted for security) Traceback (most recent call last): File ./t.pl, line 8, in module f = urllib2.urlopen(request) File /usr/lib/python2.7/urllib2.py, line 126, in urlopen return _opener.open(url, data, timeout) File /usr/lib/python2.7/urllib2.py, line 400, in open response = meth(req, response) File /usr/lib/python2.7/urllib2.py, line 513, in http_response 'http', request, response, code, msg, hdrs) File /usr/lib/python2.7/urllib2.py, line 438, in error return self._call_chain(*args) File /usr/lib/python2.7/urllib2.py, line 372, in _call_chain result = func(*args) File /usr/lib/python2.7/urllib2.py, line 521, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 405: Method Not Allowed If I simply add /reviews to the URL, it works fine and I get the XML returned with all the reviews. Incidentally, I also get a 405 when accessing a RB user's set of XML (api/users/rb username). This has been driving me nuts, so any help would be greatly appreciated! Thanks, Ken -- 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: HTTP 405, Method Not Allowed
Yeah, Review Board expects that every single URL is going to have a trailing slash, and should generate each URL with one. Always assume that's the case when building URLs and you should be okay. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Mar 27, 2012 at 10:53 AM, Ken Klingman capt...@gmail.com wrote: Problem solved. Beware of embedded and trailing slashes. I'd say to use the URL or URL templates as defined in the api, but ReviewBoard returns the user URL with a trailing slash. Ken On Tuesday, March 27, 2012 6:39:12 AM UTC-7, Ken Klingman wrote: Hi, Using the web services interface on 1.6.4.1 with a Python (2.7) script and the urllib2 module I am getting an HTTP error 405 when requesting the XML for an individual review (api/review-requests/rb entry), yet it works just fine when I request the XML for the set of reviews for that individual RB entry (api/review-requests/rb entry/reviews). Both URL's work fine, returning appropriate XML when pasted into a browser. Both of the URL's worked fine with a previous ReviewBoard installation of version 1.4.x. Here's a snippet of code that fails with the 405: #!/usr/bin/env python import urllib2 url = http://reviewboard/api/**review-requests/6721/http://reviewboard/api/review-requests/6721/ header = {'Accept': application/xml} request = urllib2.Request(url, , header) f = urllib2.urlopen(request) xml = f.read() f.close() print xml (replace reviewboard in the URL with the correct system name, redacted for security) Traceback (most recent call last): File ./t.pl, line 8, in module f = urllib2.urlopen(request) File /usr/lib/python2.7/urllib2.**py, line 126, in urlopen return _opener.open(url, data, timeout) File /usr/lib/python2.7/urllib2.**py, line 400, in open response = meth(req, response) File /usr/lib/python2.7/urllib2.**py, line 513, in http_response 'http', request, response, code, msg, hdrs) File /usr/lib/python2.7/urllib2.**py, line 438, in error return self._call_chain(*args) File /usr/lib/python2.7/urllib2.**py, line 372, in _call_chain result = func(*args) File /usr/lib/python2.7/urllib2.**py, line 521, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 405: Method Not Allowed If I simply add /reviews to the URL, it works fine and I get the XML returned with all the reviews. Incidentally, I also get a 405 when accessing a RB user's set of XML (api/users/rb username). This has been driving me nuts, so any help would be greatly appreciated! Thanks, Ken -- 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: Password reset email said to come from example.com despite correct server name set in General Settings
Yep, that did it. Thanks. Daniel On Monday, March 26, 2012 11:56:45 PM UTC-6, brajesh wrote: Hi Daniel, You need to make changes under Database - Sites Thanks Brajesh On Tue, Mar 27, 2012 at 6:06 AM, Daniel wrote: One of my Review Board users attempted to reset his password. He got it correctly, however it didn't look right. He got the following: Subject: Password reset on *example.com* You're receiving this e-mail because you requested a password reset for your account at *example.com*. Please go to the following page and choose a new password: Correct URL was here In case you've forgotten, your username is John.Doe Thanks for using Review Board! Does anyone know why example.com is showing and where I can fix it. It's set correctly in the admin site under General Settings. Thanks, Daniel -- -- 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: Unable to add P4 Unicode Server as a new repository
Hi Lee, I'm not aware of anything. This is my first time seeing anyone report this error, to my knowledge, so I don't really have an answer for you.. Maybe someone else has seen this. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Mar 27, 2012 at 3:52 AM, Lee Winder lee.win...@gmail.com wrote: Another small P4 problem... We're working with multiple repositories and 1 of these is a unicode server. I've made sure my local p4 client is set up as a unicode client (p4 set P4CHARSET=utf8) and I am able to log into and query the server via the command line. But if I try to add this repository in ReviewBoard I get the following error [P4#run] Errors during command execution( p4 describe -s 1 ) [Error]: Unicode server permits only unicode enabled clients. Running 'p4 describe -s 1' on the command line runs correctly if I do it manually. Does ReviewBoard do anything special with the commands it's running that circumvents my local settings? Thanks, Lee -- 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
GIT with reviewboard
Hi, I am trying to setup reviewboard server to work with GIT repository. We have a central GIT repository managed by gitosis (ssh based tool). My reviewboard server setup seems ok. But I am a little confused with uploading the code review on it as the documentation on reviewboard site seems out of date to me (as per the mail archive on this group). The model I would like to use is the following. a) All the developers clone from the central repo. b) They make changes locally and commit them in their local branch. c) Upload the review using post-review. For c), I am trying to follow the following steps: 1) git config reviewboard.url http://IP_reviewboard_server/web_server_name 2) post-review --parent=master --tracking-branch=origin/master Here, origin would be the central git server (gitoisis@...) Does reviewboard work with above configuration? -- 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
Issue 2554 in reviewboard: Syntax error installing RBTools on Centos 5.6
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2554 by mailsw...@gmail.com: Syntax error installing RBTools on Centos 5.6 http://code.google.com/p/reviewboard/issues/detail?id=2554 [root@ln-swami swami]# easy_install -U RBTools bash: easy_install: command not found [root@ln-swami swami]# yum install python-setuptools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.hmc.edu * extras: centos-distro.cavecreek.net * rpmforge: ftp-stud.fht-esslingen.de * updates: mirrors.kernel.org Setting up Install Process Resolving Dependencies -- Running transaction check --- Package python-setuptools.noarch 0:0.6c5-2.el5 set to be updated -- Finished Dependency Resolution Dependencies Resolved = Package Arch Version Repository Size = Installing: python-setuptools noarch0.6c5-2.el5 base479 k Transaction Summary = Install 1 Package(s) Upgrade 0 Package(s) Total download size: 479 k Is this ok [y/N]: y Downloading Packages: python-setuptools-0.6c5-2.el5.noarch.rpm | 479 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : python-setuptools 1/1 Installed: python-setuptools.noarch 0:0.6c5-2.el5 Complete! [root@ln-swami swami]# easy_install -U RBTools Searching for RBTools Reading http://cheeseshop.python.org/pypi/RBTools/ Reading http://www.reviewboard.org/ Reading http://downloads.reviewboard.org/releases/RBTools/0.4/ Reading http://cheeseshop.python.org/pypi/RBTools/0.4.1 Best match: RBTools 0.4.1 Downloading http://downloads.reviewboard.org/releases/RBTools/0.4/RBTools-0.4.1-py2.4.egg Processing RBTools-0.4.1-py2.4.egg Moving RBTools-0.4.1-py2.4.egg to /usr/lib/python2.4/site-packages Adding RBTools 0.4.1 to easy-install.pth file Installing post-review script to /usr/bin Installed /usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg Processing dependencies for RBTools Searching for simplejson Reading http://cheeseshop.python.org/pypi/simplejson/ Reading http://github.com/simplejson/simplejson Reading http://cheeseshop.python.org/pypi/simplejson/2.4.0 Best match: simplejson 2.4.0 Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.4.0.tar.gz#md5=0020e2b33ee8a9b156e0652a96d9eeba Processing simplejson-2.4.0.tar.gz Running simplejson-2.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-nzo-WF/simplejson-2.4.0/egg-dist-tmp-Au7md1 File build/bdist.linux-x86_64/egg/simplejson/encoder.py, line 390 if (not _bigint_as_string or ^ SyntaxError: invalid syntax zip_safe flag not set; analyzing archive contents... simplejson.tests.__init__: module references __file__ File /usr/lib/python2.4/site-packages/simplejson-2.4.0-py2.4-linux-x86_64.egg/simplejson/encoder.py, line 390 if (not _bigint_as_string or ^ SyntaxError: invalid syntax Adding simplejson 2.4.0 to easy-install.pth file Installed /usr/lib/python2.4/site-packages/simplejson-2.4.0-py2.4-linux-x86_64.egg [root@ln-swami swami]# File build/bdist.linux-x86_64/egg/simplejson/encoder.py, line 390 bash: File: command not found [root@ln-swami swami]# cat /etc/redhat-release CentOS release 5.6 (Final) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@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.
Re: Issue 2554 in reviewboard: Newest version of simplejson used with RBTools doesn't support Python 2.4.
Updates: Summary: Newest version of simplejson used with RBTools doesn't support Python 2.4. Status: Confirmed Labels: Component-RBTools Comment #1 on issue 2554 by chip...@gmail.com: Newest version of simplejson used with RBTools doesn't support Python 2.4. http://code.google.com/p/reviewboard/issues/detail?id=2554 Looks like simplejson dropped Python 2.4 compatibility. You'll have to do some research and find out what older version you can run without problems. We can then hard-code support for that for Python 2.4. But be warned that we will also be dropping Python 2.4 support before long, so you really may want to consider upgrading. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@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.
Re: Issue 2554 in reviewboard: Newest version of simplejson used with RBTools doesn't support Python 2.4.
Comment #2 on issue 2554 by mailsw...@gmail.com: Newest version of simplejson used with RBTools doesn't support Python 2.4. http://code.google.com/p/reviewboard/issues/detail?id=2554 Thanks for the quick diagnosis response. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@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.