Subversion and SLES 10

Published: by Creative Commons Licence

  • Tags:

Introduction
Starting with Subversion on SLES* 10 SP 2 is not trivial. The problem is that this version of SuSE comes with an ancient version on an unsupported SDK.
The version works with respect to the commandline options, the basic functions like add / update / delete / checkout are all fine.

The problem
But the issue lies in the usage of the python bindings. The supplied bindings are the swig one’s. This effectively means that writing some python script that uses svn is just as hard work as writing the same application in C.

This is really a shame so I went out to look for a solution so that the pysvn python interface can be used. This (up to date) interface uses more familiar concepts like object to represent svn stuctures and command.

The solution
The only way that (until now) seems to work is using the search function on http://software.opensuse.org/search. With this function the following packages can be found (they are all needed for client side update’s):
– libapr1-1.3.8-1.1.*
– libapr-util1-1.3.9-1.1.*
– neon-0.26-1.10.*
– python-pysvn-1.7.0-1.7.*
– subversion-1.6.4-1.1.*
– subversion-python-1.6.4-1.1.*

These combination of packages seem to give a working environment, now some coding can start.

*SLES is an acronym for SuSE Linux Enterprise Server, the commercial supported variant of opensuse