About Installation of ReviewBoard

2009-12-09 Thread JohnHenry
Hi, everyone,
   I am a beginer of ReviewBoard. I had read your Institution on how
to install ReviewBoard. My system is Linux RedHat and I had no root
permission. My system didn't have yum installed. But your
institution are full of yum command, I had trid to install yum
too. But because I have no root permission and can not install rpm
packages. Then can anybody give me instruction on how to install the
RB and it's dependencies without yum command and without root
permissions?
   I had tried to install MySQL under current user permission. But
resulting errors when installing the rb-site:
//
* Required modules are missing.

You are missing Python modules that are needed before the
installation process. You will need to install the necessary
modules and restart the install.

Server Cache (optional):
* memcached (cmemcache, memcache)

Databases (required):
* sqlite3 (pysqlite2, sqlite3)
* MySQL (MySQLdb)
* PostgreSQL (psycopg2)

Then I think it is because I have installed mysql_python before
MySQL 5.1.4 (The Server Machine has a MySQL5.0.19 installed by the
root, But latter I know ReviewBorder need 5.0.31 or latter ); Then I
delete this  Mysql_Python and reinstall it with easy_install, But the
result is also the same. What is the reason then?
Regards!

-- 
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: About Installation of ReviewBoard

2009-12-09 Thread Christian Hammond
Hi,

You're going to have a hard time installing this without having some form of
root access. In particular, you will need to modify Apache's configuration,
and if you don't have access to this, you're out of luck.

Without having access to yum, you'll need to download and compile every
dependency by hand. We can't support this, as it's likely to be complex,
especially without root access.

I'm not sure I entirely understand the MySQL question, but it may be due to
not having the proper library support for MySQL on the system, which the
MySQLdb Python module would need. If you don't have this, you'll need to
compile it. I can't say exactly without knowing more about the system.

