Re: pre-checkout/export hook

John Peacock <[email protected]> Wed, 19 Oct 2005 12:18:56 -0400
Newsgroups gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user
Organization Rowman & Littlefield Publishing Group
Message-ID <[email protected]>
Eric Clark wrote:
> Apache with mod_authz_svn would work if we were using apache, but we are
> not. And we cannot put an http server on the machine that the repository
> resides on. We are using ssh and there is no other option to this. We really
> need a pre-checkout/pre-export hook. What do I need to do to get these hooks
> implemented because I do not see any other option for us? Thank you for your
> response Marcus --

As Marcus said:

 > svnserve as it will be in 1.3.

It's really very easy to use svnserve with ssh in tunnel mode to 
restrict access to the repository to a single user id, yet use separate 
ssh keys for each user, see:

http://svnbook.red-bean.com/en/1.1/ch06s03.html#svn-ch-6-sect-3.5

And now that svnserve will includes authz support, you can limit access 
without the use of hooks.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748