Package: gitweb
Version: 1:1.7.0.4-1
Severity: wishlist
Justification: complicated
Tags: upstream
Hi,
If I visit the web interface at gitweb.samba.org, then for a typical
repository I see something like this:
description Samba Shared Repository
owner Samba
last change Thu, 28 Feb 2013 19:56:57 +0000
There's no indication of how to fetch over git protocol there. By
contrast, at repo.or.cz or git.debian.org:
description fast, distributed version control system (git.git
mirror and private branches)
owner Jonathan Nieder
last change Fri, 6 Jul 2012 04:26:53 +0000
URL git://anonscm.debian.org/users/jrnieder-guest/git.git
git+ssh://git.debian.org/git/users/jrnieder-guest/git.git
http://anonscm.debian.org/git/users/jrnieder-guest/git.git
gitweb.conf(5) explains:
@git_base_url_list
List of git base URLs. These URLs are used to generate URLs
describing from where to fetch a project, which are shown on
project summary page. The full fetch URL is
"$git_base_url/$project", for each element of this list. You
can set up multiple base URLs (for example one for git://
protocol, and one for http:// protocol).
Note that per repository configuration can be set in
$GIT_DIR/cloneurl file, or as values of multi-value gitweb.url
configuration variable in project config. Per-repository
configuration takes precedence over value composed from
@git_base_url_list elements and project name.
You can setup one single value (single entry/item in this list)
at build time by setting the GITWEB_BASE_URL built-time
configuration variable. By default it is set to (), i.e. an
empty list. This means that gitweb would not try to create
project URL (to fetch) from project name.
Please forbid the () configuration. Ideally it would be nice to have a setup
tool that checks that the chosen URL is reachable.
This is a little complicated because having a cloneurl file in every repository
and @git_base_url_list=() is a valid configuration. If there are
sites using that, it would be important to take them into account.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]