App::Pinto::Command::pull(3pm) | User Contributed Perl Documentation | App::Pinto::Command::pull(3pm) |
App::Pinto::Command::pull - pull archives from upstream repositories
version 0.097
pinto --root=REPOSITORY_ROOT pull [OPTIONS] TARGET ...
This command locates packages in your upstream repositories and then pulls the distributions providing those packages into your repository and registers them on a stack. Then it recursively locates and pulls all the distributions that are necessary to satisfy their prerequisites. You can also request to directly pull particular distributions.
When locating packages, Pinto first looks at the packages that already exist in the local repository, then Pinto looks at the packages that are available on the upstream repositories.
Arguments are the targets that you want to pull. Targets can be specified as packages (with or without a minimum version number) or a distributions. For example:
Foo::Bar # Pulls any version of Foo::Bar Foo::Bar~1.2 # Pulls Foo::Bar 1.2 or higher SHAKESPEARE/King-Lear-1.2.tar.gz # Pulls a specific distribuion SHAKESPEARE/tragedies/Hamlet-4.2.tar.gz # Ditto, but from a subdirectory
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.
When searching for a package (or one of its prerequisites), always take the latest satisfactory version of the package found amongst all the upstream repositories, rather than just taking the first satisfactory version that is found. Remember that Pinto only searches the upstream repositories when the local repository does not already contain a satisfactory version of the package.
Normally, failure to pull a target (or its prerequisites) causes the command to immediately abort and rollback the changes to the repository. But if "--no-fail" is set, then only the changes caused by the failed target (and its prerequisites) will be rolled back and the command will continue processing the remaining targets.
This option is useful if you want to throw a list of targets into a repository and see which ones are problematic. Once you've fixed the broken ones, you can throw the whole list at the repository again.
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
This software is copyright (c) 2013 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2019-02-24 | perl v5.28.1 |