SVN::Web::List(3pm)
π SVN::Web::List π
okay bestie, so this is a page from the User Contributed Perl Documentation section of the manual, and it's all about SVN::Web::List β which is, and I cannot stress this enough, a genuinely iconic little module. β¨
β¨ NAME β¨
SVN::Web::List β it's the SVN::Web action that lists all your available repositories. That's the whole job. She's a specialist. π
πΈ SYNOPSIS πΈ
So you drop this into config.yaml, right here:
actions:
...
list:
class: SVN::Web::List
opts:
redirect_to_browse_when_one_repo: 0 # or 1
public_repos_uri: hide_local
...
That's it. That's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
She displays a list of all the available Subversion repositories you've got for browsing. And if there's only one repo available, she may just redirect you straight to it, because, like, why make you click around for no reason? Main character energy: straight to the point. π
π CONFIGURATION π
These options go in config.yaml. Lowkey the most important part, so pay attention bestie:
redirect_to_browse_when_one_repoβ a boolean, meaning yes/no. It says whether, when only one repository is available,SVN::Web::Listshould immediately issue a redirect straight to browsing that repository β which saves the user a whole mouse click. Precious. π±οΈβ¨ Defaults to0.public_repos_uriβ okay so this one has options:'hide_local'β hides the URL for anyfile://repositories. Privacy era. π'hide_all'β hides all the 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.
Default is to show all repository URLs, no secrets kept. π
π TEMPLATE VARIABLES π
reposcountβ the number of repositories that were configured. A count. She counts. π’reposβ a hash. Keys are repository names, paths are repository URLs. ποΈ
π EXCEPTIONS π
None. Literally none. Not one. Very chill of her honestly. π
π 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>
fr fr, credit where credit is due, these three legends built the thing π
okay that's the whole page bestie, no cap, every detail intact, slay π
β¨ this was SVN::Web::List(3pm) from perl v5.40.1, dated 2025-04-09 β ily, go browse some repos π¦ππ
π¦ where this page comes from
- debian trixie: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- ubuntu resolute: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- ubuntu stonking: libsvn-web-perl 0.63-4 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms