Using Subversion

Subversion (SVN) is an free version control system, and according to Wikipedia, it’s the most popular VCS in the open source community. But its popularity isn’t nearly as important as what it does: make it easier to keep things up to date.

Subversion can operate as both a client and server, but to use it with Scriblio, all you’ll need is the client. The client software runs on whatever computer you’re hosting (or developing) Scriblio on, and at your command will update the Scriblio software to the latest available (it can do a lot more, see below).

Installation

Subversion is available for a number of platforms, but if you’re hosting Scriblio/WordPress on Linux, it can most easily be installed using YUM. On RedHat 5.x, Fedora, and CentOS (and others?) simply entering this command as root will do all the work:

yum install subversion

It’s also worth noting that most of the development of Scriblio is done on Mac OS X, where SVN is run as a command line application with an easy graphical installer.

Usage

You can download the Scriblio plugin directly into your WordPress plugins folder.

Change directories into the plugins folder:
cd wp-content/plugins/

Tell SVN to get the code from the server and put it into a folder named “scriblio”:
svn checkout http://svn.scriblio.net/plugin/trunk/ scriblio

Similarly, you can cd into the site’s wp-content/themes directory and download the Scriblio theme:

svn checkout http://svn.scriblio.net/theme/trunk/ scriblio

There’s no need to untar or unzip the files, SVN puts all of the files in the folder you specify, ready for you to activate them. And updating is even easier, simply cd into wp-content/plugins/scriblio (or the theme’s directory), and tell SVN to update:

svn update

Other commands you should explore:

svn info
svn status
svn diff
svn help

Status

Information from the repository about the last several updates:

  • Revision 59: updated 2008-04-24 14:52:44 -0400 (Thu, 24 Apr 2008), by bisson:
    revamped handling of javascript. moved it from the default theme into the plugin so it should work with any theme.
    Changed files:
    • A plugin/trunk/js/
    • A plugin/trunk/js/jquery.suggest.js
    • A plugin/trunk/js/scrib.googlebook.js
    • U plugin/trunk/scriblio.php
  • Revision 58: updated 2008-04-21 11:31:18 -0400 (Mon, 21 Apr 2008), by bisson:
    added a work around for a problem with the activation hook in the catalog importer.
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 57: updated 2008-04-08 10:01:05 -0400 (Tue, 08 Apr 2008), by bisson:
    oops. more bug fixes to flickr importer
    Changed files:
    • U plugin/trunk/importer_flickr.php
  • Revision 56: updated 2008-04-08 09:55:41 -0400 (Tue, 08 Apr 2008), by bisson:
    bug fixes to flickr importer
    Changed files:
    • U plugin/trunk/importer_flickr.php
    • U plugin/trunk/scriblio.php
  • Revision 55: updated 2008-04-05 09:23:19 -0400 (Sat, 05 Apr 2008), by bisson:
    updated flickr importer
    Changed files:
    • U plugin/trunk/importer_flickr.php
  • Revision 54: updated 2008-04-04 14:36:41 -0400 (Fri, 04 Apr 2008), by bisson:
    small fix to importer.php
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 53: updated 2008-04-04 11:18:24 -0400 (Fri, 04 Apr 2008), by bisson:
    added flickr importer
    Changed files:
    • U plugin/trunk/importer.php
    • A plugin/trunk/importer_flickr.php
    • U plugin/trunk/scriblio.php
  • Revision 52: updated 2008-04-02 21:39:54 -0400 (Wed, 02 Apr 2008), by bisson:
    fix to get_the_tags for WP2.5 compatibility; fix to suggest.php.
    Changed files:
    • U plugin/trunk/scriblio.php
    • U plugin/trunk/suggest.php
  • Revision 51: updated 2008-03-12 14:44:48 -0400 (Wed, 12 Mar 2008), by bisson:
    Google Book Search integration support added to default theme.
    Changed files:
    • U theme/trunk/header.php
    • A theme/trunk/scripts/jquery.googlebook.js
  • Revision 50: updated 2008-03-12 14:41:17 -0400 (Wed, 12 Mar 2008), by bisson:
    Google Book Search integration optimized.
    Changed files:
    • U plugin/trunk/scriblio.php
  • Revision 49: updated 2008-03-04 17:01:40 -0500 (Tue, 04 Mar 2008), by bisson:
    added caching to that function, also forgot to mention bugfixes to the suggest code in the previous update.
    Changed files:
    • U plugin/trunk/scriblio.php

6 Responses to “Using Subversion”

Leave a Reply

Comments should show a courteous regard for the presence of other voices in the discussion. We reserve the right to edit or delete comments that do not adhere to this standard.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>