NAME
App::Pinto::Admin::Subcommand::stack::merge - merge one stack into another
VERSION
version 0.040_001
SYNOPSIS
pinto-admin --root=/some/dir stack merge [OPTIONS] SOURCE_STACK TARGET_STACK
DESCRIPTION
!! 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:
If a package in the
SOURCE
is newer than the corresponding package in theTARGET
, then the package in theTARGET
is upgraded to the same version as the package in theSOURCE
.If the package in the
TARGET
is pinned and the corresponding package in theSOURCE
is newer, then a conflict occurrs.If the package in the
SOURCE
is pinned and the corresponding package in theTARGET
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.
SUBCOMMAND ARGUMENTS
Required arguments are the name of the SOURCE
stack and the name of the TARGET
stack.
SUBCOMMAND OPTIONS
- --dryrun
-
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.
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT AND LICENSE
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.