Offline Installation - and which version anyway?

2010-03-25 Thread Paul Scott
I've been looking at code review tools on and off for a couple of
years now. I keep coming back to Review Board as the best choice (we
use Perforce) but get put off by the installation requirements.

I would need to install it on a machine that is not and cannot be
connected to the Internet, so I'm guessing that messes up any chance
of easy_install working. I can see myself having days of tracking down
the right versions of the many dependencies and then having no idea
what's wrong when it fails... I've had bitter experiences in the past,
does it show?...

What would be ideal for me would be a VM Appliance of some sort, pre-
installed and ready to go. It looks like there is one about from
rBuilder(?) but that was mid-2008 and I think RB has moved on quite a
bit since then.

On that note, which version should I install for testing?  last time I
took a serious look at installing it seemed to be at the beta 'just
about to release' stage for a long time, until I gave up waiting. Is
1.5 likely to be any better, and released fairly soon now?

Sorry if this sounds whiny, it's just that RB looks like it's easily
the best choice for us - and yet the install looks like a nightmare
compared to almost anything else I've installed in the last 10 years.
I really do want to try it out, so any guidance is welcome.

(PS While I was looking at it again this time, an example of the sort
of thing that worries me is that the Wiki says I need to get cmemcache
- but the cmemcache page linked to starts off by saying 'this is
obsolete, use something else instead' without saying what... not a
confidence builder).

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

To unsubscribe from this group, send email to 
reviewboard+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: Offline Installation - and which version anyway?

2010-03-25 Thread Christian Hammond
Hi,

Due to the nature of Python packaging and our reliance on third party
packages, we don't have a single download that covers everything. However,
there is a way you can make life a lot easier for yourself.

On a separate machine, run:

easy_install -zmaxd . ReviewBoard

This will grab the latest stable release of Review Board, plus all required
Python dependencies.

You will also need to grab the optional dependencies for Perforce. This is
harder, due to the nature of Perforce's p4api binding installation.
Basically, there's a lot of manual work to install those bindings, so we
wrote a script that auto-downloads and does it for you. However, if you
can't download, it does mean you'll have to do some of this yourself.

Best I can really recommend there is looking at
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller/setup.py and
seeing what you need to replicate on that system. However, if you run these
steps on another computer running the same version of the distro that you
will install onto, you can probably just run this directly and copy over the
resulting package. To run this normally, you'd type:

easy_install P4PythonInstaller

We do want to build a VM. It's been stalled, mainly because we're pretty
busy as it is and don't have the time to dedicate to set up a good automatic
build process for one, support it, and host it (bandwidth is expensive).
Hopefully we'll do this for 1.5.

As for testing, that's sort of up to you. 1.0.x will be more stable, but 1.5
has some nice features. There are bugs, though, that you very well might
hit. If you can live with that, knowing that it is a beta, then I'd
recommend that. You can download all the packages for this by doing:

easy_install -zmaxd . -f
http://downloads.reviewboard.org/releases/ReviewBoard/1.5/ -U ReviewBoard

Right now, with 1.5, I'm doing a complete overhaul of our web API, which
will give third party tools better integration. It needs to happen now, and
it's a bit of work, so it's delaying things a bit. Once that's done and is
properly tested, I'm putting out 1.5 beta 2. After that, it's a matter of
fixing bugs. I'm personally hoping for another couple months max. Again,
though, this is not our day job, so the amount of time we have fluctuates.

The cmemcache issue is a Django issue, which has been reported to them and
they're looking into it. There's a replacement for cmemcache, but Django
does not yet support it in the version we depend on. It's certainly annoying
and doesn't look good, but we're waiting for a solution as well.

Unfortunately, we are at the mercy of Python packaging, which today is a bit
of a mess (they're working on improving that considerably at the moment). I
would like down the road for us to have a single installer that handles all
this for the user. We're just not there yet.

Christian

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


On Wed, Mar 24, 2010 at 8:53 AM, Paul Scott yoy...@gmail.com wrote:

 I've been looking at code review tools on and off for a couple of
 years now. I keep coming back to Review Board as the best choice (we
 use Perforce) but get put off by the installation requirements.

 I would need to install it on a machine that is not and cannot be
 connected to the Internet, so I'm guessing that messes up any chance
 of easy_install working. I can see myself having days of tracking down
 the right versions of the many dependencies and then having no idea
 what's wrong when it fails... I've had bitter experiences in the past,
 does it show?...

 What would be ideal for me would be a VM Appliance of some sort, pre-
 installed and ready to go. It looks like there is one about from
 rBuilder(?) but that was mid-2008 and I think RB has moved on quite a
 bit since then.

 On that note, which version should I install for testing?  last time I
 took a serious look at installing it seemed to be at the beta 'just
 about to release' stage for a long time, until I gave up waiting. Is
 1.5 likely to be any better, and released fairly soon now?

 Sorry if this sounds whiny, it's just that RB looks like it's easily
 the best choice for us - and yet the install looks like a nightmare
 compared to almost anything else I've installed in the last 10 years.
 I really do want to try it out, so any guidance is welcome.

 (PS While I was looking at it again this time, an example of the sort
 of thing that worries me is that the Wiki says I need to get cmemcache
 - but the cmemcache page linked to starts off by saying 'this is
 obsolete, use something else instead' without saying what... not a
 confidence builder).

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