Wolf Josef wrote:
Karl Fogel wrote:
A better solution to automating repository creation is to provide
scripts that wrap 'svnadmin create', and take care of copying hooks
and whatnot. We could ship with one of these scripts, and it would
make a good example for admins who need to write their own.
Please take a look at the svn-admin CGI I posted to this list about
two weeks ago. It had a concept of templates, which can define initial
files/dirs. In addition, it can set template properties to those
objects. It also registers itself as hook script and offers an UI to
configure commit-acces and commit-email settings. It is not ready for
production usage yet, but I think it has enough functionality to show
the concept I had in mind.
Solving the template-issue with a cgi has one additional benefit: you
no more need to log into the server just to create a repo or to fiddle
around with the access permissions.
I would like to adapt this script to your requirements so that it could
find its way into the tools subdirectory of the subversion distribution.
But unfortunatly, I received no comments about it. Instead you core
developers waste your time and duplicate already existing functionality.
It isn't exactly duplication. For people using ra_dav, a CGI may be the
easiest way to create repositories. But for people using ra_svn or
ra_local, setting up a web server to run the CGI is likely annoying or
impossible.
Personally, I'd love to have a web interface to do this stuff (and hope
it makes it into tools/ at some point), but it may need to be built on
top of lower-level tools that are accesible on the command line (whether
this is via python bindings, calling a script, passing a parameter to
svnadmin, or whatever).
Maybe the core-team should not waste their time with things like that?
Julian
--
julian@beta4.com
Beta4 Productions (http://www.beta4.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:02:20 2006