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

Re: programmatic API for repository creation

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-30 23:30:05 CET

On Dec 30, 2007, at 16:13, Garret Wilson wrote:

> Ryan Schmidt wrote:
>
>> On Dec 30, 2007, at 15:55, Garret Wilson wrote:
>>
>>> I'm looking for a way to create repositories programmatically.
>>> I've never used Subversion as my server---I've only use
>>> Subversion behind Apache mod_dav.
>>>
>>> If I run the standalone Subversion server, is there a way for me
>>> to programmatically create and destroy repositories remotely?
>>
>> Not built-in, no. To create a repository, you have to use
>> svnadmin, which operates only on local filesystem paths.
>>
>> There is a web interface to some functionality of svnadmin, called
>> svnmanager. Maybe that would interest you?
>
> It would if my Java program can submit HTTP requests to it
> unattended and have it create repositories. Is that possible?

I have never used svnmanager so I don't know. I would say if you want
users to be able to create their own repositories, svnmanager is a
good tool to look at possibly using. If you want a program to create
repositories, then you could look at the code of svnmanager perhaps
to get ideas about how you can write your own program to do that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 30 23:30:59 2007

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.