You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Clark <ec...@ara.com> on 2005/10/19 14:59:31 UTC

pre-checkout/export hook

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?

 

Thanks,

Eric 

 


Re: pre-checkout/export hook

Posted by John Peacock <jp...@rowman.com>.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre-checkout/export hook

Posted by John Peacock <jp...@rowman.com>.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: pre-checkout/export hook

Posted by Eric Clark <ec...@ara.com>.
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

    darix


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: pre-checkout/export hook

Posted by Eric Clark <ec...@ara.com>.
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

    darix


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: pre-checkout/export hook

Posted by Marcus Rueckert <da...@web.de>.
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

    darix

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: pre-checkout/export hook

Posted by Marcus Rueckert <da...@web.de>.
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

    darix

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org