Add prepare-dev.py to pre 1.1 version of Reviewboard
Review Request #1177 — Created Oct. 23, 2009 and discarded
Added prepare-dev.py to pre 1.1 version (viz. release-1.0.5.1) of Reviewboard. The tool for setting up a quick test/dev server with RB 1.1 is really easy to use. I missed it when I tried to go to a stable version for some testing/hacking. I've simply copied the template and script for setting up a quick dev server. I suspect the extra 1.1 template settings are not appropriate so this review uses a completely different name. I do no expect this change to be accepted as is! Main diffs are: 1) adds prepare-dev.py from 1.1 BUT with some tweaks so that it works for 1.0.5.1 2) updated (well renamed) template file, defaults to sqlite, etc. May well have some 1.1 specific settings in it that should not be there 3) I ended up removing the site.sync_database(allow_input=True) call - under 1.1 I found this did not work and a manual syncdb call was needed. If the approach is approved, I'm happy to update and remove the commented out code and update the template (with content from 1.1).
git clone git://github.com/reviewboard/reviewboard.git cd reviewboard git checkout release-1.0.5.1 # branch.... # hack attached diffs python contrib/internal/prepare-dev.py reviewboard/manage.py syncdb ./contrib/internal/devserver.sh
CL
- Change Summary:
-
Copied 1.1 template over 1.0.5.1 template. I hope the two are compatible ;-) I've had no problems using a 1.1 template with my 1.0.5.1 testing environment. Attempted to address review comments. NOTE see review http://reviews.reviewboard.org/r/1183/ which is related to the "this doesn't work under 1.1" comment. I suspect after http://reviews.reviewboard.org/r/1183 has been reviewed this review will also need an update. E.g. remove the commented out code.