App::Pinto::Command::unregister - remove packages from a stack
pinto --root=REPOSITORY_ROOT unregister [OPTIONS] TARGET ...
!! THIS COMMAND IS EXPERIMENTAL !!
This command unregisters packages from a stack, so that they no longer appear in its index. However, the archives that contain the packages will remain in the repository. When unregistering, all the sister packages in the same distribution are also unregistered.
Arguments are the targets that you want to unregister. Targets can be specified as packages (with or without version number) or distributions. For example:
Foo::Bar # Unregisters any version of Foo::Bar Foo::Bar~1.2 # Unregisters Foo::Bar 1.2 or higher SHAKESPEARE/King-Lear-1.2.tar.gz # Unregisters a specific distribuion
You can also pipe arguments to this command over STDIN. In that case, blank lines and lines that look like comments (i.e. starting with "#" or ';') will be ignored.
Controls the style of the diff reports. STYLE must be either
detailed. Concise reports show only one record for each distribution added or deleted. Detailed reports show one record for every package added or deleted.
The default style is
concise. However, the default style can changed by setting the
PINTO_DIFF_STYLEenvironment variable to your preferred STYLE. This variable affects the default style for diff reports generated by all other commands too.
Go through all the motions, but do not actually commit any changes to the repository. Use this option to see how the command would potentially impact the stack.
Unregister packages even if they are pinned to the stack. Take care when unregistering pinned packages, as it usually means that particular package is important to someone.
- -m TEXT
Use TEXT as the revision history log message. If you do not use the
--messageoption or the
--use-default-messageoption, then you will be prompted to enter the message via your text editor. Use the
VISUALenvironment variables to control which editor is used. A log message is not required whenever the
--dry-runoption is set, or if the action did not yield any changes to the repository.
Unregisters the targets from 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.
Use the default value for the revision history log message. Pinto will generate a semi-informative log message just based on the command and its arguments. If you set an explicit message with
--use-default-messageoption will be silently ignored.
Jeffrey Ryan Thalhammer <firstname.lastname@example.org>
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.