1App::Pinto::Command::unUrseegrisCtoenrt(r3i)buted Perl DAopcpu:m:ePnitnattoi:o:nCommand::unregister(3)
2
3
4
6 App::Pinto::Command::unregister - remove packages from a stack
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT unregister [OPTIONS] TARGET ...
13
15 !! THIS COMMAND IS EXPERIMENTAL !!
16
17 This command unregisters packages from a stack, so that they no longer
18 appear in its index. However, the archives that contain the packages
19 will remain in the repository. When unregistering, all the sister
20 packages in the same distribution are also unregistered.
21
22 To permanently remove an archive from the repository, use the delete
23 command. To re-register packages on a stack, use the register command.
24
26 Arguments are the targets that you want to unregister. Targets can be
27 specified as packages (with or without version number) or
28 distributions. For example:
29
30 Foo::Bar # Unregisters any version of Foo::Bar
31 Foo::Bar~1.2 # Unregisters Foo::Bar 1.2 or higher
32 SHAKESPEARE/King-Lear-1.2.tar.gz # Unregisters a specific distribuion
33
34 You can also pipe arguments to this command over STDIN. In that case,
35 blank lines and lines that look like comments (i.e. starting with "#"
36 or ';') will be ignored.
37
39 --diff-style=STYLE
40 Controls the style of the diff reports. STYLE must be either
41 "concise" or "detailed". Concise reports show only one record for
42 each distribution added or deleted. Detailed reports show one
43 record for every package added or deleted.
44
45 The default style is "concise". However, the default style can
46 changed by setting the "PINTO_DIFF_STYLE" environment variable to
47 your preferred STYLE. This variable affects the default style for
48 diff reports generated by all other commands too.
49
50 --dry-run
51 Go through all the motions, but do not actually commit any changes
52 to the repository. Use this option to see how the command would
53 potentially impact the stack.
54
55 --force
56 Unregister packages even if they are pinned to the stack. Take
57 care when unregistering pinned packages, as it usually means that
58 particular package is important to someone.
59
60 --message=TEXT
61 -m TEXT
62 Use TEXT as the revision history log message. If you do not use
63 the "--message" option or the "--use-default-message" option, then
64 you will be prompted to enter the message via your text editor.
65 Use the "PINTO_EDITOR" or "EDITOR" or "VISUAL" environment
66 variables to control which editor is used. A log message is not
67 required whenever the "--dry-run" option is set, or if the action
68 did not yield any changes to the repository.
69
70 --stack=NAME
71 Unregisters the targets from the stack with the given NAME.
72 Defaults to the name of whichever stack is currently marked as the
73 default stack. Use the stacks command to see the stacks in the
74 repository.
75
76 --use-default-message
77 -M Use the default value for the revision history log message. Pinto
78 will generate a semi-informative log message just based on the
79 command and its arguments. If you set an explicit message with
80 "--message", the "--use-default-message" option will be silently
81 ignored.
82
84 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
85
87 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
88
89 This is free software; you can redistribute it and/or modify it under
90 the same terms as the Perl 5 programming language system itself.
91
92
93
94perl v5.34.0 2021-07-22App::Pinto::Command::unregister(3)