App::Pinto::Admin::Subcommand::stack::merge - merge one stack into another
version 0.040_001
pinto-admin --root=/some/dir stack merge [OPTIONS] SOURCE_STACK TARGET_STACK
!! THIS COMMAND IS EXPERIMENTAL. DO NOT USE ON A LIVE REPOSITORY !!
This command merges the packages from one stack (the SOURCE) into another (the TARGET). Merge rules are as follows:
SOURCE
TARGET
If a package in the SOURCE is newer than the corresponding package in the TARGET, then the package in the TARGET is upgraded to the same version as the package in the SOURCE.
If the package in the TARGET is pinned and the corresponding package in the SOURCE is newer, then a conflict occurrs.
If the package in the SOURCE is pinned and the corresponding package in the TARGET is newer, then a conflict occurrs.
Whenever there is a conflict, the merge is aborted. All the pins from the SOURCE are also placed on the TARGET. Both SOURCE and TARGET stacks must already exist before merging. Please see the copy or create subcommands to create stacks.
copy
create
Required arguments are the name of the SOURCE stack and the name of the TARGET stack.
Conflicts will be reported, but the stacks will not be merged and the repository will not be changed. Note: This option is currently not functional.
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
This software is copyright (c) 2011 by Imaginative Software Systems.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pinto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pinto
CPAN shell
perl -MCPAN -e shell install Pinto
For more information on module installation, please visit the detailed CPAN module installation guide.