New script to perform the upgrade of the site.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 12 Oct 2010 14:47:38 +0000 (16:47 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 12 Oct 2010 14:47:38 +0000 (16:47 +0200)
commitda501b1f1c06207daf29e70142eee8409869c9f7
tree42a0dec96aa8c2ad4a7a5ea577d5bc22475944c6
parente5e324bc6b0d84a9bb440fb238c01d7c226e3577
New script to perform the upgrade of the site.

Instead of calling:
 % cd upgrade/{version}/
 % ./update.sh
The migration of the db can be done through:
 % upgrade/update.sh

The script will automatically discover the version of the upgrade scripts
to be run.

Note: my goal is to build a script that can be used to perform most of the
steps of the migration, not only the upgrade of the db and, if possible,
that can detect the needed upgrades (let say "what must I do to upgrade
this site that ran platal 0.10.1 to platal 1.0.1"). Feel free to
improve this script.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
upgrade/update.sh [new file with mode: 0755]