1bpkg-rep-info(1) General Commands Manual bpkg-rep-info(1)
2
3
4
6 bpkg-rep-info - print repository information
7
9 bpkg rep-info [options] rep-loc
10
12 The rep-info command prints various information about the specified
13 repository. By default it print the repository's name and location as
14 the first line. If the repository is signed, the certificate informa‐
15 tion (name/organization/email) is printed as the next line followed by
16 the certificate fingerprint. Then comes the list of complement and pre‐
17 requisite repositories followed by the list of available packages.
18
19 This default format can be altered in various ways using options listed
20 below. Note also that the information is written to stdout, not stderr.
21
22 If the current working directory contains a bpkg configuration, then
23 rep-info will use its certificate database for the repository authenti‐
24 cation. That is, it will trust the repository's certificate if it is
25 already trusted by the configuration. Otherwise it will add the cer‐
26 tificate to the configuration if you confirm it is trusted. You can
27 specify an alternative configuration directory with the --directory|-d
28 option. To disable using the configuration in the current working
29 directory pass this option with an empty path.
30
32 --name|-n
33 Print the repository's name and location.
34
35 --cert-fingerprint
36 Print the repository's certificate fingerprint or empty line if
37 the repository is unsigned.
38
39 --cert-name
40 Print the repository's certificate common name (CN) or empty
41 line if the repository is unsigned.
42
43 --cert-organization
44 Print the repository's certificate organization name (O) or
45 empty line if the repository is unsigned.
46
47 --cert-email
48 Print the repository's certificate email or empty line if the
49 repository is unsigned.
50
51 --repositories|-r
52 Print the list of complement and prerequisite repositories.
53
54 --packages|-p
55 Print the list of available packages.
56
57 --manifest
58 Instead of printing the information in the human-readable form,
59 dump it (to stdout) as manifest(s). Normally you would use this
60 option in combination with --packages|-p or --repositories|-r to
61 only dump one of the manifests. If the --deep option is speci‐
62 fied, then in the resulting packages manifest the *-file values
63 are replaced with the contents of the referenced files. See also
64 --repositories-file and --packages-file.
65
66 --deep Verify files referenced by the *-file manifest values.
67
68 --repositories-file path
69 If --manifest is specified, then save the repositories manifest
70 to the specified file instead of dumping it to stdout.
71
72 --packages-file path
73 If --manifest is specified, then save the packages manifest to
74 the specified file instead of dumping it to stdout.
75
76 --type type
77 Specify the repository type with valid values being pkg, dir,
78 and git. Refer to bpkg-rep-add(1) for details.
79
80 --directory|-d dir
81 Use configuration in dir for the trusted certificate database.
82
84 The common options are summarized below with a more detailed descrip‐
85 tion available in bpkg-common-options(1).
86
87 -v Print essential underlying commands being executed.
88
89 -V Print all underlying commands being executed.
90
91 --quiet|-q
92 Run quietly, only printing error messages.
93
94 --verbose level
95 Set the diagnostics verbosity to level between 0 and 6.
96
97 --jobs|-j num
98 Number of jobs to perform in parallel.
99
100 --no-result
101 Don't print informational messages about the outcome of perform‐
102 ing a command.
103
104 --no-progress
105 Suppress progress indicators for long-lasting operations, such
106 as network transfers, building, etc.
107
108 --build path
109 The build program to be used to build packages.
110
111 --build-option opt
112 Additional option to be passed to the build program.
113
114 --fetch path
115 The fetch program to be used to download resources.
116
117 --fetch-option opt
118 Additional option to be passed to the fetch program.
119
120 --fetch-timeout sec
121 The fetch and fetch-like (for example, git) program timeout.
122
123 --git path
124 The git program to be used to fetch git repositories.
125
126 --git-option opt
127 Additional common option to be passed to the git program.
128
129 --sha256 path
130 The sha256 program to be used to calculate SHA256 sums.
131
132 --sha256-option opt
133 Additional option to be passed to the sha256 program.
134
135 --tar path
136 The tar program to be used to extract package archives.
137
138 --tar-option opt
139 Additional option to be passed to the tar program.
140
141 --openssl path
142 The openssl program to be used for crypto operations.
143
144 --openssl-option opt
145 Additional option to be passed to the openssl program.
146
147 --auth type
148 Types of repositories to authenticate.
149
150 --trust fingerprint
151 Trust repository certificate with a SHA256 fingerprint.
152
153 --trust-yes
154 Assume the answer to all authentication prompts is yes.
155
156 --trust-no
157 Assume the answer to all authentication prompts is no.
158
159 --pager path
160 The pager program to be used to show long text.
161
162 --pager-option opt
163 Additional option to be passed to the pager program.
164
165 --options-file file
166 Read additional options from file.
167
168 --default-options dir
169 The directory to load additional default options files from.
170
171 --no-default-options
172 Don't load default options files.
173
175 See bpkg-default-options-files(1) for an overview of the default
176 options files. If the rep-info command uses an existing bpkg configura‐
177 tion, then the start directory is the configuration directory. Other‐
178 wise, only the predefined directories (home, system, etc) are searched.
179 The following options files are searched for in each directory and, if
180 found, loaded in the order listed:
181
182 bpkg.options
183 bpkg-rep-info.options
184
185 The following rep-info command options cannot be specified in the
186 default options files:
187
188 --directory|-d
189
191 Send bug reports to the users@build2.org mailing list.
192
194 Copyright (c) 2014-2019 Code Synthesis Ltd
195
196 Permission is granted to copy, distribute and/or modify this document
197 under the terms of the MIT License.
198
199
200
201bpkg 0.12.0 November 2019 bpkg-rep-info(1)