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

Re: Perl bindings for Subversion using SWIG

From: <pwd_at_mdtsoft.com>
Date: 2003-01-24 14:29:49 CET

On 23 Jan, Rafael Garcia-Suarez wrote:
 pwd@mdtsoft.com wrote:
 I would like to work on a set of perl bindings for subversion.
 
 Great !
 
 the obvious way to do this is to use swig (at least I think that it is
 obvious).
 
 Obvious in the way that other languages bindings for Subversion are
 done via SWIG. However SWIG isn't much used in the Perl world, where
 XS (the native extension mechanism) and Inline::C are more widely
 supported. XS is arguably difficult to use, but Inline::C is very
 simple.

I have used XS some but as the swig xxx.i files are already written
it looks like swig should be not too hard.
 
 What's your final goal ? IOW for what purpose are you using this ?

My first goal is to get the basic client api avaiable from perl.

I need to build a special checkin script that will run on both windows
and unix that will require the user input both a comment and a eco
(Engineering Change Order, think bugzilla) number to do a commit.
The other thing that I need to do is build a robust system that will
be triggered by a hook script and will.

1) update a special working copy seeing what has been changed.
2) check each of the modified (updated) files to see if they meet
        our coding standards and if not fix them;
        perltidy, indent and inserting copyright notices for example.
3) attach mime-types if missing and enable keyword expansion.
4) if any changes where needed to the file then commit the changes with
        a good comment AND e-mail the person who did the work that they
        need to update there wc.

 
 Before I begin I would like to ask two questions of the list:
 
 1) Is anyone already working on perl bindings, if so can you share the
         work with me.
 
 I don't think so.

-- 
It is MDT, Inc's policy to delete mail containing unsolicited file attachments.
Please be sure to contact the MDT staff member BEFORE sending an e-mail with
any file attachments; they will be able to arrange for the files to be received.
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please advise postmaster@mdtsoft.com
mailto:postmaster@mdtsoft.com.
Philip W. Dalrymple III pwd@mdtsoft.com
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:13:29 2006

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