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
"Eric Clark" <email@example.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 --
> -----Original Message-----
> From: Marcus Rueckert [mailto:firstname.lastname@example.org]
> 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
> > but no one seems to be saying anything about whether or not these hooks
> > going to be implemented. I am a programmer, but not a Subversion
> > 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: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Oct 19 18:21:56 2005