App::Pinto::Command::lock(3pm)

App::Pinto::Command::lock3pm

Mark a stack as read-only

Usage

  pinto --root=REPOSITORY_ROOT lock [OPTIONS]

Version

version 0.14

Overview

This command locks a stack so that its packages cannot be changed. It is typically used with the copy command to effectively create a read-only "tag" of a stack.

To unlock a stack, use the unlock command.

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 lock --stack dev
  pinto --root REPOSITORY_ROOT lock 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.

Options

--stack NAME
-s NAME

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Jeffrey Ryan Thalhammer <[email protected]>

From pinto 0.14000-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.