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 stable version 2.3v6 from the server and put it into a folder named “scriblio”:
svn checkout http://svn.scriblio.net/plugin/tags/2.3v6/ 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

Repository Layout


Stable versions can be found in /tags, here:

Development versions are in /trunk:

Repository Status


Information from the repository about the last several updates:

  • Revision 85: updated 2008-09-18 14:32:10 -0400 (Thu, 18 Sep 2008), by bisson:
    fixed a problem where the search suggest would give duplicate entries if the search term exactly matched one or more of the results.
    Changed files:
    • U plugin/trunk/suggest.php
  • Revision 84: updated 2008-09-18 14:30:51 -0400 (Thu, 18 Sep 2008), by bisson:
    improved reliability with importer, fixed bug with publication dates in III importer, fixed bug with character set transcoding in III importer
    Changed files:
    • U plugin/trunk/importer.php
    • U plugin/trunk/importer_iii.php
  • Revision 83: updated 2008-07-31 15:36:00 -0400 (Thu, 31 Jul 2008), by bisson:
    fiddling with the importers to improved performance
    Changed files:
    • U plugin/trunk/importer.php
    • U plugin/trunk/importer_iii.php
  • Revision 82: updated 2008-07-14 11:34:06 -0400 (Mon, 14 Jul 2008), by bisson:
    fixed the textthis feature.
    Changed files:
    • U plugin/trunk/scriblio.php
  • Revision 81: updated 2008-07-01 11:04:22 -0400 (Tue, 01 Jul 2008), by bisson:
    cache…nah, no need for cache.
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 80: updated 2008-07-01 10:56:38 -0400 (Tue, 01 Jul 2008), by bisson:
    further small optimizations to the publishing of harvested records
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 79: updated 2008-07-01 08:58:46 -0400 (Tue, 01 Jul 2008), by bisson:
    improvements to the passive record updating and optimization of the bulk publish functions
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 78: updated 2008-06-30 17:31:07 -0400 (Mon, 30 Jun 2008), by bisson:
    fixed another bug
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 77: updated 2008-06-30 17:28:06 -0400 (Mon, 30 Jun 2008), by bisson:
    oopsies
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 76: updated 2008-06-30 17:27:01 -0400 (Mon, 30 Jun 2008), by bisson:
    a sanity check on the insert_post() function to prevent inserting of blank records, and fakejackets now reduced to thumbnail size only
    Changed files:
    • U plugin/trunk/importer.php
  • Revision 75: updated 2008-06-30 17:22:57 -0400 (Mon, 30 Jun 2008), by bisson:
    added a function to check the harvest table for a single sourceid and update the post table with a new record if available
    Changed files:
    • U plugin/trunk/importer.php


7 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>