Aaron Judd

2 Posts tagged with the osx tag
0

Joao asked me to write up the process I used to move our subversion repositories, so here it is.

This was actually embarassingly easy, considering the potential for problems!

Our old subversion repository was running on a RHEL/CENTOS 3.4 linux installation, using a httpd webdav, and the filesystem version of SVN.
The new server is an Intel OS X Server (10.4).

The steps I took.

First, I re-arranged the older svn folders using Finder, connecting as a webdav client. I though this would make things easier, because I knew I wouldn't be setting up webdav once I installed on the OSX server. However, in the end it turned out to be unnecessary, and it would have been nice to have keep a pristine "old" backup of the svn prior to the move (by simply shutting down the old server). Instead, even though it worked out fine, the old box has some of the re-arrangments commited.

After I liked my new layout I installed the Subversion server on OSX.

I had actually installed SVN about a week earlier (just for the client), but hadn't done anything with it, so forgive this part!
I either installed this http://www.codingmonkeys.de/mbo/ or I installed this: http://downloads.open.collab.net/binaries.html

I think I might have actually installed both of them, in that order. In any case, in the future I think I would use the collab.net install - since it seems destined to become the more 'official' release for all platforms.

I then followed these instructions to the letter (don't forget to read part 1) http://wolfpaulus.com/journal/osx/minisvn2.html

I made the repositories in /usr/local/svn-repos/webapplica

Next on the old server I ran:

svnadmin dump /var/lib/polarion/data/svn/repo | ssh -C x1.webapplica.com /usr/local/bin/svnadmin load /usr/local/svn-repos/webapplica

This moved the entire repository over from the old server and commited into the new server.

I changed the passwd file and added our existing users (I think). This is the only part of the process that I think is lame - this should rely on some system user/password list I think. I also had to do this by hand rather than copying from the old server, because the old server was running polarion, which was handling the user access.

I opened up the port in our firewall, and tested - everything looked good.

Finally I installed fisheye - You can check that out here: http://webapplica.org:8081/

All done.

Because I decided against using the webdav server (for now), we are using the native svn server, so the repository access is really simple now:

svn://webapplica.org

Piece of cake - now all that is left is for you guys to put the code back in working shape after I re-arranged everthing (that's probably the harder job).

-Aaron

0 Comments Permalink
0

OSX Tip

Posted by aaronjudd Jun 9, 2007

I am always amazed - it seems everyday I learn something totally new on OS X. Even better, after I learn the new thing - it almost always seems astoundingly simple and I wonder why I never tried it before. For instance:

You can drag applications, folders, aliases, scripts to the toolbar of Finder.

In my mind, this just added huge amounts of coolness because I am a big fan of creating shorcuts and custom folders.

0 Comments Permalink

Recent Comments

No recent comments.

Popular Tags

View all

Archives