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

Re: Implementing mod_dav_svn in Python

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2005-10-07 19:36:40 CEST

On 10/7/05, Ahmad Alhashemi <news@ahmad.sent.com> wrote:
> I want to implement the subset of WebDAV/DeltaV that is used in
> mod_dav_svn in Python. I want to make it a fastcgi Python script and run
> it behind the lighttpd server.
>
> I already have the subversion Python bindings, so my job is to respond
> to the svn client requests by making the correct calls to the subversion
> package and give the correct answers to the client.
>
> Does any one have pointers for me?

Sure, you can read the mod_dav_svn code. I'm not sure what else you
can look at... that's going to be quite a bit of code to re-implement!
  There are two things you might want to read first:

A high-level description of the requests that the svn client sends:

    http://svn.collab.net/repos/svn/trunk/subversion/libsvn_ra_dav/protocol

A blurb from the WebDav appendix of the svn book (which you should
read in its entirety, by the way):

"The Subversion client is not a fully-implemented DeltaV client. The
client needs certain things from the server that DeltaV cannot
provide, and thus is largely dependent on a number of
Subversion-specific REPORT requests that only mod_dav_svn
understands."

You've got a whole lot of work cut out for you, good luck.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 19:40:23 2005

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

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