This sounds like a pretty locked-down system. Are you just looking to play
around with Review Board, or are you hoping to run a full, working
installation on that system? If you're looking to just play around, it might
be worth setting up a Virtual Machine on your own computer running Ubuntu
(as that's the easiest to install on) and installing in there. If, however,
you need Review Board to work as a productive system, you'll likely need to
find a computer that you can have root access on.

Christian

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


On Wed, Dec 9, 2009 at 3:51 AM, JohnHenry qhlonl...@163.com wrote:

 Hi, everyone,
   I am a beginer of ReviewBoard. I had read your Institution on how
 to install ReviewBoard. My system is Linux RedHat and I had no root
 permission. My system didn't have yum installed. But your
 institution are full of yum command, I had trid to install yum
 too. But because I have no root permission and can not install rpm
 packages. Then can anybody give me instruction on how to install the
 RB and it's dependencies without yum command and without root
 permissions?
   I had tried to install MySQL under current user permission. But
 resulting errors when installing the rb-site:
 //
 * Required modules are missing.

You are missing Python modules that are needed before the
installation process. You will need to install the necessary
modules and restart the install.

Server Cache (optional):
* memcached (cmemcache, memcache)

Databases (required):
* sqlite3 (pysqlite2, sqlite3)
* MySQL (MySQLdb)
* PostgreSQL (psycopg2)
 
Then I think it is because I have installed mysql_python before
 MySQL 5.1.4 (The Server Machine has a MySQL5.0.19 installed by the
 root, But latter I know ReviewBorder need 5.0.31 or latter ); Then I
 delete this  Mysql_Python and reinstall it with easy_install, But the
 result is also the same. What is the reason then?
 Regards!

 --
 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.comreviewboard%2bunsubscr...@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: About Installation of ReviewBoard

2009-12-09 Thread Jim Priest
On Dec 9, 6:59 am, Christian Hammond chip...@chipx86.com wrote:
 This sounds like a pretty locked-down system. Are you just looking to play
 around with Review Board, or are you hoping to run a full, working
 installation on that system? If you're looking to just play around, it might
 be worth setting up a Virtual Machine on your own computer running Ubuntu

I've blogged about setting up Review Board in VirtualBox here

http://www.thecrumb.com/2009/07/03/review-board-code-reviews-made-easy-installation/

I'm running that on a older desktop and currently have a few people
using it.   As Christian said - if you don't have root access you
aren't going to get very far.  :(

Jim

-- 
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: Can not Upload Diff using RB 1.0.5.1

2009-12-09 Thread Kunjal
Chris,

Do you have any update?
I am really stuck now...

Kunjal



On Dec 8, 3:44 pm, Kunjal kunjal.par...@gmail.com wrote:
 sorry,

 here is the missing error message...

  Uploading diff
  HTTP POSTing 
  tohttp://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di

 ff/new/: {}
 Error uploading diff: One or more fields had errors (105)
 Your review request still exists, but the diff is not attached.

 On Dec 8, 12:19 pm, Christian Hammond chip...@chipx86.com wrote:



  I don't see any error in here. That line indicates that we're doing an HTTP
  POST to that URL but aren't sending any fields, which is correct. The files
  are likely sent, but we don't log that on the console.

  Does it just stop after that? Is there error information I'm just not
  seeing?

  Christian

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

  On Tue, Dec 8, 2009 at 10:47 AM, Kunjal kunjal.par...@gmail.com wrote:

   Chris,

   We have now set up production server which will released in few days.
   During my final testing I found that when I post review, I can not
   post the diff. Looks like RB-Perforce integration issue.
   I read few blogs and you said that P4 should be in web server's path.
   However, I check httpd.conf and I do not see any P4 specific
   settings.
   Where else I can debug?

   Here is the error...

Uploading diff
HTTP POSTing to
  http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di
   ff/new/http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di%0Aff/new/:
   {}

   -Kunjal

   kapar...@ltsdo-kaparikh ~
   $ post-review.cygwin 250188 -d

   This tool looks at the given Pending-CL#  posts it for review.
   [Version: 200911
   13_1141]

Repository info 'Path: pf-sj1-mob.sj.broadcom.com:1668, Base path:
   None, Sup
   ports changesets: True'
Generating diff for changenum 250188
P4CLIENT is LTSDO-KAPARIKH
status is pending
Lines are:
   ['//depot/Sources/Integration/Automation_Scripts/1DDR_Test_Reques
   t_Script/1DDR_TestRequest.pl#1 - edit change 250188 (text) by
   kapar...@ltsdo-kap
   ARIKH\r\n']
Client LTSDO-KAPARIKH depot path
   //depot/Sources/Integration/Automation_Scri
   pts/1DDR_Test_Request_Script/1DDR_TestRequest.pl
Writing
   //depot/Sources/Integration/Automation_Scripts/1DDR_Test_Request_Sc
   ript/1DDR_TestRequest.pl#1 to /cygdrive/c/Temp/tmpBiyySU
Old file: /cygdrive/c/Temp/tmpBiyySU New file
   c:/Perforce/Sources/Integratio
   n/Automation_Scripts/1DDR_Test_Request_Script/1DDR_TestRequest.pl
Attempting to create review request for 250188
   repository path pf-sj1-mob.sj.broadcom.com:1668
HTTP POSTing to
  http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/new/
   : {'repository_path': 'pf-sj1-mob.sj.broadcom.com:1668', 'changenum':
   '250188'}
Review request already exists. Updating it...
HTTP POSTing to
  http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/up
   date_from_changenum/http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/up%0Adate_f...:
   {}
Review request created
---
   c:\Perforce\Sources\Integration\Automation_Scripts\1DDR_Test_Request_Scr
   ipt\1DDR_TestRequest.pl //depot/Sources/Integration/Automation_Scripts/
   1DDR_Test
   _Request_Script/1DDR_TestRequest.pl#1
   +++ c:\Perforce\Sources\Integration\Automation_Scripts
   \1DDR_Test_Request_Script\
   1DDR_TestRequest.pl     2009-12-08 10:23:30
   @@ -12,6 +12,20 @@
    use MIME::Lite;
    use CGI qw/:standard/;
    use File::Basename;
   +#!/usr/bin/perl

   +#-­­-

   +#Script Name: 1DDR_TestRequest.pl
   +#Usage:The script is used to get list of zip files from the latest CL
   +#from the path brcm-irv\\dfs\\projects\\mcsi_2ddr\\programname
   +#and send the mail notification for the 1DDR Test Request.
   +#Arguments: The script takes one argument which is the
   +#Branch/Program name/SDB name.

   +#-­­-

   +#use warnings;
   +#use strict;
   +use MIME::Lite;
   +use CGI qw/:standard/;
   +use File::Basename;

    use Data::Dumper;

   #--­­

Uploading diff
HTTP POSTing to
  http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di
   ff/new/http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di%0Aff/new/:
   {}

   --
   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.comreviewboard%2bunsubscr...@googlegr­­oups.com
   For more options, visit this group at
  http://groups.google.com/group/reviewboard?hl=en-Hide quoted text -

  - Show 

Re: Can not Upload Diff using RB 1.0.5.1

2009-12-09 Thread Bryan Halter
I'm seeing the same thing with 1.0.5.1 and ClearCase using post-review.  The
error text is Substring not found with error 105.  I found this out by
dumping the fields in the response the server sends back.  I can't seem to
find the hash where the 1xx series of errors are kept.  The 2xx series is
readily available in the RB source code.

--Bryan

On Wed, Dec 9, 2009 at 4:35 PM, Kunjal kunjal.par...@gmail.com wrote:

 Chris,

 Do you have any update?
 I am really stuck now...

 Kunjal



 On Dec 8, 3:44 pm, Kunjal kunjal.par...@gmail.com wrote:
  sorry,
 
  here is the missing error message...
 
   Uploading diff
   HTTP POSTing tohttp://
 rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di
 
  ff/new/: {}
  Error uploading diff: One or more fields had errors (105)
  Your review request still exists, but the diff is not attached.
 
  On Dec 8, 12:19 pm, Christian Hammond chip...@chipx86.com wrote:
 
 
 
   I don't see any error in here. That line indicates that we're doing an
 HTTP
   POST to that URL but aren't sending any fields, which is correct. The
 files
   are likely sent, but we don't log that on the console.
 
   Does it just stop after that? Is there error information I'm just not
   seeing?
 
   Christian
 
   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.reviewboard.org
   VMware, Inc. -http://www.vmware.com
 
   On Tue, Dec 8, 2009 at 10:47 AM, Kunjal kunjal.par...@gmail.com
 wrote:
 
Chris,
 
We have now set up production server which will released in few days.
During my final testing I found that when I post review, I can not
post the diff. Looks like RB-Perforce integration issue.
I read few blogs and you said that P4 should be in web server's path.
However, I check httpd.conf and I do not see any P4 specific
settings.
Where else I can debug?
 
Here is the error...
 
 Uploading diff
 HTTP POSTing to
   http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di
ff/new/
 http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di%0Aff/new/:
{}
 
-Kunjal
 
kapar...@ltsdo-kaparikh ~
$ post-review.cygwin 250188 -d
 
This tool looks at the given Pending-CL#  posts it for review.
[Version: 200911
13_1141]
 
 Repository info 'Path: pf-sj1-mob.sj.broadcom.com:1668, Base
 path:
None, Sup
ports changesets: True'
 Generating diff for changenum 250188
 P4CLIENT is LTSDO-KAPARIKH
 status is pending
 Lines are:
['//depot/Sources/Integration/Automation_Scripts/1DDR_Test_Reques
t_Script/1DDR_TestRequest.pl#1 - edit change 250188 (text) by
kapar...@ltsdo-kap
ARIKH\r\n']
 Client LTSDO-KAPARIKH depot path
//depot/Sources/Integration/Automation_Scri
pts/1DDR_Test_Request_Script/1DDR_TestRequest.pl
 Writing
//depot/Sources/Integration/Automation_Scripts/1DDR_Test_Request_Sc
ript/1DDR_TestRequest.pl#1 to /cygdrive/c/Temp/tmpBiyySU
 Old file: /cygdrive/c/Temp/tmpBiyySU New file
c:/Perforce/Sources/Integratio
n/Automation_Scripts/1DDR_Test_Request_Script/1DDR_TestRequest.pl
 Attempting to create review request for 250188
repository path pf-sj1-mob.sj.broadcom.com:1668
 HTTP POSTing to
   http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/new/
: {'repository_path': 'pf-sj1-mob.sj.broadcom.com:1668',
 'changenum':
'250188'}
 Review request already exists. Updating it...
 HTTP POSTing to
   http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/up
date_from_changenum/
 http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/up%0Adate_f...:
{}
 Review request created
 ---
   
 c:\Perforce\Sources\Integration\Automation_Scripts\1DDR_Test_Request_Scr
ipt\1DDR_TestRequest.pl
 //depot/Sources/Integration/Automation_Scripts/
1DDR_Test
_Request_Script/1DDR_TestRequest.pl#1
+++ c:\Perforce\Sources\Integration\Automation_Scripts
\1DDR_Test_Request_Script\
1DDR_TestRequest.pl 2009-12-08 10:23:30
@@ -12,6 +12,20 @@
 use MIME::Lite;
 use CGI qw/:standard/;
 use File::Basename;
+#!/usr/bin/perl
 
   
 +#-­­-
 
+#Script Name: 1DDR_TestRequest.pl
+#Usage:The script is used to get list of zip files from the latest
 CL
+#from the path brcm-irv\\dfs\\projects\\mcsi_2ddr\\programname
+#and send the mail notification for the 1DDR Test Request.
+#Arguments: The script takes one argument which is the
+#Branch/Program name/SDB name.
 
   
 +#-­­-
 
+#use warnings;
+#use strict;
+use MIME::Lite;
+use CGI qw/:standard/;
+use File::Basename;
 
 use Data::Dumper;
 
   
 #--­­
 
 Uploading diff
 HTTP POSTing to
   http://rb-sj1-1.sj.broadcom.com/api/json/reviewrequests/5/di

Re: Submitting patches, subversion post-review support for already committed revisions

2009-12-09 Thread Jason Felice
On Wed, Dec 9, 2009 at 5:01 PM, Lyndon Washington
hoshp...@crazy-code.com wrote:
 Hi,

 Was there a resolution to the svn problem that was outlined, because I get a
 similar problem after I performed a commit that included some moved and
 deleted source files.

 When i try and create a review request with post-review I get the following
 error:
 Failed to execute command: ['svn', 'info',
 'runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java']
 ['runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java:
 (Not a versioned resource)\n', '\n', 'svn: A problem occurred; see other
 errors for details\n']

I've gotten it in my mind to try to troubleshoot this, but it might be
a day or three before I have a chance.  And I don't really know the
code (but it doesn't seem to be really hard to grok).

-- 
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: Submitting patches, subversion post-review support for already committed revisions

2009-12-09 Thread Christian Hammond
It seems that this broke at some point. I've been meaning to look into it
but haven't really had the time lately.

I believe it's due to us being a little more smart now with SVN diffs and
going through trying to grab info on the affected files. We need to handle
the moves/renames properly.

Christian

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


On Wed, Dec 9, 2009 at 2:01 PM, Lyndon Washington
hoshp...@crazy-code.comwrote:

 Hi,

 Was there a resolution to the svn problem that was outlined, because I get
 a similar problem after I performed a commit that included some moved and
 deleted source files.

 When i try and create a review request with post-review I get the following
 error:
 Failed to execute command: ['svn', 'info',
 'runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java']
 ['runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java:
 (Not a versioned resource)\n', '\n', 'svn: A problem occurred; see other
 errors for details\n']

 Cheers,
 -Lyndon-

 Lyndon Washington




 On Thu, Dec 3, 2009 at 11:42 AM, Jason Felice jason.m.fel...@gmail.comwrote:

 On Thu, Dec 3, 2009 at 1:54 AM, Christian Hammond chip...@chipx86.com
 wrote:
  Hi Jason,
 
  A standard diff -u doesn't contain the revision information needed, and
 a
  git diff by default uses short SHA1s, which we can't use to fetch the
 files.
  You will need to use either post-review (recommended) or git diff
  --full-index.

 OK, that worked.

  post-review with Subversion should support renames and posting diffs of
  existing commits.
 
  What versions of Review Board and of post-review are you using?

 I tried what I got from easy_install -U RBTools, when that wouldn't
 work, I tried git HEAD.

 My ReviewBoard install reports 1.0.5.1... weird because I thought I
 installed the alpha because I need SVN https support, and I have
 successfully used SVN https repositories.

  Can you show me exactly what happens with post-review in the two cases
  (renames and existing commits)? You can run post-review with --debug for
  more information, which would help to diagnose an issue.

 C:\workspace\xpay-corepost-review --debug --revision-range 4665:4666
  svn info
  repository info: Path: https://dtvsource/svn/xpay, Base path:
 /trunk/xpay-core-1.2, Supports changesets: False
  svn propget reviewboard:url C:\workspace\xpay-core
  svn diff --diff-cmd=diff -r 4665:4666
  svn info src/dev/testapp/emulator/nio/TaskResolver.java
 Failed to execute command: ['svn', 'info',
 'src/dev/testapp/emulator/nio/TaskResolver.java']
 [svn: 'src\\dev\\testapp\\emulator\\nio\\TaskResolver.java' is not
 under version control\n]

 TaskResolver.java was renamed to EmulatorResolver.java in the named
 commit.


 By the way, I was initially confused because I didn't realize that you
 could use post-review to do pre-commit review, might I suggest
 renaming the tool to something like rb-submit?

 I tried submitting the output of svn diff, but I was sure that wasn't
 going to work, since there isn't enough information in the diff for
 anyone to apply it when a rename is involved!

 --
 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.comreviewboard%2bunsubscr...@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.comreviewboard%2bunsubscr...@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

How to configuration Apache and rb-site?

2009-12-09 Thread JohnHenry
Hi, all;
I had asked a question about RB install without Linux root
permission. Now I had finished the installation of MySQL and rb-site,
After these I should make configuration to the site. There is no
sites-abailable forder and so I had to write in apache httpd.conf:
Include /home/myLinux/Apache_Home/conf/extra/apache-modpython.conf
Before that I had copyed the apache-modepython.conf to extra
dictionary.
Then I restart the Apache. But I still can't access the Review Board;
Why?
   And another problem is how to make my domain setting during rb-
site install come into use?


Best Regards!

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