App::S...rework(3pm)
β¨ NAME β¨
bestie, this is App::Sqitch::Command::rework β the Perl module that reworks a Sqitch change π
it's the backend of the rework command, the one from App::Sqitch's command-line client, and it lives in the User Contributed Perl Documentation section of your perl man pages (that's the 3pm bit, iykyk).
πΈ SYNOPSIS πΈ
my $cmd = App::Sqitch::Command::rework->new(%params);
$cmd->execute;
π¦ DESCRIPTION π¦
So here's the tea: it reworks a change. That means it copies the existing deploy, revert, and verify scripts for that change, so the earlier versions of the change are preserved π«Ά like, you get a lil archive of who the change used to be before its glow-up.
π INTERFACE π
β¨ Class Methods β¨
"options"
my @opts = App::Sqitch::Command::rework->options;
hands you back a list of Getopt::Long option specs β these are the command-line options that the rework command takes. no cap, that's the whole job.
"configure"
my $params = App::Sqitch::Command::rework->configure(
$config,
$options,
);
it takes the config and the command options, does its lil processing thing, and returns a hash that's ready to feed straight into the constructor. chef's kiss π
π Attributes π
"change_name"β the name of the change that's getting reworked π"note"β the text of the change note π"requires"β the list of required changes (yes, a whole list)"conflicts"β the list of conflicting changes (drama, honestly)"all"β a boolean, true-ish or false-ish, saying whether or not to run the command against all plans in the project. it's giving "do everything at once" energy.
β Instance Methods β
"execute"
$rework->execute($command);
runs the whole rework command. that's it, that's the method π
π SEE ALSO π
sqitch-reworkβ the docs for thereworkcommand over in the Sqitch command-line clientsqitchβ the Sqitch command-line client itself, the main character π
π«Ά AUTHOR π«Ά
David E. Wheeler <david@justatheory.com> β an actual legend for writing this β¨
π 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.
bestie, that last paragraph is ALL CAPS ON PURPOSE β it's the legal bit, don't skip it π
okay that's the whole page, ily, bye β¨
this lil beauty was rendered with perl v5.40.1, dated 2026-07-26, and it's App::S...rework(3pm) β go forth and rework responsibly ππ¦π
π¦ where this page comes from
- ubuntu stonking: sqitch 1.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms