I'm >< this close to releasing SVN::Web 0.50. There are several major
changes in this version, the most dramatic of which is that SVN::Web now
supports accessing remote repositories.
In other words, you can have something like this in your config.yaml:
repos:
local_repo: file:///path/to/repo
some_repo: svn://host/path/to/repo
other_repo: http://host/path/to/repo
and it'll work. The work to do this has also meant that the Diff and
Revision operations are considerably faster and more memory efficient. Also, SVN::Web::Blame is now implemented, which I know some people have been
waiting for.
If you'd like to try out 0.50, fetch the code from:
svn://jc.ngo.org.uk/nik/CPAN/SVN-Web/branches/svn-client/
and run:
% perldoc CHANGES.pod
% perldoc UPGRADING.pod
% perl Build.PL
% ./Build
% ./Build test
% ./Build install --install_base /some/path
(use the --install_base option if you don't want to overwrite a pre-existing
SVN::Web installation)
Feedback welcomed.
Re:lots of errors when running "./Build test"
nik on 2006-11-10T18:25:59
You need Template Toolkit installed, plus a few other dependencies. They should have been noted when you ran "perl Build.PL". Where there no warnings?Re:lots of errors when running "./Build test"
vjo on 2006-11-10T18:43:12
yep, just misunderstood the "You may wish to install the.." part as you-don't-have-to
I will give it a go later after installing the missing modulesRe:lots of errors when running "./Build test"
vjo on 2006-11-10T22:45:08
Now i can see the front page (svnweb-server) but get the following error when selecting my repository
Repository List / web-vj @ r
An error occured
Usage: svn_client_info(path_or_url,peg_revision,revision,receiver,receiver_baton,recurs e,ctx,pool); at/System/Library/Perl/5.8.6/CGI/Carp.pm line 314.
Re:lots of errors when running "./Build test"
nik on 2006-11-11T11:55:52
Hmm. Which version of Subversion are you running?Re:lots of errors when running "./Build test"
vjo on 2006-11-11T14:06:16
> svn --version
svn, version 1.2.3 (r15833)
compiled Sep 30 2006, 19:44:50
> uname -a
Darwin vj-mac.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
I did not build svn myself but used the fink package system
~/src/svn-client> sudo fink apropos svn | grep ^.i
i svn-client-ssl 1.2.3-1012 Subversion - Client (with SSL)
i svn-ssl 1.2.3-1012 Subversion - svnserve, tools (with SSL)
i svn-ssl-dev 1.2.3-1012 Subversion - Development headers and libraries (with SSL)
i svn-ssl-shlibs 1.2.3-1012 Subversion - Shared libraries (with SSL)
i svn-ssl-swig-pm586 1.2.3-1012 Subversion - Swig Perl bindings (with SSL)
i svn-ssl-swig-pm586-shlibs 1.2.3-1012 Subversion - Swig Perl Shared libraries (with SSL)
~/src/svn-client>Re:lots of errors when running "./Build test"
nik on 2006-11-11T22:00:12
Hmm. It's possible I've used stuff in the client libraries that's only available in later releases of Subversion.
That would be useful information to have. Would it be possible for you to try with Subversion 1.3.x or 1.4, and see if that resolves the problem for you?Re:lots of errors when running "./Build test"
vjo on 2006-11-12T22:53:53
After a lot of difficulty i managed to install
subversion @1.4.2_0 (active)
subversion-perlbindings @1.4.0_0 (active)
via the 'port' package system. Unfortunately it leaves me with broken perl bindings. Both 'perl -w/usr/local/bin/svnweb-server' and 'perl -MSVN::Client -e 'print'' fails with symbol not found
$ perl -MSVN::Client -e 'print'
Can't load '/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/auto/SVN/_Core/_Core.bundl e' for module SVN::_Core: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/auto/SVN/_Core/_Core .bundle, 1): Symbol not found: _PL_sv_undef
Referenced from:/opt/local/lib/libsvn_swig_perl-1.0.dylib
Expected in: flat namespace
at/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/SVN/Base.pm line 59
BEGIN failed--compilation aborted at/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/SVN/Core.pm line 5.
Compilation failed in require at/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/SVN/Client.pm line 4.
BEGIN failed--compilation aborted at/opt/local/lib/perl5/vendor_perl/5.8.8/darwin-2level/SVN/Client.pm line 4.
Compilation failed in require.
BEGIN failed--compilation aborted.
Re:lots of errors when running "./Build test"
vjo on 2006-11-16T20:13:57
IT'S ALIVE
I had two perl installations on my machine which caused some confusion.
Clicking around like crazy now only the diff links ("HTML" and "TEXT") fails:
"An error occured
RA layer request failed: PROPFIND request failed on '/js/js.txt': PROPFIND of '/js/js.txt': 405 Method Not Allowed (http://10.0.0.3:8081) at../lib/SVN/Web/Diff.pm line 165"
Also the diff links always contain rev and rev-1. should the rev-1 be replaced with the previous version that can seen in the table (the revision list can have "holes"). Just a thought.