App::P...d::lock(3pm)
π App::Pinto::Command::lock β the manual page, but make it make sense π
okay bestie, gather round, because this is App::Pinto::Command::lock from the 3pm manual section, and it's literally about making a stack untouchable. iconic behavior honestly.
β¨ NAME β¨
App::Pinto::Command::lock β mark a stack as read-only π
πΈ VERSION π¨
version 0.14
π SYNOPSIS π
pinto --root=REPOSITORY_ROOT lock [OPTIONS]
π¦ DESCRIPTION π¦
so basically this command locks a stack, which means its packages can't be changed anymore. frozen. no notes. no edits. it's giving museum exhibit. ποΈ
it's typically used together with the copy command to effectively create a read-only "tag" of a stack. like, you copy the stack, then you lock it, and boom β you've got yourself a permanent lil snapshot that nobody can mess with. π
and if you ever wanna undo it? to unlock a stack, use the unlock command. easy.
β COMMAND ARGUMENTS β
plot twist: as an alternative to the --stack option, you can also just specify the stack as an argument. so these two examples are equivalent, no cap:
pinto --root REPOSITORY_ROOT lock --stack dev
pinto --root REPOSITORY_ROOT lock dev
and here's the important part, so listen up π«Ά β a stack specified as an argument like this will override any stack specified with the --stack option. argument wins, periodt.
and 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. she just picks the default one. lowkey convenient.
π COMMAND OPTIONS π
--stackNAME-sNAME
Lock 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 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.
fr fr, that's the whole page. nothing skipped, nothing invented, every flag and path and default exactly where it belongs. π
and that's a wrap, bestie β this lil doc came to you courtesy of perl v5.40.1, dated 2025-04-21, and it ATE. mwah. πβ¨π
π¦ 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