How to swap Dev to Live
First, update the Test MUD.
- Get Dev into a state where you're happy for people to use it
- Check there are no undocumented verbs (run 'undocverbs' on test)
- Check that there are no major issues with checklist (run checklist public filter critical and checklist public -all +tells filter major)
- Recalibrate the mpoints->levels table in
src/extras/levels.cc
if you've added or removed missions, or changed mpoint reward values
- Update "info news" and "info wiznews"
- Update the website news page (probably just a copy of info news)
- Increment the version number in configure.in and data/info/motd
- Make sure everything on Dev is committed
- Start a new SVN branch from Dev which will be the new Live. Do this by typing "
svn copy http://svn.cryosphere.net/cryosphere/trunk http://svn.cryosphere.net/cryosphere/branches/live_2-8
". This will create a new branch tag called "live_2-8". Replace 2-8 with the version number that live will be (See the SVN document for more detail on branches).
- Go to the folder which contains all the branches (on ellyll.net, this is /home/cryodev, and you'll need to be logged in as cryodev) and do "
svn switch http://svn.cryosphere.net/cryosphere/branches/live_2-8 cryotest
"
- Do a
make clean
and ./prepare
to build the new Test mud
- Test this fresh build thoroughly, ideally using playerfiles copied in from live
When test is in an acceptable state, you may now swap Test to Live.
- Go to the folder which contains the live MUD versions. On ellyll.net, this is under /home/cryolive and you'll need to be logged in as cryolive
- Do "
svn co http://svn.cryosphere.net/cryosphere/branches/live_2-8 live_2-8
" substituting the correct version number in as before.
- Check the mudname in mudconf, and the port number in gomud
- Check the modules listed under
data/modules
. Aberchat is typically disabled on testmud, for example.
- commit all the files you just changed. They will stay only on live's branch
- Move the ~/cryosphere symlink.
rm ~/cryosphere
, ln -sf ~/live_2-3 ~/cryosphere
- run
./prepare
- Copy
vardata
from the old live
- Create a symlink to test for
info changes
- MOve the geoip database from oldlive's data/geoip to the new location (its quite big, so don't copy it about all over the place).
- Cross fingers, shutdown live, start newlive (you8 can't just fix the symlink and reboot into newlive, sadly)
- Take a copy of the old live's log file and put it in a safe place
- Make a run of the daily cron job
~/scripts/daily.sh
to make the spodlist info files, etc
- So that the website still works,
chmod g+x
the following directories: vardata, data, data/info, data/policy, data/help, data/policy
- Tell plett and Ellyll that they need to modify their backup scripts for the new directory