Using Subversion
Contents:
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
Related items
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.
October 31st, 2007 at 1:34 am
[...] the Scriblio plugin. I recommend getting the files from the svn depository, either by installing Subversion or by copying all the files in the trunk into a scriblio folder in [...]
November 5th, 2007 at 7:26 pm
[...] le a Scriblio plugint. Lehet bűvészkedni svn depókkal is, de annak ellenére, hogy most már kizárólagos pingvin-fogyasztó vagyok, boldog lennék, ha [...]
December 17th, 2007 at 11:30 pm
[...] get the spelling stuff, svn up both the Scriblio plugin and theme. Machine tag support is part of bSuite, available via SVN [...]
February 27th, 2008 at 8:39 pm
[...] just posted a WordPress 2.3 compatible version of Scriblio to the SVN repository. I’ve not updated the package files yet, but Lichen’s already installed it (she got it [...]
March 13th, 2008 at 2:03 pm
[...] Batchelder wrote the JavaScript that makes it work, and all the features are incorporated in the current version of Scriblio. To implement it in an existing Scriblio installation, take a look at Matt’s [...]
March 13th, 2008 at 2:08 pm
[...] Batchelder wrote the JavaScript that makes it work, and all the features are incorporated in the current version of Scriblio. To implement it in an existing Scriblio installation, take a look at Matt’s [...]
June 7th, 2008 at 9:09 pm
[...] recently posted a significant update of Scriblio to SVN. The code is alpha quality and not ready for production, but it includes a number of enhancements, [...]