Re: New to Python ... needs help installing RB
Thanks ! I was looking at: http://www.reviewboard.org/docs/manual/1.0/admin/installation/windows/ Sassan On Jan 5, 3:10 pm, Christian Hammond chip...@chipx86.com wrote: Is this on a Windows installation, or Linux? If so, which version of which? The documentation does say how to install Review Board. Are you looking at the Installation docs athttp://www.reviewboard.org/docs/manual/dev/admin/? Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Tue, Jan 5, 2010 at 11:25 AM, Sassan sassan...@verifone.com wrote: Hi All, I have followed the instructions to install the dependencies as described on the ReviewBoard installation page. I was expecting a few words on how to get RB itself installed, but all I find at the bottom of the page are the instructions on how to use rb- site to set up new sites. I have downloaded ReviewBoard, RBTools and Djblets and need some guidance on how to get these plugged into the python environment. Thanks, Sassan -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en- Hide quoted text - - Show quoted text - -- 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
Setting permission on htdocs/media/uploaded on Windows
Another installation issue ... I am getting an HTTP 403 Forbidden message when opening http://localhost/ which I thought was due to insufficient permissions but I could be wrong. I have already granted full access to everyone for htdocs/media/ uploaded directory as well as the db directory but it is not working. I also tried creating a new user for the apache service thinking it may have difficulty with LocalSystem account under which the default installation was running. Does anyone have any suggestions ? Thanks, Sassan . -- 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: Setting permission on htdocs/media/uploaded on Windows
Another piece of information I am using MySQL Server 5.1 but during rb-site install dialogue I was only given the following option: * What database type will you be using? You can type either the name or the number from the list below. (1) sqlite3 which I selected and it seemed to have installed successfully. Is this not right? On Jan 6, 3:43 pm, Sassan sassan...@verifone.com wrote: Another installation issue ... I am getting an HTTP 403 Forbidden message when openinghttp://localhost/ which I thought was due to insufficient permissions but I could be wrong. I have already granted full access to everyone for htdocs/media/ uploaded directory as well as the db directory but it is not working. I also tried creating a new user for the apache service thinking it may have difficulty with LocalSystem account under which the default installation was running. Does anyone have any suggestions ? Thanks, Sassan . -- 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
What is the status of ClearCase integration on Windows?
Does anyone know what is and is not currently supported for ClearCase as an SCM tool on Windows? For example I see instructions for posting commited code reviews using post-review.exe under ClearCase section in http://www.reviewboard.org/docs/manual/1.0/users/tools/post-review/ Does the Todo mean it is only on the wish list and not yet implemented? I also see a --label=LABEL under ClearCase options for post- review.exe but I am not clear as to how a single label can designate a diff of two distinct revisions. I tried this anyway and I got:: Traceback (most recent call last): File C:\Python25\Scripts\post-review-script.py, line 8, in moduleload_entry_point('RBTools==0.2beta2', 'console_scripts', 'post-review')() File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 2509, in main File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 954, in diff_label File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 947, in diff File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 811, in get_extended_namespace File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 790, in get_previous_version ValueError: too many values to unpack Do you know how I get to the postreview.py script inside the rbtools egg to modify it? On the other hand it is easy enough for me to generate the diffs myself out of ClearCase, but is there any way for me post these directly into the RB server ? Maybe by passing them to post-review.exe but only to be posted to the RB server ? Thanks, Sassan -- 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: What is the status of ClearCase integration on Windows?
I am happy to try to catch up with python scripting add that functionality and possibly more to it. I would like some instructions on how and where to get the source out of git and any special tools I will need for development. Thanks, Sassan On Jan 15, 3:35 pm, Christian Hammond chip...@chipx86.com wrote: I would love a patch to move that functionality out into a .reviewboardrc. I haven't done it myself due to lack of a Clearcase server to test with (though if anybody wants to donate a license, we can get some automated tests for stuff going :). Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Jan 15, 2010 at 7:37 AM, Dan Savilonis d...@n-cube.org wrote: Hi Sassan, The latest docs have some instructions on how to use post-review with Clearcase. In fact, it's the only way to post a review with Clearcase. http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ I wrote it using some unix-ish examples, but I actually tested the instructions under Windows. post-review's Clearcase support is fairly crude, but it will work for reviewing modified code in a view that has not been checked in. Note that you actually need to modify post-review.py to make it work in your environment, so I recommend pulling it from git and running setup.py develop. If someone wants to just add these hard-coded values as options, this won't be necessary anymore. Dan On Jan 14, 7:07 pm, Sassan sassan...@verifone.com wrote: Does anyone know what is and is not currently supported for ClearCase as an SCM tool on Windows? For example I see instructions for posting commited code reviews using post-review.exe under ClearCase section inhttp:// www.reviewboard.org/docs/manual/1.0/users/tools/post-review/ Does the Todo mean it is only on the wish list and not yet implemented? I also see a --label=LABEL under ClearCase options for post- review.exe but I am not clear as to how a single label can designate a diff of two distinct revisions. I tried this anyway and I got:: Traceback (most recent call last): File C:\Python25\Scripts\post-review-script.py, line 8, in module load_entry_point('RBTools==0.2beta2', 'console_scripts', 'post-review')() File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 2509, in main File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 954, in diff_label File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 947, in diff File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 811, in get_extended_namespace File C:\Python25\lib\site-packages\rbtools-0.2beta2-py2.5.egg \rbtools\postreview.py, line 790, in get_previous_version ValueError: too many values to unpack Do you know how I get to the postreview.py script inside the rbtools egg to modify it? On the other hand it is easy enough for me to generate the diffs myself out of ClearCase, but is there any way for me post these directly into the RB server ? Maybe by passing them to post-review.exe but only to be posted to the RB server ? Thanks, Sassan -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en- Hide quoted text - - Show quoted text - -- 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: What is the status of ClearCase integration on Windows?
OK, I am beginning to see Dan's point of view. think I am going to put off the idea of getting RB to work with ClearCase at this point. I have discovered a reference to /vobs substring as part of the file path in postreview. # Removing anything before the last /vobs # because it may be repeated. elem_path_idx = elem_path.rfind(/vobs) if elem_path_idx != -1: elem_path = elem_path[elem_path_idx:len(elem_path)].strip(\) This apparently assumes that the vob server is running Linux/Unix which is not the case here. I could try to fix this but I am not sure where else this assumption has been made. However I do like the uploading of an abstract diff file on the client side as implemented in: http://reviews.reviewboard.org/r/1197/ Also in our software change process, code reviews are not always the final step before changes become part of the core. So technically speaking we would not even want approved changes to be checked automatically after a code review approval !! I was wondering how difficult would it be to have an entirely SCM free, partial implementation of RB in which the abstract diffs only live in RB where they go through the review/modify/approve cycle without ever having to come back to an SCM. Or if we must have one, to setup some sort of mock SCM object (Using svn, git or anything else) only to interface with RB, to receive the diff's and dumping them. Sassan On Jan 16, 4:36 pm, Christian Hammond chip...@chipx86.com wrote: Indeed.. Shame IBM isn't using Review Board (at least, I don't know if they are). Maybe they could give us a license or some code or something. Little by little, I'm setting up some build/test VMs, and I'm hoping to get to a point where we can have better post-review and Review Board tests against installed servers of various types. But it's a long, time-consuming project. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Sat, Jan 16, 2010 at 1:26 PM, Dan Savilonis d...@n-cube.org wrote: I don't know how similarly people use Clearcase, but I am fairly certain that the way my organization uses it is very non-standard. The typical review scenario would be to review modified code in a view, not checked in code. Fitting Clearcase's model into Reviewboard is a bit of square in round hole problem, though at the most basic level you can do the same thing that's done for other SCM systems: provide a base revision set and diff against it. Some of the stuff you mentioned is all possible, though it doesn't fit nicely into the ReviewBoard model as-is. Feel free to start up a thread in the dev mailing list and I'll help with whatever I can. However, I personally think your time might be better spent getting rid of Clearcase from your organization :) Christian, you'd likely need a mighty generous donor to get a Clearcase license. You'll also probably regret it once you try to set the beast up... On Jan 15, 8:02 pm, Sassan sassan...@verifone.com wrote: At least for ClearCase, most places have a standard naming convention for their views and/or config specs. Either way all it takes is for the client to prompt for and pass two view tags (strings) or config specs (small ascii files) in order for the web server to start the before and after views of the change locally on the server host and generate the diff... no file copy will be needed. This might be easier than dealing with verson extended pathnames. Dealing with directory changes (moving files from one place to another / renaming the files) is more difficult and we will need to use the ClearCase Object ID strings instead of file path names. On Jan 15, 5:51 pm, Chris Clark chris.cl...@ingres.com wrote: Thilo-Alexander Ginkel wrote: On Friday 15 January 2010 23:20:32 Sassan wrote: I am also thinking it might be a good idea to add a repository independent base functionality to the post-review script where it is handed the root directory of two source trees, before and after the change and it will then just compare the files and post a review. This way anyone with any source repository can just create the before and after soure trees outside RB and pass the roots of the source trees to the post-review script for posting. This won't work as Review Board needs to be able to access the respective SCM repository from the server-side to apply the posted diff to the base revision. For the server this is true. RE the client, http://reviews.reviewboard.org/r/1197/sortofdoes this. It allows any diff to be sent to reviewboard but it had better be a valid diff :-) Chris- Hide quoted text - - Show quoted text - -- 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
Hosting multiple RB sites on one host, one database server with multiple databases, one per RB site.
OK, so we have done this before but now cannot figure out how we did this. Here's the setup. Our system is Ubuntu 12.04.02 32-Bit Installed application versions: ReviewBoard 1.6.15 mysql Ver 14.14 Distrib 5.5.29 Apache2 http 2.2 We have one host we use to serve up review Board sites through apache2. Each Review Board site has its own database, users and repository. For example the two site we would like served up would be : http://tpareviewboard01/petro1/ http://tpareviewboard01/petro2/ We ran the following to create each site: rb-site install --debug --domain-name=tpareviewboard01.verifone.com --site-root=/petro1/ --db-type=mysql --db-name=petro1 \ --db-host=localhost --db-user=root --db-pass=12345678 --cache-type=memcached --web-server-type=apache --python-loader=wsgi \ --admin-user=admin --admin-password=12345678 --admin-email=ad...@verifone.com /var/www/petro1 rb-site install --debug --domain-name=tpareviewboard01.verifone.com --site-root=/petro2/ --db-type=mysql --db-name=petro2 \ --db-host=localhost --db-user=root --db-pass=12345678 --cache-type=memcached --web-server-type=apache --python-loader=wsgi \ --admin-user=admin --admin-password=12345678 --admin-email=ad...@verifone.com /var/www/petro2 We changed owners on the required directories after each site creation and copied the configuration files to apache2 configuration: cp /var/www/petro1/conf/apache-wsgi.conf /etc/apache2/sites-available/petro1.conf cp /var/www/petro2/conf/apache-wsgi.conf /etc/apache2/sites-available/petro2.conf Here are the content of the configuration files for apache: /etc/apache2/sites-available/petro1.conf: VirtualHost *:80 ServerName tpareqviewboard01.verifone.com DocumentRoot /var/www/petro1/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /petro1 /var/www/petro1/htdocs/reviewboard.wsgi/petro1 Directory /var/www/petro1/htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /petro1/media /var/www/petro1/htdocs/media Alias /petro1/errordocs /var/www/petro1/htdocs/errordocs Alias /petro1/favicon.ico /var/www/petro1/htdocs/media/rbcommons/images/favicon.png /VirtualHost /etc/apache2/sites-available/petro1.conf: VirtualHost *:80 ServerName tpareqviewboard01.verifone.com DocumentRoot /var/www/petro2/htdocs # Error handlers ErrorDocument 500 /errordocs/500.html WSGIPassAuthorization On WSGIScriptAlias /petro2 /var/www/petro2/htdocs/reviewboard.wsgi/petro2 Directory /var/www/petro2/htdocs AllowOverride All Options -Indexes FollowSymLinks Allow from all /Directory # Alias static media requests to filesystem Alias /petro2/media /var/www/petro2/htdocs/media Alias /petro2/errordocs /var/www/petro2/htdocs/errordocs Alias /petro2/favicon.ico /var/www/petro2/htdocs/media/rbcommons/images/favicon.png /VirtualHost And created the symbolic links in /etc/apache2/sites-enabled After restarting the apache server we get the following behavior when trying to access the reviewboard sites through a browser Access to http://tpareviewboard01/petro1/ works Access to http://tpareviewboard01/petro2/ shows URL Not found. The requested URL /petro2/ was not found on this server. Each site, if they are the only configuration in the sites-enabled directory, works flawlessly. We have searched for possible solutions to this problem and have not been able to resolve it with any suggestions found on other threads or web sites. Any help would be much appreciated. Thanks, Sassan -- 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 --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.