Posts Tagged subversion

automatic wordpress update with subversion and wptool

i’m updating and upgrading my wordpress installations per cronjob with the cool wptool from Christiane Ruetten, published in German “c’t magazin fuer computertechnik”.

This little script uses the http://svn.automattic.com/wordpress/ as subversion base.
Today this location is not available and the update terminates with the following failure:

svn: PROPFIND request failed on '/wordpress/tags/2.8'
svn: PROPFIND of '/wordpress/tags/2.8': could not connect to server (http://svn.automattic.com)

Don’t know, if this is forever or a temporary failure.
If wordpress.org moved their svn repository to core.svn.wordpress.org completely, the wordpress wiki must be updated!

To update wordpress installations from the “new” core.svn.wordpress.org repository with wptool, some slight modifications are necessary:

1. go to wordpress installation directory and relocate the svn repository

cd /usr/local/your_wordpress_dir
svn switch --relocate http://svn.automattic.com/wordpress/tags/2.8 http://core.svn.wordpress.org/tags/2.8

2. update the wptool script

#svn_base='http://svn.automattic.com/wordpress/'
#lang_base='http://svn.automattic.com/wordpress-i18n/'
svn_base='http://core.svn.wordpress.org/'
lang_base='http://core.svn.wordpress.org/'

3. run the upgrade again

./wptool upgrade /usr/local/your_wordpress_dir
...
Updated to revision 11719.

Success!

1 comment Saturday, 18 July 2009


Categories

Tags

agile air bugs confluence georgia google intellij java linux mail mobile monitoring netbeans php postfix postgres russia scrum security software subversion symfony twitter ubuntu ubuntu mail web wordpress

Blogroll