Textpattern

Return to main site

Related

Frequently Asked Questions

How do I fetch the current development version?

Q.

How do I fetch the latest copy of Textpattern from Subversion?
Which branch or release should I use?
Where can I get old versions of Textpattern?
What is “Crockery”?

A.

The Textpattern source code is stored in a Subversion repository at http://textpattern.googlecode.com/svn/. The important branches are:

/releases/ – contains a copy of each official Textpattern release, identical to the .zip/.tar.gz downloads. This is mostly useful if you’re looking for an old version.

/development/4.0/ – the 4.0.x branch. This is where we work towards each new release (4.0.1, 4.0.2, etc). Please note that, while the 4.0.x branch is intended to be stable and reliable, the changes between releases occasionally include errors or omissions. If you’re looking for the most reliable current copy of Textpattern, use the latest release.

/development/crockery/ – this is our playground for the next major release (4.1). Anything goes here: it’s experimental, unreliable, and subject to change. Do not use this for a live site, don’t point it at a live database, and don’t expect it to work perfectly (or at all).

To download from Subversion, you’ll need to install the svn command-line client (for most Unix-based systems, including OS X), or Tortoise SVN (Windows). We don’t recommend using wget or similar programs to fetch from the subversion repository, as you’ll lose revision information.

Unless you’re planning on modifying and maintaining your own copy of Textpattern, the best way to fetch a copy is using Subversion’s Export command:

Tortoise SVN

In Windows Explorer, right-click on a directory, and select Tortoise SVN > Export....

For URL of repository, use http://textpattern.googlecode.com/svn/development/4.0/.

For Export Directory, select an appropriate folder (create a new one if necessary).

For Revision, leave the setting as “HEAD”.

Click Ok. Tortoise SVN will download Textpattern to the selected directory, offering to overwrite old files if they exist.

Command line

To download to a subdirectory named “4.0”:

$ svn export http://textpattern.googlecode.com/svn/development/4.0/

To download to a specific directory:

$ svn export http://textpattern.googlecode.com/svn/development/4.0/ mydir/

If the directory already exists, svn will stop. To force it to overwrite an existing directory:

$ svn export --force http://textpattern.googlecode.com/svn/development/4.0/

or

$ svn export --force http://textpattern.googlecode.com/svn/development/4.0/ mydir/

To fetch a different branch with any of these methods, substitute the appropriate branch URL.

Posted 3 October 2005, 02:44 by Alex Shiels

---