NAME
App::Pinto::Command::pin - force a package to stay in a stack
VERSION
version 0.044
SYNOPSIS
pinto --root=REPOSITORY_ROOT pin [OPTIONS] TARGET ...
pinto --root=REPOSITORY_ROOT pin [OPTIONS] < LIST_OF_TARGETS
DESCRIPTION
This command pins a package so that it stays in the stack even if a newer version is subsequently mirrored, imported, or added to that stack. The pin is local to the stack and does not affect any other stacks.
A package must be in the stack before you can pin it. To bring a package into the stack, use the pull command. To remove the pin from a package, please see the unpin command.
COMMAND ARGUMENTS
Arguments are the targets you wish to unpin. Targets can be specified as packages or distributions, such as:
Some::Package
Some::Other::Package
AUTHOR/Some-Dist-1.2.tar.gz
AUTHOR/Some-Other-Dist-1.3.zip
When pinning a distribution, all the packages in that distribution become pinned. Likewise when pinning a package, all its sister packages in the same distributon also become pinned.
You can also pipe arguments to this command over STDIN. In that case, blank lines and lines that look like comments (i.e. starting with "#" or ';') will be ignored.
COMMAND OPTIONS
- --dryrun
-
Go through all the motions, but do not actually commit any changes to the repository. Use this option to see how operations would potentially impact the stack.
- --stack=NAME
-
Pins the package on the stack with the given NAME. Defaults to the name of whichever stack is currently marked as the default stack. Use the stacks command to see the stacks in the repository.
AUTHOR
Jeffrey Thalhammer <jeff@imaginative-software.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.