Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interacting with SVN from appengine

I've got a couple of projects where it would be useful to be able to interact with an SVN server from Google App Engine.

  • Pull specific files from the SVN (fairly easy, since there is a web interface which I can grab the data off automatically, but how do I authenticate)
  • Commit changes to the SVN (this is the really hard/important part)
  • Possibly run an SVN server (from an App Engine app, I'm guessing this isn't possible)

I would prefer a python solution, but I can survive with Java if I must.

like image 489
Martin Avatar asked Oct 21 '09 23:10

Martin


3 Answers

you can try using SVNKit with the java runtime

like image 151
dfa Avatar answered Oct 29 '22 12:10

dfa


DryDrop (http://drydrop.binaryage.com/) is a Git based solution you may want to look at for comparison of what you're trying to do.

like image 20
RyanW Avatar answered Oct 29 '22 12:10

RyanW


You can talk to a svn server(if setup with apache running mod_dav_svn) using the webdav protocol. See apache's implementation details Problem is that google appengine's urlfetch system doesn't allow for HTTP request methods other then GET, POST, HEAD, PUT and DELETE. (webdav uses custom request methods like PROPFIND, PROPPATCH, etc..) So at this time you are restricted to just viewing the contents of the svn server.

You can however use google appengine to implement a webdav provider. Have a look at the gae-webdav project for more information.

like image 37
Aidamina Avatar answered Oct 29 '22 12:10

Aidamina