Using SVN for rails plugins
One way to add functionality to Rails is to use the plugin framework. It seems pretty simple, you put your stuff in SVN and then do an install ala:
script/plugin install http://path.to.svn.server/project
Seemed simple enough. Problem is that the way it works is moronic. It grabs the HTML for page that you’d normally see in the browser, parses it using regex’s (a XML or HTML parsing library would be too much to ask). And then tries to download every file it can find.
Only problem is that it will also include the svnindex.xsl file if you’ve set up nice SVN pages following something like this and for some reason blow up at that point. Looking at the code, it only follows relative links, so the answer is to change Apache to use a full path to the xsl, so from:
SVNIndexXSLT /svnindex.xsl
…to:
SVNIndexXSLT http://svn.clearwind.ca/svnindex.xsl
The script ignores it and life continues.