F Wolff wrote: > On Vr, 2007-01-12 at 04:35 +0100, lars wrote: >> Additionally I replaced the commandline calls of "svn" with the python module >> "svn" (http://pysvn.tigris.org). >> > I'm wondering a bit about this. pysvn doesn't seem to be a standard > package. I see it is packaged for Debian and they provide install kits > for Windows and Mac OSX. I couldn't download the source now because of a > redirect loop on their site. It seems a bit big to package with Pootle, > and from a quick look at the source code, seems to be in C++. As things > are, we are just trying to simplify installation at the moment, but I > guess one more dependency isn't the end of the world :-) > > I'm wondering if this would affect performance - my guess is that it > will make no difference. Wouldn't it be easier to stick with the command > line client, or are there other benefits to using pysvn? Which will be > most platform independent? I guess the ultimate would be to have support > for both and then fall back if one isn't available, but that is more > work :-/ > There are also official Subversion Python bindings - http://subversion.tigris.org/project_tasks.html says they aren't quite complete - but I know of other projects that seem to use them successfully to do fairly complex tasks (svnmerge.py - Friedel I think you should check this out for handling backporting, we're using it and it's good!) They seem to be more low-level and less object-oriented than PySVN (though I haven't really checked either out in detail) - I wonder if something like PySVN could more helpfully be written by using the Subversion Python bindings and creating an object-oriented layer above them. Anyway just thought I'd mention them
David ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
