Add a script for testing upgrades.

Review Request #2500 — Created July 28, 2011 and submitted — Latest diff uploaded


Review Board


Add a script for testing upgrades.

This introduces a new script, ./contrib/internal/, which will
test upgrading Review Board installs. It can be given a list of branch or
tag names, and will install a brand new installation using the first version,
and then perform an upgrade on every subsequent version.

By default, this will use sqlite as the database, but it takes
--database-type, --database-name, --database-user, and --database-password
parameters in order to test with other databases.

This also updates prepare-dev to take the same parameters, plus --no-db
and --no-media.
Ran this several times on sqlite and MySQL, with various combinations of versions.
I went through every major version and point release from 1.0 to 1.6rc2 without