Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

perl modules for svn branching or tagging? (writing wrapper)

by afjttom (Initiate)
on Nov 18, 2009 at 17:22 UTC ( #807962=perlquestion: print w/replies, xml ) Need Help??
afjttom has asked for the wisdom of the Perl Monks concerning the following question:

Is there popular stable svn scripting library module for perl we should be considering:

Goal: write simple svn wrapper script for branching or tagging in perl

my requirements:

Write command-line script probably under 100 lines that supports these actions:
- create a specified svn branch
- create a specified svn tag. (Possibly deducing tag location
by swapping "trunk" with "tags".)

support svn 1.6 repository or later

Script to be invoked on the svn server for speed and per current "in house" policy.

I have been asked to use a library approach, instead of directly calling (for ex) 'svn copy', because of the value that may added by the library method, and because the script may be easier to maintain and extend.

Is there a popular stable svn scripting library module for perl, that we should be considering?

Here are the cpan modules I'm looking at:
Here is a the larger list I first considered:

  • Comment on perl modules for svn branching or tagging? (writing wrapper)

Replies are listed 'Best First'.
Re: perl modules for svn branching or tagging? (writing wrapper)
by idsfa (Vicar) on Nov 18, 2009 at 17:30 UTC
    You can use the perl bindings that come with subversion. The docs for the client commands are available at SVN::Client.

    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://807962]
Approved by idsfa
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-05-22 09:10 GMT
Find Nodes?
    Voting Booth?