App::P...:roots(3pm)
NAME</p> π
ok so App::Pinto::Command::roots β bestie, this is the show the roots of a stack situation π
it's a command in the App::Pinto fam, and it lives in the Perl docs (section 3pm, User Contributed Perl Documentation, iykyk).
VERSION β¨
version 0.14 β that's the one, no cap π«Ά
SYNOPSIS πΈ
pinto --root=REPOSITORY_ROOT roots [OPTIONS]
that's literally it. go off π
DESCRIPTION π¦
!! THIS COMMAND IS EXPERIMENTAL !! π not me warning you first thing
ok so what does it do. This command lists the distributions that are the roots of the dependency tree that includes all the distributions in the stack. In other words, it tells you which distributions or packages you would need to install from this stack to get all the other distribution in the stack. it's giving "here's the starting lineup bestie" β
COMMAND ARGUMENTS π
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. so like, it always knows where to go π§
COMMAND OPTIONS π
--format FORMAT_SPECIFICATIONβ Format of the output of each record usingprintf-style placeholders. the valid placeholders are:%pβ Package name%Pβ Package name-version%vβ Package version%yβ Pin status: (!) = is pinned%aβ Distribution author%fβ Distribution archive filename%mβ Distribution maturity: (d) = developer, (r) = release%Mβ Distribution main module%hβ Distribution index path [1]%Hβ Distribution physical path [2]%sβ Distribution origin: (l) = local, (f) = foreign%Sβ Distribution source%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. The default format is "%a/%f". periodt π
--stack NAME,-s NAMEβ List the roots of the stack with the given NAME. Defaults to the name of whichever stack is currently marked as the default stack. Use thestackscommand to see the stacks in the repository. main character energy fr fr π
EXAMPLES π
Install all modules in the stack in one shot:
pinto -r /myrepo roots | cpanm --mirror-only --mirror file:///myrepo
Generate a basic cpanfile that would install all modules in the stack:
pinto -r /myrepo roots --format 'requires q{%M};' > cpanfile
ate, no crumbs π₯
CAVEATS π
This list of roots produced by this command is not always correct. Many Perl distributions use dynamic configuration so you can't truly know what distributions need to be installed until you actually try and install them. Pinto relies entirely on the static META files to determine prerequisites. ngl that's just how it is π
But in most cases, this list is pretty accurate. When it is wrong, it typically includes too many distributions rather than too few. At best, this will have no impact because your installer will have already installed them as prerequisites. At worst, you may be installing a distribution that you don't really need. so like, mild chaos at most, we survive π«Ά
AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
COPYRIGHT AND LICENSE π
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.
ok that's the whole thing bestie, we're done here π this page was churned out by perl v5.40.1 on 2025-04-21, and it's the App::P...:roots(3pm) page from your friendly neighborhood User Contributed Perl Documentation. slay β¨ππ¦
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms