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

Re: Opening the repository hooks environment file

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 03 Apr 2013 12:51:07 +0100

Branko Čibej <brane_at_wandisco.com> writes:

> I thihk there has to be a way to say all of the following:
>
> 1. do not use a hooks-env file at all
> 2. use the default hooks-env file
> 3. use a specific, non-default hooks-env file

Do we need option 2, the default path?

The hooks-env path is specified in apache config file, the admin chooses
the path or no path. The path is also specified in the svnserve config
file, the admin chooses the path or no path. For ra_local there is a
hard-coded path and the admin chooses whether that file is present.
That is sufficient for the admin to control the environment.

Do we need option 1?

The svn_repos API doesn't have options to bypass hooks so why should it
provide a way to bypass the environment? If the admin has configured
hooks they always run. If the admin has configured an environment it
should always be used.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-04-03 13:51:59 CEST

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.