I didn't know about that setting thanks for the pointer.
However It looks like it's a way to set an alternative path to the hooks-env file. Which is global per repository. What we're trying to solve is to have a dynamic env that would inherit some variables per request. e.g IP address of client who is doing svn commit. There are bunch of stuff we'd like to pass along.
-- Marcin Kuzminski RhodeCode, Inc.
Enterprise Source Code Management. Unified. Contact us: Web [https://rhodecode.com/] • Twitter [https://twitter.com/rhodecode] • Community [http://community.rhodecode.com/] • Slack [https://rhodecode.com/join]
On Thu, Nov 23, 2017 at 15:45, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
On Wed, Nov 22, 2017 at 1:36 PM, <marcin_at_rhodecode.com> wrote:
> We're trying to build a generic integration system for RhodeCode that would
> also support Subversion. The problem we're now having is how to transmit
> some data during e.g commit operation from our system into running hooks.
> Our idea now is to use apache and set some special HTTP headers, and
> Enviroment variables when using the HTTP protocol.
> However after reading some threads, it seems that when subversion executes
> hooks it clears the enviroment variables. Is there ANY way to inherit some
> env set by apache?
I don't know if this is what you're looking for, but as of 1.8 there
is the mod_dav_svn directive SVNHooksEnv.
The svn book  contains the following description:
"Specifies the location of the Subversion repository hook script
environment configuration file. This file is used to describe the
initial environment in which repository hook scripts are executed. For
more on this feature, see the section called 'Hook script environment
Received on 2017-11-23 16:31:49 CET