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

Re: Hook scripts vs Hook intepreter

From: <kfogel_at_collab.net>
Date: 2004-11-24 21:34:53 CET

"Henderson, Michael D" <michael.d.henderson@lmco.com> writes:
> I'd like to extend hooks a bit by embedding an interpreter in
> svnserve. Maybe I'm looking at solving a problem that doesn't exist,
> but doing so would allow the server to run a script internally rather
> than shelling out to a script every time.
>
> I'm looking at using lua or ferite for the interpreter. lua's small
> and fast. ferite is fun. I'm also comfortable with both. lua can
> pre-parse a script, which helps on repeated calls.
>
> Is this something that *should* be done? I don't see a lot (read "no
> one") clamoring for such a feature. Most of the functionality of hooks
> I've seen could easily be handled without calling the shell. For those
> that couldn't, hook scripts could still be called.

I'm speaking solely for myself, but I wouldn't want to see this
complexity incorporated into our servers right now. Like you said, no
one's been clamoring for it, and Perl, Python, or other scripting
language hook scripts are already portable across operating systems.
(Remember, you don't have to use shell language for hooks.)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 24 21:41:42 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.