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 di‐
29 rectory 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 or some of its parts.
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 --pkg-proxy url
124 HTTP proxy server to use when fetching package manifests and ar‐
125 chives from remote pkg repositories.
126
127 --git path
128 The git program to be used to fetch git repositories.
129
130 --git-option opt
131 Additional common option to be passed to the git program.
132
133 --sha256 path
134 The sha256 program to be used to calculate SHA256 sums.
135
136 --sha256-option opt
137 Additional option to be passed to the sha256 program.
138
139 --tar path
140 The tar program to be used to extract package archives.
141
142 --tar-option opt
143 Additional option to be passed to the tar program.
144
145 --openssl path
146 The openssl program to be used for crypto operations.
147
148 --openssl-option opt
149 Additional option to be passed to the openssl program.
150
151 --auth type
152 Types of repositories to authenticate.
153
154 --trust fingerprint
155 Trust repository certificate with a SHA256 fingerprint.
156
157 --trust-yes
158 Assume the answer to all authentication prompts is yes.
159
160 --trust-no
161 Assume the answer to all authentication prompts is no.
162
163 --pager path
164 The pager program to be used to show long text.
165
166 --pager-option opt
167 Additional option to be passed to the pager program.
168
169 --options-file file
170 Read additional options from file.
171
172 --default-options dir
173 The directory to load additional default options files from.
174
175 --no-default-options
176 Don't load default options files.
177
179 See bpkg-default-options-files(1) for an overview of the default op‐
180 tions files. If the rep-info command uses an existing bpkg configura‐
181 tion, then the start directory is the configuration directory. Other‐
182 wise, only the predefined directories (home, system, etc) are searched.
183 The following options files are searched for in each directory and, if
184 found, loaded in the order listed:
185
186 bpkg.options
187 bpkg-rep-info.options
188
189 The following rep-info command options cannot be specified in the de‐
190 fault options files:
191
192 --directory|-d
193
195 Send bug reports to the users@build2.org mailing list.
196
198 Copyright (c) 2014-2021 the build2 authors.
199
200 Permission is granted to copy, distribute and/or modify this document
201 under the terms of the MIT License.
202
203
204
205bpkg 0.14.0 October 2021 bpkg-rep-info(1)