SVN::Deploy

Audit conform building/deploying releases to/from an SVN deploy repository
Download

SVN::Deploy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Thomas Kratz
  • Publisher web site:
  • http://search.cpan.org/~tomk/

SVN::Deploy Tags


SVN::Deploy Description

Audit conform building/deploying releases to/from an SVN deploy repository SVN::Deploy is a Perl module that implements an interface to handle release data held within a separate SVN repository. You can define categorized products where each product consists of multiple sources (SVN repositories and directories or files from a filesystem) and multiple destinations (filesystem directories).It was designed for situations where the build and deploy steps should not be performed by the developers of a product but by operators with only read access to the developers repository, while the developers have no access to the deploy repository.SYNOPSIS use SVN::Deploy; # creating a SVN::Deploy object my $obj = SVN::Deploy->new( repo => 'svn:://deploy_srv/deploy_repo', cleanup_tmp => 1, ); # adding a category $obj->category_add(category => 'Cat1') # defining a product my g = ( build => perl build1.pl', 'perl build2.pl', ], source => , qa => { dest => ', '/mypath/to/qa/environment', ], pre => perl pre.pl'], post => perl post.pl'], }, prod => { dest => ', '/mypath/to/prod/environment', ], pre => perl pre.pl'], post => perl post.pl'], }, ); $obj->product_add( category => 'Cat1', product => 'Prod1', ); # exporting data from source repos # and importing into deploy repo my $rev = $obj->build_version( category => 'Cat1', product => 'Prod1', versions => { "svn://source_srv/source_repo/trunk/mypath1" => 42, "svn://source_srv/source_repo/trunk/mypath2" => 42, }, comment => 'some log message', ); print "Built version has revision $rev in deploy repo\n"; # deploying the newly created release # to the specified target $obj->deploy_version( category => 'Cat1', product => 'Prod1', version => $rev, target => 'qa', reference_id => 'Version 1.02', reference_data => { requested_from => 'Bill', tested_by => 'Bob', pumpking => 'Beth', }, comment => "Lets hope it'll work :-)", ); Requirements: · Perl


SVN::Deploy Related Software