1App::Pinto::Command::loUcske(r3)Contributed Perl DocumenAtpapt:i:oPninto::Command::lock(3)
2
3
4
6 App::Pinto::Command::lock - mark a stack as read-only
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT lock [OPTIONS]
13
15 This command locks a stack so that its packages cannot be changed. It
16 is typically used with the copy command to effectively create a read-
17 only "tag" of a stack.
18
19 To unlock a stack, use the unlock command.
20
22 As an alternative to the "--stack" option, you can also specify the
23 stack as an argument. So the following examples are equivalent:
24
25 pinto --root REPOSITORY_ROOT lock --stack dev
26 pinto --root REPOSITORY_ROOT lock dev
27
28 A stack specified as an argument in this fashion will override any
29 stack specified with the "--stack" option. If a stack is not specified
30 by neither argument nor option, then it defaults to the stack that is
31 currently marked as the default stack.
32
34 --stack NAME
35 -s NAME
36 Lock the stack with the given NAME. Defaults to the name of
37 whichever stack is currently marked as the default stack. Use the
38 stacks command to see the stacks in the repository.
39
41 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
42
44 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.30.1 2020-01-30 App::Pinto::Command::lock(3)