[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

More pythonic API, direct bdb access?

From: Petri Savolainen <petri.savolainen_at_iki.fi>
Date: 2003-10-18 18:31:09 CEST

While nicely complete, the python swig-generated api would benefit from
something more "pythonic" on top of it. Is anyone in process of building a
more pythonic api on top of the C-to-python swig-wrapped api?

I am thinking along the lines of something that would allow simple iteration
over the directories, entries and properties.

By the way, since python has good berkeley db support built-in now, could
someone elaborate how would accessing the svn database directly rather than
via the current api compare, in terms of effort and difficulty?

Direct access would allow skipping the swig layer and apr stuff completely,
which would seem quite a bonus to me, even though I don't have a good idea
of what kind of overhead they bring. Having to maintain code that accesses
an internal database structure directly is, of course, a downside, but I
don't think it would be too much of an effort to abstract that and keep it
up-to-date.

Thoughts?

 Petri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 18 18:28:22 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.