1App::Pinto::Command::reUgsiesrteCro(n3t)ributed Perl DocAupmpe:n:tPaitnitoon::Command::register(3)
2
3
4
6 App::Pinto::Command::register - put existing packages on a stack
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT register [OPTIONS] ARCHIVE ...
13
15 !! THIS COMMAND IS EXPERIMENTAL !!
16
17 This command adds packages to a stack. The archive which contains
18 those packages must already exist in the repository.
19
20 To add packages from an archive in an upstream repository, use the pull
21 command. To add packages from a local archive, use the add command.
22
24 Arguments are the archives you want to register. Archives are
25 specified as "AUTHOR/ARCHIVE_NAME". For example:
26
27 SHAKESPEARE/King-Lear-1.2.tar.gz
28
29 You can also pipe arguments to this command over STDIN. In that case,
30 blank lines and lines that look like comments (i.e. starting with "#"
31 or ';') will be ignored.
32
34 --diff-style=STYLE
35 Controls the style of the diff reports. STYLE must be either
36 "concise" or "detailed". Concise reports show only one record for
37 each distribution added or deleted. Detailed reports show one
38 record for every package added or deleted.
39
40 The default style is "concise". However, the default style can
41 changed by setting the "PINTO_DIFF_STYLE" environment variable to
42 your preferred STYLE. This variable affects the default style for
43 diff reports generated by all other commands too.
44
45 --dry-run
46 Go through all the motions, but do not actually commit any changes
47 to the repository. Use this option to see how the command would
48 potentially impact the stack.
49
50 --message=TEXT
51 -m TEXT
52 Use TEXT as the revision history log message. If you do not use
53 the "--message" option or the "--use-default-message" option, then
54 you will be prompted to enter the message via your text editor.
55 Use the "PINTO_EDITOR" or "EDITOR" or "VISUAL" environment
56 variables to control which editor is used. A log message is not
57 required whenever the "--dry-run" option is set, or if the action
58 did not yield any changes to the repository.
59
60 --stack=NAME
61 -s NAME
62 Registers the targets on the stack with the given NAME. Defaults
63 to the name of whichever stack is currently marked as the default
64 stack. Use the stacks command to see the stacks in the repository.
65
66 --use-default-message
67 -M Use the default value for the revision history log message. Pinto
68 will generate a semi-informative log message just based on the
69 command and its arguments. If you set an explicit message with
70 "--message", the "--use-default-message" option will be silently
71 ignored.
72
74 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
75
77 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
78
79 This is free software; you can redistribute it and/or modify it under
80 the same terms as the Perl 5 programming language system itself.
81
82
83
84perl v5.32.0 2020-07-28 App::Pinto::Command::register(3)