Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

nik (3476)

nik
  nikc@cpan.org
AOL IM: nikclayton (Add Buddy, Send Message)

Journal of nik (3476)

Friday November 10, 2006
03:48 AM

Beta testers for SVN::Web 0.50 wanted

[ #31559 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That's some strong work there. If I get a chance this weekend, I'll give it a run through.
  • On OSX using fink to install svn-ssl-* stuff (perl 5.8.6.)

    Email me at gonz808 (at) hotmail.com for details

    Copying additional files
    t/1use...............
    t/1use...............NOK 1# Failed test 'use SVN::Web;'
    # in t/1use.t at line 19.
    # Tried to use 'SVN::Web'.
    # Error: Can't locate Template.pm in @INC (@INC contains: /Users/vagn/src/svn-client/blib/lib /Users/vagn/src/svn-client/blib/arch /Users/vagn/src/svn-client/_build/lib /sw/lib/perl5/5.8.6/darwin-thread-multi-2level sw/lib/perl5/5.8.6/darwin-
    • 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?
      • 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 modules
    • 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.
      • Hmm. Which version of Subversion are you running?
      • > 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)
        • 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?
          • 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/perl
        • 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 "h
  • % perldoc UPDATING.pod