App::Sqitch::Command::bundle3pm
Bundle sqitch changes for distribution
Usage
my $cmd = App::Sqitch::Command::bundle->new(%params);$cmd->execute;
Overview
Bundles a Sqitch project for distribution. Done by creating a new directory and copying the configuration file, plan file, and change files into it.
Interface
Attributes
"from"
Change from which to build the bundled plan.
"to"
Change up to which to build the bundled plan.
"all"
Boolean indicating whether or not to run the command against all plans in the project.
Instance Methods
"execute"
$bundle->execute($command);
Executes the "bundle" command.
"bundle_config"
$bundle->bundle_config;
Copies the configuration file to the bundle directory.
"bundle_plan"
$bundle->bundle_plan($target);
Copies the plan file for the specified target to the bundle directory.
"bundle_scripts"
$bundle->bundle_scripts($target);
Copies the deploy, revert, and verify scripts for each step in the plan for the specified target to the bundle directory. Files in the script directories that do not correspond to changes in the plan will not be copied.
"dest_top_dir"
my $top_dir = $bundle->top_dir($target);
Returns the destination top directory for the specified target.
"dest_dirs_for"
my $dirs = $bundle->dest__dirs_for($target);
Returns a hash of change script destination directories for the specified target. The keys are the types of scripts, and include:
- "deploy"
- "revert"
- "verfiy"
- "reworked_deploy"
- "reworked_revert"
- "reworked_verfiy"
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.