---
name: "SVN::Web::List"
section: "3pm"
platform: "linux"
package: "libsvn-web-perl"
version: "0.63-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SVN::Web::List"
---

# SVN::Web::List(3pm)

SVN::Web action to list available repositories

## 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
        public_repos_uri: hide_local
    ...
```

## 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.

- 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.

## COPYRIGHT

Copyright 2003-2004 by Chia-liang Kao `"<clkao@clkao.org>"`.

Copyright 2005-2007 by Nik Clayton `"<nik@FreeBSD.org>"`.

Copyright 2012 by Dean Hamstead `"<dean@fragfest.com.au>"`.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See \<http://www.perl.com/perl/misc/Artistic.html\>
