09.06.05

Posted in Teh LAN at 5:21 pm by jasonb

I finally upgraded to WordPress 1.5.2.

Then, I upgraded to the latest Gallery2 release candidate, RC2, locally. As usual, a bunch of files changed, so I used rsync to neatly clean up any files that had been removed. I am still not sure why the G2 upgrade process merely warns you some files have been removed from the package and does not simply remove them.

$ cp config.php /tmp
$ rsync -a --exclude 'g2data' --delete /usr/src/gallery2/ .
$ cp /tmp/config.php .

Afterwards, I ran my hand push_g2data script to sync up with my remote. It even handled the upgrade seemlessly so the remote is also running the latest version of G2. Slick. Of course if the script gets interrupted during the process, things may be left in an inconsistent state. (Mostly the database could need to be dropped and recreated as interrupting rsync is not fatal in this case.)

Leave a Comment

I'm the abundant Wordpress Hashcash!