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

Re: hook-scripts location

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 27 Feb 2009 13:29:47 -0500

The hook scripts in the hooks directory need to be executable and
remove the .tmpl suffix. (On Windows, they need a *.bat suffix). These
scripts can then call other scripts -- for example the
commit-access-control.pl script you want to run.

The commit-access-control.pl can live in any directory as long as the
pre-commit shell script can call it correctly. Just remember that the
PATH variable is blank when you run hooks, so you'll have to specify
the full path to the commit-access-control.pl script.

You could rename commit-access-control.pl to pre-commit if you so
desire, but the easiest way is to simply have the current pre-commit
script call your Perl script. That way, you can have multiple
pre-commit hooks and control the order they're called.

On Thu, Feb 26, 2009 at 8:28 PM, sudhir gunna <sudhirgr_at_yahoo.com> wrote:
>
> I am working with a binary package from Collabnet. The template hook scripts
> have references to some perl and python scripts like
> "commit-access-control.pl". I am not sure if these scripts are part of the
> install. Are they?? Do I have write such scripts with exactly that name?? or
> are there templates for them also??
>
> Appreciate your help in advance.
>
> Thanks
> Sudhir
> --- On Mon, 2/16/09, Toby Thain <toby_at_telegraphics.com.au> wrote:
>
> From: Toby Thain <toby_at_telegraphics.com.au>
> Subject: Re: Apache binary compatibility
> To: sudhirgr_at_yahoo.com
> Cc: "SVN Users" <users_at_subversion.tigris.org>
> Date: Monday, February 16, 2009, 5:55 PM
>
>
> On 15-Feb-09, at 9:26 PM, sudhir gunna wrote:
>
> OS is Redhat LINIX
>
>
> The CollabNet Subversion binary packages bundle an integrated Apache for
> this reason (at least on Solaris, they do).
> http://www.open.collab.net/downloads/subversion/redhat.html
> FYI You don't have this issue on source based distributions (e.g. Gentoo).
>
> --Toby
>
>
> Sudhir
>
> --- On Mon, 2/16/09, Ryan Schmidt <subversion-2009a_at_ryandesign.com> wrote:
>
> From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
> Subject: Re: Apache binary compatibility
> To: sudhirgr_at_yahoo.com
> Cc: users_at_subversion.tigris.org
> Date: Monday, February 16, 2009, 2:20 AM
>
> On Feb 15, 2009, at 16:34, sudhir gunna wrote:
>
>> I see this note.
>> Note: Apache 2.0 and Apache 2.2 are not binary-compatible. If you plan to
> use mod_dav_svn be sure that you obtain the correct version for your version
> of
> Apache.
>>
>> Which versions of apache are compatible with the available binary
> packages??
>> if not, How can I find a compatible binary package
>> I appreciate any help.
>
> The binary distribution should indicate which Apache version it is
> compatible
> with. For example, the Windows binaries available from tigris.org are
> available
> in both Apache 2.0 and Apache 2.2 versions. Which OS are you interested in a
> binary for, and which Apache version?
>
>
>
>
>
>
>

-- 
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1240250
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-27 19:30:44 CET

This is an archived mail posted to the Subversion Users mailing list.