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

Re: client-side hooks (was: Prevent accidental commits)

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Mon, 16 Jun 2008 16:21:30 +0200

On 2008-06-16 15:34:35 +0200, Erik Huelsmann wrote:
> The subversion project has no intention to add client side hooks:
> they're a security nuisance at least. It's a topic too hairy to touch.

As I said, the hooks would be created by the *user* (they do *not*
come from the repository). So, no security problem at all (except
due to the code written by the user, but this is not specific to

> However, if you want to extend Subversion, you're ofcourse free do
> develop wrapper scripts, or implement the client functionality in any
> of the extention languages using the language bindings.

Wrapper scripts have their drawbacks. Also they need to re-implement
argument parsing.

To avoid them, this would need to rewrite a full client, also with
argument parsing and so on. Or is there something I've missed?

> Why not build the commit logic using the perl and/or python bindings?
> 99% is offered out of the box by the libsvn_client bindings...

Ditto, e.g. this would need to reimplement the whole svn in Perl.
Then it seems that SVN::Client::notify does what I want to be able
to update the file permissions ASAP.

Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-16 16:22:15 CEST

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.