Tag: subversion

local and remote subversion repositories with Capistrano 2

Peeking at the code of the upcoming Capistrano 2, I noticed you can define different scm variables for remote and local use, which is something I need (I was looking at the code in the hope it could do this :)

So, say I have my code stored in a subversion repository on my local disk, say file:///project/trunk. That’s fine for when Capistrano is querying the latest revision, but the remote servers need to use the repository url svn+ssh://mymachine/project/trunk.

Without modifying the code, this was impossible with Capistrano v1. With Capistrano v2, you can prefix any scm configuration variable with local_ and it will be used for local operations:

set :repository, "svn+ssh://mymachine/project/trunk" 
set :local_repository, "file:///project/trunk"

Subversion

I’ve upgraded to subversion for version tracking of source code instead of moudly old cvs. I had a little trouble keeping my old modification history but don’t really care. The only feature I’m missing is the Log keyword that I used to add to the bottom of my html pages as a comment. Otherwise I’ve been very impressed. I’m working on getting a viewcvs interface up for a remote copy of my repository soon.

subversion endianness and xbox

It turns out the Berkely DB format that Subversion uses (or subversions use of it) is Endian specific. This means I can’t just move my repository from my PowerPC to my x86. I needed to dump it on my ppc (svnadmin dump ~/subversion > svn.dump) and load it into an empty repository on my x86 (svnadmin load ~/subversion < svn.dump). Bleh.

I've been fiddling with my Microsoft subsidised games console. I've cleaned up the code provided by the xbox-linux project to create a Linux kernel with xbox partition and file format (FATX) support). The patches for 2.4.22 and some RedHat 9 RPMS are available. I'll write it all up soon and provide 2.4.23 patches.