SVN::Web::List(3pm)

SVN::Web::List3pm

Svn::web action to list available repositories

Usage

In config.yaml

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

Overview

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.

public_repos_uri

Can be 'hide_local', which will hide the URL for any file:// repositories, 'hide_all', which will hide all repositories, or a hash. The hash should be keyed by the repository name, and the values should be either a URL display, or a false value to hide the URL.

The default is to show all repository URLs.

Template variables

reposcount

The number of repositories that were configured.

repos

A hash. Keys are repository names, paths are repository URLs.

Exceptions

None.

Releases

8 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 7
  3. 8
  4. 9–11
  5. 12
  6. 13

From libsvn-web-perl 0.63-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.