[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnserve -t and repositories

From: Alan Barrett <apb_at_cequrux.com>
Date: 2006-10-02 20:21:36 CEST

On Sun, 01 Oct 2006, Luke A. Perkins wrote:
> Can we add an enhancement to svnserve -t so that it does one
> of the following:
> 1) Read an environmental variable, such as SVNSERVE_REPOSITORY,
> to effectively set the -r option.
> 2) Read a file, such as /usr/local/etc/svnserve.conf to set
> the -r option.

You could easily do that in a wrapper script, or in an ssh
"authorized_keys" file. I see no need to change svnserve itself.

> I love to be able to communicate with svn via ssh, however, having
> to specify a full repository path is a real pain.

If you use svn+ssh, then just add the -r option to the "command="
part of the relevant line in the authorized_keys file. See
<http://svn.haxx.se/users/archive-2006-09/1161.shtml> for a message in
which I explained this in more detail.

You'll probably also want to add ssh-agent and/or ssh connection
multiplexing (sometimes called "connection sharing" or "connection
caching") to the mix, so that you don't have to type passwords so often.

--apb (Alan Barrett)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 2 20:24:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.