New version of SVN::Web in the offing

nik on 2005-11-02T12:52:29

I've been spending much of the last few weeks polishing up SVN::Web. It's a simple way to browse SVN repositories online, view diffs, compare revisions, check out log entries, and so forth.

Originally written by Chia-liang Kao, of SVK fame, he's handed the maintainer reins over to me.

Changes in the new version include:

An overhauled set of templates, so the out-of-the-box experience is much nicer.

A 'view' action that shows the contents of a file, along with the most recent log message.

More customisation options, making it easier to add or remove actions from the list of things that SVN::Web is allowed to do.

Added huge swathes of information to the documentation. It should now be much easier for anyone else to contribute code and/or templates to SVN::Web.

A fix for rt#12431.

A mechanism to 'stack' Template Toolkit filters. You can run easily run log messages through an arbitrary number of filters, without causing problems if one or more of the filters is not installed.

Inline display of some content from the repository where appropriate (e.g., viewing an image works properly).

Fixed a bug that meant the results from the automated tests weren't valid. Fixed the bugs that this uncovered.

And much more. It'll be hitting CPAN shortly. In the meantime, you can see the code (and the new, shiny, trac inspired interface) here.


Nice timing..

jk2addict on 2005-11-02T15:27:01

I just uploaded Catalyst-Model-SVN last night: http://use.perl.org/user/jk2addict/journal/27414

I'd like to pick your brain sometime about SVN::Web and using the SVN::Core modules better. Specifically, things like getting long entries on the fly using callbacks in SVN::Ra instead of making seperate calls to SVN::Clientr->log for each item returned by SVN::Client->list, etc.

Catalyst-Model-SVN is geard towards brosing any repository using http:/// svn://, or file:///. I get the feeling that a lot of the speedups and using different svn core modules are more geared towards local file system copies.

But I digresss... :-)