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

Re: Status of ctypes Subversion bindings

From: John Szakmeister <john_at_szakmeister.net>
Date: Wed, 18 Jun 2008 21:35:30 -0400

On Tue, Jun 10, 2008 at 11:26 AM, David James <james_at_cs.toronto.edu> wrote:
[snip]
> Hi John,
>
> That's great news! We could certainly use the help.

Right now, I'm most interested in ctypesgen... it's be perfect to help
generate some bindings for another project I'm working. That said, I
am interested in something that's easier to use than the SWIG bindings
for Subversion. :-)

> Right now, the ctypes python bindings are in pretty good shape. The
> low level bindings (which are similar to the SWIG bindings) are
> complete and work really reliably and well.

Glad to hear it's working well!

> We also have higher level python wrappers, which make it really easy
> to use the python bindings.
>
> The biggest work we need to do is figure out how to build the ctypes
> bindings on Windows. It may be possible to just build the ctypes
> python wrapper on Linux and copy it over to Windows and make a few
> changes and it will work. This is because we are generating pure
> Python bindings so in theory they could be platform independent. Note
> that you will need Subversion as a DLL to use them in ctypes on
> Windows, and that is a new feature in Subversion 1.5.

I saw that it was using the C preprocessed output of gcc at some
point... I presume that's part of the problem when trying to make this
go under Windows? Are there any other issues? Where can I start
helping?

> Currently the ctypes python bindings are on a branch and working
> pretty well, but I'm not sure about where to go from here.
>
> I see two options:
> 1) Merge the ctypes Python bindings to trunk and integrate them with
> the Subversion build system
> 2) Launch ctypes bindings as a separate project.
>
> Where do you think we should go from here?

I'd prefer option 1.

BTW, sorry it took so long for me to respond... this got sucked
straight into my svn-dev folder and bypassed my inbox for some
reason... need to check my mail filter rules. :-)

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-19 03:49:30 CEST

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

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