Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by afjttom (Initiate)
on Nov 18, 2009 at 17:22 UTC ( [id://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?
--
thanks,
Tom

--
Here are the cpan modules I'm looking at:
http://www.connotea.org/user/zfyarpe/tag/tmp-9fz
Here is a the larger list I first considered:
http://www.connotea.org/user/zfyarpe/tag/svn-cpan

  • 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://807962]
Approved by idsfa
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found