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

Re: Searching for a C++ API

From: R developer <richdevmail_at_gmail.com>
Date: Tue, 30 Jan 2018 10:22:55 +0100

2018-01-29 13:54 GMT+01:00 Branko Čibej <brane_at_apache.org>:

> On 29.01.2018 11:45, R developer wrote:
> > Hello all,
> >
> > I have been involved in writing a closed source application that among
> > other things maintains a checkout from an SVN repository, the
> > application used to be written in C# so at the moment we are used to
> > SharpSvn. Recently the decision was made to incorporate the
> > functionality into a mobile c++ app (yes, I do wish we could use a
> > different language, but for now that's out of our scope).
> >
> > Is there a C++ library available somewhere?
> > One that can be used in a closed source app and compiles both on
> > Windows and Linux (and preferably other platforms like OSx, iOS,
> Android).
> > Usage of c++11, boost and/or Qt frameworks is fine as our app already
> > uses them.
> >
> > When we started searching; we found several dead ends. Either GPL code
> > which we can't use or outdated and no longer compiling.
> >
> > What is the preferred/easiest way of doing a simple checkout/update of
> > a svn repository folder in a c++ application?
> > (Any leads will be appreciated as we are quite new to this topic)
>
>
> There is no C++ API that I'm aware of. However, the C API can quite
> handily be used from C++.
>
> -- Brane
>

So far i found that rapidsvn contains libsvncpp; but its GPL
https://github.com/RapidSVN/RapidSVN
And there is svnqt, which is old and I couldn't find documentation (LGPL)
https://github.com/MIRAvzw/svnqt
Does anyone know of a better / free to use C++ library?

I'm not that familiar with the C API unless I'm missing something (which is
very well possible) one would have to manage the apr pools himself?
for instance
https://svn.apache.org/repos/asf/subversion/trunk/tools/examples/minimal_client.c
does seem very complex to me for the tasks it performs
is there any easier C example out there?

Kind Regards,
Richard
Received on 2018-01-30 10:30:16 CET

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.