NAME
App::Pinto::Command::add - add local archives to the repository
VERSION
version 0.049
SYNOPSIS
pinto --root=REPOSITORY_ROOT add [OPTIONS] ARCHIVE_FILE ...
pinto --root=REPOSITORY_ROOT add [OPTIONS] < LIST_OF_ARCHIVE_FILES
DESCRIPTION
This command adds local distribution archives to the repository. Then it recursively pulls all the distributions that are necessary to satisfy their prerequisites.
When locating packages, Pinto first looks at the the packages that already exist in the local repository, then Pinto looks at the packages that are available on the upstream repositories.
COMMAND ARGUMENTS
Arguments to this command are paths to the distribution archives that you wish to add. Each of these files must exist and must be readable.
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
-
Set the identity of the distribution author. The
NAME
must be alphanumeric characters (no spaces) and will be forced to uppercase. Defaults to theuser
specified in your~/.pause
configuration file (if such file exists). Otherwise, defaults to your current login username. - --dryrun
-
Go through all the motions, but do not actually commit any changes to the repository. Use this option to see how the command would potentially impact the stack.
- --message=TEXT
- -m TEXT
-
Use TEXT as the revision history log message. If you do not use
--message
option, then you will be prompted to enter the message via your text editor. Use theEDITOR
orVISUAL
environment variables to control which editor is used. A log message is not required whenever the--dryrun
option is set, or if the action did not yield any changes to the repository. - --norecurse
- -n
-
Do not recursively pull distributions required to satisfy the prerequisites of the added distributions.
- --pin
-
Pins all the packages in the added distributions to the stack, so they cannot be changed until you unpin them. The pin does not apply to any prerequisites that are pulled in for this distribution. However, you may pin them separately with the pin command, if you so desire.
- --stack NAME
-
Puts all the packages onto 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.