Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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
[Your Mother]: I think there is less decorum this time.
[Your Mother]: We’ve had rapists and thieves and unqualified government. They just had decorum.
[erix]: heh, understatement of the week :)
[erix]: well, I hope you're right
[Your Mother]: Bill Clinton assaulted and raped repeatedly. Even when it was hinted and finally all but proved, no one cared because his sexism, and racism, and killing was decorous.
[Your Mother]: I think Trump might be better specifically because no one respects him so he won't get his way the way the others did.
[Your Mother]: (I certainly did not vote for him and have been an outspoken critic of his for three decades, by the by.)
[erix]: I'd like Russia threatened a bit more, flattered a bit less
[Your Mother]: The last two regimes killed a million, displaced 10 million, torture prisons, and ruined countries… somehow it's magically bad _now_.
[erix]: what/who are the last two regimes?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-01-20 01:03 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (173 votes). Check out past polls.