Re: Trouble with post-review and py2exe

2009-07-09 Thread Mark B.

I did use easy_install to set up RBTools.  I unzipped the egg because
someone in the earlier thread pointed out that py2exe couldn't handle
zipped .egg files, so they had to be unzipped before trying to create
an executable.  My install and use of the post-review script works
fine, but I want to create the executable so I can give it to
coworkers who don't have Python installed at all.

On Jul 8, 4:06 pm, Christian Hammond chip...@chipx86.com wrote:
 Rather than unzipping the egg, you really should be using easy_install (part
 of Python setuptools, which there's a Windows installer for). This will
 register the RBTools distribution entry.

 The next version of RBTools will provide a post-review.exe automatically on
 Windows.

 Christian

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

 On Wed, Jul 8, 2009 at 6:27 AM, Mark B. mar...@maine.rr.com wrote:

  Hi,
  I have installed a demo of ReviewBoard for my company to evaluate, but
  I am having trouble with compiling post-review into an .exe as
  described in a href=http://groups.google.com/group/reviewboard/
  browse_thread/thread/d8595a6ab0b2ca56/5d9bf8331629aa4c?
  lnk=gstq=py2exe#http://groups.google.com/group/reviewboard/%0Abrowse_thread/thread/d8...this
  thread/a.  While my Python installation
  works fine, when running the .exe I get the following:

  pre
  Traceback (most recent call last):
   File post-review.py, line 4, in module
   File zipextimporter.pyc, line 82, in load_module
   File pkg_resources.pyc, line 2562, in module
   File pkg_resources.pyc, line 626, in require
   File pkg_resources.pyc, line 524, in resolve
  pkg_resources.DistributionNotFound: RBTools==0.2beta1
  /pre

  I unzipped the RBTools distribution egg as directed in the thread; it
  is in C:\Python25\Lib\site-packages\RBTools-0.2beta1-py2.5.egg.  The
  diff I am using is Cygwin's (but I am running post-review from a cmd
  prompt, not a bash prompt).  I did rename the post-review that was
  provided in the download to post-review.py, and also created an icon
  for the program.  My setup.py looks like this:
  pre
  from distutils.core import setup
  import py2exe

  setup(
         options = {'py2exe': {'bundle_files': 1}},
         console = [
             {
                 script: 'post-review.py',
                 icon_resources: [(0, reviewboard.ico)]
             }
         ],
         zipfile = None,
  )
  /pre

  I'm working on a WinXP SP 3 machine.  Can anyone help me figure out
  why the RBTools distro isn't being found?  Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Newbie to ReviewBoard

2009-07-09 Thread Karthik

Hello All-
 I was trying to find out Open Source Code review tools and I came
across Review Board. I am only familiar with Rational Clearcase for
source code management. That is the I have for usage. I have gone
through the Review board website. I am not getting how it takes the
code differences for the review. When I was trying to use the demo
website, there it asks base file path and diff to choose a file. I
don't understand what it needs to be gone here. I have following
queries regarding my usage of Review Board,
 - How do I give files to see the differences for the review.
 - Does it support Rational Clearcase repository? if not, is there any
way to tweak it?
 - Can I refer the review files directly from the repository in my
case it is Clearcase?
 - How do I give multiple files differences in a single review? since
it is always possible to have multiple files changes in a single
review.

Thanks in advance!
Awaiting for the reply!

Regards,
Karthik

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: Trouble with post-review and py2exe

2009-07-09 Thread Christian Hammond
Oh, did you run py2exe on the post-review that was in the path, or the one
that was in the RBTools*.egg/scripts directory? The one installed in the
Python scripts directory is just a wrapper for the one in the egg. What's
likely happening is that you're running it on the wrong script, and it's
still trying to wrap the installed version. If you do it on the one in the
egg, it should work.

Christian

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


On Thu, Jul 9, 2009 at 6:23 AM, Mark B. mar...@maine.rr.com wrote:


 I did use easy_install to set up RBTools.  I unzipped the egg because
 someone in the earlier thread pointed out that py2exe couldn't handle
 zipped .egg files, so they had to be unzipped before trying to create
 an executable.  My install and use of the post-review script works
 fine, but I want to create the executable so I can give it to
 coworkers who don't have Python installed at all.

 On Jul 8, 4:06 pm, Christian Hammond chip...@chipx86.com wrote:
  Rather than unzipping the egg, you really should be using easy_install
 (part
  of Python setuptools, which there's a Windows installer for). This will
  register the RBTools distribution entry.
 
  The next version of RBTools will provide a post-review.exe automatically
 on
  Windows.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
 
  On Wed, Jul 8, 2009 at 6:27 AM, Mark B. mar...@maine.rr.com wrote:
 
   Hi,
   I have installed a demo of ReviewBoard for my company to evaluate, but
   I am having trouble with compiling post-review into an .exe as
   described in a href=http://groups.google.com/group/reviewboard/
   browse_thread/thread/d8595a6ab0b2ca56/5d9bf8331629aa4c?
   lnk=gstq=py2exe#
 http://groups.google.com/group/reviewboard/%0Abrowse_thread/thread/d8..
 .this
   thread/a.  While my Python installation
   works fine, when running the .exe I get the following:
 
   pre
   Traceback (most recent call last):
File post-review.py, line 4, in module
File zipextimporter.pyc, line 82, in load_module
File pkg_resources.pyc, line 2562, in module
File pkg_resources.pyc, line 626, in require
File pkg_resources.pyc, line 524, in resolve
   pkg_resources.DistributionNotFound: RBTools==0.2beta1
   /pre
 
   I unzipped the RBTools distribution egg as directed in the thread; it
   is in C:\Python25\Lib\site-packages\RBTools-0.2beta1-py2.5.egg.  The
   diff I am using is Cygwin's (but I am running post-review from a cmd
   prompt, not a bash prompt).  I did rename the post-review that was
   provided in the download to post-review.py, and also created an icon
   for the program.  My setup.py looks like this:
   pre
   from distutils.core import setup
   import py2exe
 
   setup(
  options = {'py2exe': {'bundle_files': 1}},
  console = [
  {
  script: 'post-review.py',
  icon_resources: [(0, reviewboard.ico)]
  }
  ],
  zipfile = None,
   )
   /pre
 
   I'm working on a WinXP SP 3 machine.  Can anyone help me figure out
   why the RBTools distro isn't being found?  Thanks!
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: Trouble with post-review and py2exe

2009-07-09 Thread Mark B.

That was precisely the problem!  Thanks!  (And I am looking forward to
the .exe being included in the next release!)

On Jul 9, 3:49 pm, Christian Hammond chip...@chipx86.com wrote:
 Oh, did you run py2exe on the post-review that was in the path, or the one
 that was in the RBTools*.egg/scripts directory? The one installed in the
 Python scripts directory is just a wrapper for the one in the egg. What's
 likely happening is that you're running it on the wrong script, and it's
 still trying to wrap the installed version. If you do it on the one in the
 egg, it should work.

 Christian

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

 On Thu, Jul 9, 2009 at 6:23 AM, Mark B. mar...@maine.rr.com wrote:

  I did use easy_install to set up RBTools.  I unzipped the egg because
  someone in the earlier thread pointed out that py2exe couldn't handle
  zipped .egg files, so they had to be unzipped before trying to create
  an executable.  My install and use of the post-review script works
  fine, but I want to create the executable so I can give it to
  coworkers who don't have Python installed at all.

  On Jul 8, 4:06 pm, Christian Hammond chip...@chipx86.com wrote:
   Rather than unzipping the egg, you really should be using easy_install
  (part
   of Python setuptools, which there's a Windows installer for). This will
   register the RBTools distribution entry.

   The next version of RBTools will provide a post-review.exe automatically
  on
   Windows.

   Christian

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

   On Wed, Jul 8, 2009 at 6:27 AM, Mark B. mar...@maine.rr.com wrote:

Hi,
I have installed a demo of ReviewBoard for my company to evaluate, but
I am having trouble with compiling post-review into an .exe as
described in a href=http://groups.google.com/group/reviewboard/
browse_thread/thread/d8595a6ab0b2ca56/5d9bf8331629aa4c?
lnk=gstq=py2exe#
 http://groups.google.com/group/reviewboard/%0Abrowse_thread/thread/d8..
  .this
thread/a.  While my Python installation
works fine, when running the .exe I get the following:

pre
Traceback (most recent call last):
 File post-review.py, line 4, in module
 File zipextimporter.pyc, line 82, in load_module
 File pkg_resources.pyc, line 2562, in module
 File pkg_resources.pyc, line 626, in require
 File pkg_resources.pyc, line 524, in resolve
pkg_resources.DistributionNotFound: RBTools==0.2beta1
/pre

I unzipped the RBTools distribution egg as directed in the thread; it
is in C:\Python25\Lib\site-packages\RBTools-0.2beta1-py2.5.egg.  The
diff I am using is Cygwin's (but I am running post-review from a cmd
prompt, not a bash prompt).  I did rename the post-review that was
provided in the download to post-review.py, and also created an icon
for the program.  My setup.py looks like this:
pre
from distutils.core import setup
import py2exe

setup(
       options = {'py2exe': {'bundle_files': 1}},
       console = [
           {
               script: 'post-review.py',
               icon_resources: [(0, reviewboard.ico)]
           }
       ],
       zipfile = None,
)
/pre

I'm working on a WinXP SP 3 machine.  Can anyone help me figure out
why the RBTools distro isn't being found?  Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



ClearCase and Reviewboard setup.

2009-07-09 Thread Oliver Jones

According to the ReviewBoard 1.0 release notes ReviewBoard is supposed
to support ClearCase out of the box.

However once I had ReviewBoard 1.0 installed on my Windows server the
config section's Scmtools area didn't mention ClearCase.

After a little Googling I found that you need to add the ClearCase
SCMTool manually into the DB.  That I have done.

Now I assume I need to add a repository.  However I have no idea what
to enter into the Path configuration item when adding the repo.

This page contains info on determining the path with SVN, Git, etc,
but not ClearCase:
http://www.review-board.org/docs/manual/dev/admin/management/repositories/#determining-repository-information

Is ClearCase actually supported??

Reading the post-review script it also appears that the clearcase code
assumes you're using Cygwin.  We do not have Cygwin installed here.
And getting it installed could be difficult.

It also seems to hard code the vob location.

Can someone who has actually gotten ClearCase and ReviewBoard to play
nice with each other in a Windows (non-Cygwin) environment help me out
here.

Thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 1183 in reviewboard: Viewing diff in review request causes traceback involving memcache

2009-07-09 Thread codesite-noreply


Comment #3 on issue 1183 by ksee.zelgadis: Viewing diff in review request  
causes traceback involving memcache
http://code.google.com/p/reviewboard/issues/detail?id=1183

Ah, upgrade to 1.0 helped. Thanks.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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



Issue 1213 in reviewboard: reviewboard doesn't show empty files from Files Changed listing

2009-07-09 Thread codesite-noreply

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 1213 by zhirsch: reviewboard doesn't show empty files from Files  
Changed listing
http://code.google.com/p/reviewboard/issues/detail?id=1213

What version are you running?

Whichever version is used inside VMware.

What's the URL of the page containing the problem?

Any review request.

What steps will reproduce the problem?
1. Create a change that adds an empty file to Perforce
2. Post this change
3. Look at the review request, notice that the empty file does not show up
in the Files Changed listing

What is the expected output? What do you see instead?

Empty files should be shown just like any other file.

What operating system are you using? What browser?

Debian unstable, iceweasel 3.0.11.

Please provide any additional information below.

I ran into this when posting a review that contained empty __init__.py  
files.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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