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

Re: [PATCH] Proof of concept: User defined command extensions for subversion core

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-09-10 17:23:52 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Hanley wrote:
> 0000000001111111111222222222233333333334444444444555555555566666666667
> 1234567890123456789012345678901234567890123456789012345678901234567890
> There are a number of scripts that run "outside" of subversion
> that use the API.
>
> I was think that it would be a easier solution for the end user
> if those scripts could be embedded into the subversion core,
> having them associated with a specific repo or path in the
> repo. This way there is one interface to the user for
> executing commands - svn. This could also be extended to other
> svn clients such as tortoise. That was new commands could be
> dynamically added to subversion.
>
> I wrote this patch as a proof of concept. I am fairly
> unfamiliar with the code base and was stumbling through. The
> patch as it is right now just allows simple IO (in case you
> want to write a hello-world) for the purpose of showing
> capabilities. I've included a property svn:lua:helloworld.txt
> as a test for everyone to peek at.
>
> Some of the items I had trouble with:
> I was trying to create a method to "inherit"
> commands/properties to sub-trees in the repo.
> I was unsure how to enforce that certain property types
> (svn:lua:*) are only applicable to directory node types.
>
> Some issues I believe must be resolved prior to a full
> implementation:
> ACL's on who can modify certain properties
> Having this code could open up svn sites to worm attacks.
>
> More information on Lua
> http://www.lua.org/
> http://luaforge.net/

This is tracked as issue #2917.

- -Hyrum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5WGHCwOubk4kUXwRAgl+AJ9h5XlGLCPm/K7y/B5BIXUxbjmf+wCgmCg7
cSevdY2ieLFnE5TPEnQF5m8=
=j4Z/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 10 17:20:42 2007

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