The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SVN::RaWeb::Light - Lightweight and Fast Browser for a URLed Subversion repository similar to the default Subversion http:// hosting.

SYNOPSIS

    #!/usr/bin/perl

    use SVN::RaWeb::Light;

    my $app = SVN::RaWeb::Light->new(
        'url' => "svn://myhost.net/my-repos-path/",
    );

    $app->run();

DESCRIPTION

SVN::RaWeb::Light is a class implementing a CGI script for browsing a Subversion repository given as a URL, and accessed through the Subversion Repository-Access layer. Its interface emulates that of the default Subversion http://-interface, only with the improvement of a rev CGI parameter to specify the revision of the repository.

To use it, install the module (using CPAN or by copying it to your path) and write the CGI script given in the SYNOPSIS with the URL to the repository passed as the 'url' parameter to the constructor.

To use it just fire up a web-browser to the URL of the script. Note that you can pass the rev CGI parameter to designate a revision of the repository to browse instead of HEAD. This rev will be preserved to subsequent URLs that you browse. For example:

    http://www.myhost.net/ra-web-light/web-cpan/trunk/?rev=20
 

will browse the trunk in revision 20.

AUTHOR

Shlomi Fish, <shlomif@iglu.org.il>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Shlomi Fish

This library is free software; you can redistribute it and/or modify it under the terms of the MIT/X11 license.