I've been mucking around with subversion a bit lately. It's all pretty dreary stuff, but if I don't write it down I'll forget it.

First, there are three projects I'm working on at the moment that make use of other open source software, so to avoid whacking someone else's code into my repo, I've set up some svn:externals. A succinct explanation of setting up externals can be found here.

One of those open source projects I'm using is the Zend GData library, which I use to interact with YouTube from a Habari plugin. One pain is that svn:externals can only externalise directories, but the GData library has the class files in a directory all together and support code in per service directories. Therefore, I've got to include the whole thing just to use YouTube. Bummer.

Second, a couple of things crossed my radar related to hooks, so I thought I'd have a play. I used this article about checking PHP syntax on commit as a starting point, and hacked up a quick check on the commit log for habari-extras to make sure that the entry starts with "plugin" or "theme" so that committers remember to identify what they're committing to. It probably won't get used, but it was interesting. The thread discussing it is here

I've been using subversion for all my versioning needs for a while now, but I've always either used existing repositories or set the repository up in a user account. I'd like to give other local users the ability to commit to some of the projects I'm working on, so I've been trying to set up a subversion repository in the directory root. After a number of false starts, I've got what I think is a sensible solution. I'll document the false starts and the solution here. I created a group called svn, and I'll add anyone who I want to ...
[read more]