From users-return-27229-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Wed Jun 20 10:02:44 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id AC769180648 for ; Wed, 20 Jun 2018 10:02:43 +0200 (CEST) Received: (qmail 95469 invoked by uid 500); 20 Jun 2018 08:02:42 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 95458 invoked by uid 99); 20 Jun 2018 08:02:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2018 08:02:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 524AB1807E5 for ; Wed, 20 Jun 2018 08:02:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id N3OV2FgvpJG7 for ; Wed, 20 Jun 2018 08:02:38 +0000 (UTC) Received: from einhorn-mail.in-berlin.de (einhorn-mail.in-berlin.de [217.197.80.20]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 40BC65F1EE for ; Wed, 20 Jun 2018 08:02:38 +0000 (UTC) X-Envelope-From: stsp@elego.de Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de with ESMTP id w5K82HeV014923 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jun 2018 10:02:17 +0200 Received: from localhost (ted.stsp.name [local]) by ted.stsp.name (OpenSMTPD) with ESMTPA id 63ac748a; Wed, 20 Jun 2018 10:02:16 +0200 (CEST) Date: Wed, 20 Jun 2018 10:02:16 +0200 From: Stefan Sperling To: Tom Browder Cc: "users@subversion.apache.org" Subject: Re: Hook script common environment variables Message-ID: <20180620080216.GS82842@ted.stsp.name> Mail-Followup-To: Tom Browder , "users@subversion.apache.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) On Tue, Jun 19, 2018 at 06:39:09PM -0500, Tom Browder wrote: > The docs mention one can use a common hook environment for multiple repos > but so far I can’t find an example of that or any more details. I have > looked at the example hook.env file but I don’t see any reference to global > env vars. It is unclear which type of server are you using. Apache HTTPD with mod_dav_svn, or svnserve? For svnserve, you can specify a path in svnserve's config file: [general] hooks-env = /path/to/a/global/hooks-env/file The environment specified in the referenced file will then apply to all repositories. The referenced file's syntax is shown in the hook.env example you've alreay found. For mod_dav_svn there is a similar configuration directive called SVNHooksEnv which also points to a file. Could you please point us at the docs you were reading which were unclear? Maybe they need to be adjusted or updated. Thanks.