Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

subversion client for ruby?

is there are proper subversion client for ruby, that could be used to manage text files, images and other documents from a subversion project? it needs to be able to checkout the project, update and merge content (not automatically, but respond with a diff or something in case of a problem), commit, etc.

please don't ask me how we got there ;) but our cms is actually just an svn project (including text files which include html, images and other documents) and we'd like to build some kind of frontend in ruby where people can edit the text files, upload new documents, etc.

so we would need all these svn features and we would like to have them abstracted in some kind of way so we don't have to use bash commands interacting with the svn client installation.

like image 957
rubiii Avatar asked Dec 08 '22 04:12

rubiii


1 Answers

You've probably found a working solution by now but thought I would share this anyway as I wrote a gem which may be useful.

http://rubygems.org/gems/svn_wc - svn_wc provides programmatic access to basic svn functions, utilizing the Subversion Ruby Bindings, exposing their functionality in a simplified way
source: http://github.com/dvwright/svn_wc

http://rubygems.org/gems/svn_wc_tree - svn_wc_tree provides an Web Application Front End GUI to a working copy of an remote SVN Repository. (rough and in progress)

like image 124
dwright Avatar answered Dec 11 '22 10:12

dwright