[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to use subversion in Ubuntu server using Wordpress for CMS

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 24 Mar 2009 00:42:04 -0500

On Mar 23, 2009, at 20:25, Maruf Khan wrote:

> We have already installed Wordpress for our non-profit org.
> intranet website on our Ubuntu server and it was loaded with info
> and pictures. Now the developer is thinking that we should have
> installed the wordpress using Suversion. I had earlier installed
> subversion last year on our Ubuntu server and it is remaining there
> unused.
>
> Could you let us know what is the best course to follow?
>
> Now shall we delete the WWW folder to delete the older version of
> Wordpress and go about downloading the new version of Wordpress
> using seuversion?

If you would like to start using Subversion to update your Wordpress
installation, that can certainly be done. Before you follow my
instructions below, please back up your Wordpress directory in case
my instructions are wrong. I'm writing this off the top of my head
and have not tested it.

First, what version of Wordpress did you already install? Find its
corresponding tag in the Wordpress Subversion repository.

http://svn.automattic.com/wordpress/tags/

For example, if you installed Wordpress 2.6, then the tag directory is:

http://svn.automattic.com/wordpress/tags/2.6/

Now, go into the directory where the Wordpress 2.6 source code is
already installed.

cd /path/to/wordpress

You can tell Subversion to check out into this existing directory.

svn co --force http://svn.automattic.com/wordpress/tags/2.6/ .

Note the very important "." at the end of the command. This means
check out into the current directory (as opposed to the default,
which would be to check out to a subdirectory of the current
directory, which is not what we want here).

Your Wordpress installation should now be the same as before, except
that it is a Subversion working copy.

Now you need to decide whether you will follow the Wordpress trunk or
stick with stable releases. Continue with "Updating to a New Trunk
Version" or "Updating to a New Stable Version" in this guide:

http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion

Alternate to my instructions above for converting your existing
Wordpress installation into a working copy, you can follow the
instructions under "Converting a 'Traditional' WordPress Blog to a
Subversion Checkout" in the guide above. They do not use the --force
option, probably because it is a new option that did not exist when
those instructions were written.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1398020

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-24 06:43:16 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.