Nik Clayton > SVN-Web-0.49 > SVN::Web::List

Download:
SVN-Web-0.49.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  22
Open  10
View Bugs
Report a bug
Module Version: 0.49   Source   Latest Release: SVN-Web-0.53

NAME ^

SVN::Web::List - SVN::Web action to list available repositories

SYNOPSIS ^

In config.yaml

  actions:
    ...
    list:
      class: SVN::Web::List
      opts:
        redirect_to_browse_when_one_repo: 0 # or 1
    ...

DESCRIPTION ^

Displays a list of available Subversion repositories for browsing. If only one repo is available then may redirect straight to it.

CONFIGURATION ^

The following options may be specified in config.yaml

redirect_to_browse_when_one_repo

Boolean indicating whether, if only one repository is available, SVN::Web::List should immediately issue a redirect to browse that repository, thereby saving the user a mouse click.

Defaults to 0.

TEMPLATE VARIABLES ^

reposcount

The number of repositories that were configured.

repos

A list of repository names.

EXCEPTIONS ^

None.