You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2013/07/09 16:37:42 UTC
subversion.apache.org/docs/swig-py ? Re: Perl bindings docstrings
Re: svn commit: r1488693 -
/subversion/trunk/subversion/bindings/swig/perl/native/Client.pm
Roderich Schupp wrote on Tue, Jul 09, 2013 at 09:18:56 +0200:
> On Mon, Jul 8, 2013 at 5:32 PM, Ben Reser <be...@reser.org> wrote:
> > Unless someone has invented real AI I just don't see how you can automate
> > this.
>
> But certainly one could whip up a simple Perl script (oder editor macros) to
> spare us from the tedium of manually copying and pasting the C doc comments,
> remove the leading * on each line, turn "@a foo" into "C<$foo>" etc.
While at it, you could also change #apr_pool_t to C<SVN::Pool>,
#svn_opt_revision_t to (the Perl equivalent you described), etc.
Separately, is there a reason the compiled swig-* docs aren't online on
http://subversion.apache.org/docs/, alongside the C and javahl ones? At
least the Perl ones are on CPAN[1], but searching for the Python ones
yields mostly stackoverflow threads asking where they are.
(I don't think anyone ever asked that question on users@, though.)
Daniel
[1]
http://search.cpan.org/~mschwern/Alien-SVN-v1.7.3.1/src/subversion/subversion/bindings/swig/perl/native/Client.pm
Re: subversion.apache.org/docs/swig-py ? Re: Perl bindings docstrings
Re: svn commit: r1488693 - /subversion/trunk/subversion/bindings/swig/perl/native/Client.pm
Posted by Roderich Schupp <ro...@gmail.com>.
On Tue, Jul 9, 2013 at 4:37 PM, Daniel Shahaf <d....@daniel.shahaf.name>wrote:
> Separately, is there a reason the compiled swig-* docs aren't online on
> http://subversion.apache.org/docs/, alongside the C and javahl ones? At
> least the Perl ones are on CPAN[1],
>
[1]
> http://search.cpan.org/~mschwern/Alien-SVN-v1.7.3.1/src/subversion/subversion/bindings/swig/perl/native/Client.pm
>
I'm very grateful to Michael Schwern for providing these, but there's no
guarantee he will do that forever.
(I don't think anyone ever asked that question on users@, though.)
>
Maybe this an indication that nobody actually uses the Perl bindings?
I've seen lotsa Perl scripts doing Subversion stuff, but almost all are
simply using the CLI to access Subversion. Even scripts in the contrib
section of our repository (e.g. svn_load_dirs.pl) do it that way.
Looking into Debian I only found two actual users of the Perl bindings
(i.e. "reverse dependants" of Debian package libsvn-perl).
One is SVN::Web, an almost obsolete Web UI. The other is svn-git :)
Cheers, Roderich