App::S...bundle(3pm)

✨ NAME ✨

App::Sqitch::Command::bundle β€” ok so bestie, this is the one that bundles up your Sqitch changes so you can actually ship them πŸ’– literally "Bundle Sqitch changes for distribution."


🌸 SYNOPSIS 🌸

my $cmd = App::Sqitch::Command::bundle->new(%params);
$cmd->execute;

πŸŽ€ DESCRIPTION πŸŽ€

It bundles a Sqitch project for distribution, periodt. How? The way it does it is by creating a new directory and copying the configuration file, the plan file, and the change files into it. That's the whole vibe. πŸ¦‹


πŸ’… INTERFACE πŸ’…

πŸ‘‘ Attributes

  • from β€” the change from which to build the bundled plan. Like, where do we even start, y'know? 🌱
  • to β€” the change up to which to build the bundled plan. The finish line, slay. 🏁
  • all β€” a Boolean, so it's giving true/false energy, and it says whether or not to run the command against all plans in the project. Go big or go home fr fr.

🧚 Instance Methods

execute

$bundle->execute($command);

Executes the bundle command. That's it, that's the whole job, and it ate. πŸ”₯

bundle_config

$bundle->bundle_config;

Copies the configuration file over to the bundle directory. Moving day for your config. πŸ“¦βœ¨

bundle_plan

$bundle->bundle_plan($target);

Copies the plan file for the specified target into the bundle directory. Target-specific, very demure, very mindful. πŸ’…

bundle_scripts

$bundle->bundle_scripts($target);

Copies the deploy, revert, and verify scripts for each step in the plan for the specified target into the bundle directory. 🫢

Heads up bestie: files sitting in the script directories that do not correspond to changes in the plan will not be copied. Not them. They're staying home. πŸ’€

dest_top_dir

my $top_dir = $bundle->top_dir($target);

Returns the destination top directory for the specified target. The main character of directories, lowkey. πŸ‘‘

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 they include:

  • deploy
  • revert
  • verfiy
  • reworked_deploy
  • reworked_revert
  • reworked_verfiy

🌈 SEE ALSO 🌈

  • sqitch-bundle β€” the documentation for the bundle command of the Sqitch command-line client. Your main plug. πŸ”Œ
  • sqitch β€” the Sqitch command-line client itself. The whole icon. ⭐

πŸ¦‹ AUTHOR πŸ¦‹

David E. Wheeler <david@justatheory.com> β€” we stan. 🫢


πŸ’œ LICENSE πŸ’œ

Copyright (c) 2012-2026 David E. Wheeler, 2012-2021 iovation Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


and that's the whole page bestie πŸ’– this one's a perl v5.40.1 situation, dated 2026-07-26 β€” go forth and bundle, no cap ✨

πŸ“¦ where this page comes from