Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-10

Subversion Client/Server Source

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

Hi there,

I'm exploring the possibility adding support for version control in the Aurawin project.

I'm needing resources to subversion client/server source to estimate how much time it will take.

Does anyone know of official protocol for implementing SVN?

Does anyone have any contributions of SVN client/server code in pascal?

Any help is greatly appreciated,

Andrew Brunner
Aurawin LLC
512.574.6298

A safe new way to store and share your files, pictures, videos, and more.

http://aurawin.com/

Reply by email

Unknown author
to Andrew Brunner
Andrew Brunner wrote 11 lines
Hi there, I'm exploring the possibility adding support for version control in the Aurawin project. I'm needing resources to subversion client/server source to estimate how much time it will take. Does anyone know of official protocol for implementing SVN? Does anyone have any contributions of SVN client/server code in pascal?

Why not use the library version of SVN ? This is how Tortoise does it, as far as I know.

Michael.

Reply by email

Andrew Brunner
to Unknown author
Why not use the library version of SVN ? This is how Tortoise does it, as far as I know.

I think the focus then would shift to wrapping a library to hook into server over HTTP. I would still need svn protocol or even maybe I could look at Apache svn source (C++) to port to Aurawin's HTTP server.

But where is the "Official" svn documentation for implementing svn over http?

Andrew Brunner Aurawin LLC 512.574.6298 A safe new way to store and share your files, pictures, videos, and more. http://aurawin.com/

Reply by email

Unknown author
to Andrew Brunner
Andrew Brunner wrote 9 lines
On 10/24/2012 08:36 AM, wrote: > > Why not use the library version of SVN ? This is how Tortoise does it, as > far as I know. > I think the focus then would shift to wrapping a library to hook into server over HTTP. I would still need svn protocol or even maybe I could look at Apache svn source (C++) to port to Aurawin's HTTP server.

I don't see why you would still need the SVN protocol ?

But where is the "Official" svn documentation for implementing svn over http?

Well, the http transport uses WEBDAV. So search for the WEBDAV protocol, and you're set ?

Michael.

Reply by email

Mark Morgan Lloyd
to Andrew Brunner: I think the focus then would shift to wrapping a library to hook into server over HTTP. …
Andrew Brunner wrote 9 lines
On 10/24/2012 08:36 AM, wrote: > > Why not use the library version of SVN ? This is how Tortoise does it, as > far as I know. > I think the focus then would shift to wrapping a library to hook into server over HTTP. I would still need svn protocol or even maybe I could look at Apache svn source (C++) to port to Aurawin's HTTP server.

One comment there if I may. Official SVN builds from e.g. Debian pull in much more Apache code than is relevant. From the FPC wiki on Solaris:

"It might be less disruptive to build Subversion from source, e.g. http://subversion.tigris.org/downloads/subversion-1.6.17.tar.bz2. According to the INSTALL file the actual dependencies for a client using the svn: (as distinct from http:) protocol are libapr, libapr-util, SQLite and libz; these are available from e.g.
http://subversion.tigris.org/downloads/subversion-deps-1.6.17.tar.bz2".

Start off with those, then see what else you /really/ need for http.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Andrew Brunner
to Unknown author: I don't see why you would still need the SVN protocol ? Well, the http transport uses…
Show quoted text 9 lines
Well, the http transport uses WEBDAV. So search for the WEBDAV protocol, and you're set ? Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Ok, looking at WEBDAV and svn. I assume svn is just file based. Implementing WEBDAV will enable svn client to do locking/read/write as needed to the actual repository on disk.

Without SVN protocol - I would have to require server distros to have subversion installed.

It looks like heavy XML. It will require use the fpc-xml. Are the DOM components proven to be memory leak free at this point?

Andrew Brunner Aurawin LLC 512.574.6298 A safe new way to store and share your files, pictures, videos, and more. http://aurawin.com/

Reply by email

Unknown author
to Andrew Brunner
Andrew Brunner wrote 20 lines
On 10/24/2012 09:01 AM, wrote: > Well, the http transport uses WEBDAV. So search for the WEBDAV protocol, > and > you're set ? > > Michael. > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Ok, looking at WEBDAV and svn. I assume svn is just file based. Implementing WEBDAV will enable svn client to do locking/read/write as needed to the actual repository on disk. Without SVN protocol - I would have to require server distros to have subversion installed. It looks like heavy XML. It will require use the fpc-xml. Are the DOM components proven to be memory leak free at this point?

I use them in servers and have not encountered problems in 2 years.

Michael.

Reply by email