The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Pinto::Admin::Command::pin - force a package to stay in a stack

VERSION

version 0.040_001

SYNOPSIS

  pinto-admin --root=/some/dir pin [OPTIONS] TARGET ...
  pinto-admin --root=/some/dir 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

--stack=NAME

Pins the package on the stack with the given NAME. Defaults to the name of whichever stack is currently marked as the master stack. Use the stack list command to see the stacks in the repository.

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.