App::Pinto::Command::list(3pm) | User Contributed Perl Documentation | App::Pinto::Command::list(3pm) |
App::Pinto::Command::list - show the packages in a stack
version 0.14
pinto --root=REPOSITORY_ROOT list [OPTIONS]
This command lists the packages that are currently registered on a particular stack, or all the packages in the entire repository. You can format the output to see the specific bits of information that you want.
For a large repository, it can take a long time to list everything. So consider using the "--packages" or "--distributions" options to narrow the scope.
As an alternative to the "--stack" option, you can also specify the stack as an argument. So the following examples are equivalent:
pinto --root REPOSITORY_ROOT list --stack dev pinto --root REPOSITORY_ROOT list dev
A stack specified as an argument in this fashion will override any stack specified with the "--stack" option. If a stack is not specified by neither argument nor option, then it defaults to the stack that is currently marked as the default stack.
Placeholder Meaning ----------------------------------------------------------------------------- %p Package name %P Package name-version %v Package version %x Package can be indexed: (x) = true, (-) = false %M Package is the main module: (m) = true, (-) = false %y Package is pinned: (!) = true, (-) = false %a Distribution author %f Distribution archive filename %m Distribution maturity: (d) = developer, (r) = release %h Distribution index path [1] %H Distribution physical path [2] %s Distribution origin: (l) = local, (f) = foreign %S Distribution source URL %d Distribution name %D Distribution name-version %V Distribution version %u Distribution URI %% A literal '%' [1]: The index path is always a Unix-style path fragment, as it appears in the 02packages.details.txt index file. [2]: The physical path is always in the native style for this OS, and is relative to the root directory of the repository.
You can also specify the minimum field widths and left or right justification, using the usual notation. For example, the default format looks something like this:
[%m%s%y] %-40p %12v %a/%f
When using the "--all" option, the pin status is indeterminable so it always appears as "?". Also, the indexable status is shown. So the default format looks something like this instead:
[%m%s?%x] %-40p %12v %a/%f
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
This software is copyright (c) 2015 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.
2022-10-16 | perl v5.34.0 |