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

RE: pre-checkout/export hook

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2005-10-19 18:08:06 CEST

I once wrote a pre-update hook and a pre-getfile hook. They only work for svn://
and for file:// (at least they work in my environment). The pre-update hook is
needed for 'svn update' and 'svn checkout' whereas the pre-getfile hook is
needed for things like 'svn cat'.

If you want to I can post them (tomorrow) so you can test if they fit your needs.

BTW I replied only to the dev mailing list as I don't want to get all the mails
two times.


"Eric Clark" <eclark@ara.com> 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 --
> Eric
> -----Original Message-----
> From: Marcus Rueckert [mailto:darix@web.de]
> Sent: Wednesday, October 19, 2005 10:07 AM
> To: Eric Clark
> Cc: SVN Dev Mailing List; SVN Users Mailing List
> Subject: Re: pre-checkout/export hook
> On 2005-10-19 09:59:31 -0500, Eric Clark wrote:
> > My company is using Subversion for multiple repositories. Some of the
> > repositories are for developers that should not have read access to other
> > parts of the repository. We are using ssh with Windows machines as clients
> > and as the server. I have seen some messages that talk about just this
> > problem and that they are looking for a pre-checkout and a pre-export
> hook,
> > but no one seems to be saying anything about whether or not these hooks
> are
> > going to be implemented. I am a programmer, but not a Subversion
> developer;
> > however, it seems to me that it would not be too difficult to implement
> > these hooks. Does anyone know if there are plans on implementing these
> > hooks?
> apache with mod_authz_svn
> svnserve as it will be in 1.3.
> both allow you to have fine grained control over the actions people can
> do to your repos.
> hope this helps

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 19 18:21:56 2005

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.