1bpkg-rep-info(1)            General Commands Manual           bpkg-rep-info(1)
2
3
4

NAME

6       bpkg-rep-info - print repository information
7

SYNOPSIS

9       bpkg rep-info [options] rep-loc
10

DESCRIPTION

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

REP-INFO OPTIONS

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 and the
64              *-build values are automatically added (unless the corresponding
65              files  are  absent).  See also --ignore-unknown, --repositories-
66              file, and --packages-file.
67
68       --ignore-unknown
69              Ignore unknown manifest entries. Note that this option also  ig‐
70              nores  the  version  constraints in the special toolchain build-
71              time dependencies. This option is implied if --manifest  is  not
72              specified.
73
74       --deep Verify the presence of the required *-build values/files and the
75              validity of files referenced by the *-file manifest values.
76
77       --repositories-file path
78              If --manifest is specified, then save the repositories  manifest
79              to the specified file instead of dumping it to stdout.
80
81       --packages-file path
82              If  --manifest  is specified, then save the packages manifest to
83              the specified file instead of dumping it to stdout.
84
85       --type type
86              Specify the repository type with valid values  being  pkg,  dir,
87              and git. Refer to bpkg-rep-add(1) for details.
88
89       --directory|-d dir
90              Use configuration in dir for the trusted certificate database.
91

COMMON OPTIONS

93       The  common  options are summarized below with a more detailed descrip‐
94       tion available in bpkg-common-options(1).
95
96       -v     Print essential underlying commands being executed.
97
98       -V     Print all underlying commands being executed.
99
100       --quiet|-q
101              Run quietly, only printing error messages.
102
103       --verbose level
104              Set the diagnostics verbosity to level between 0 and 6.
105
106       --stdout-format format
107              Representation format to use for printing to stdout.
108
109       --jobs|-j num
110              Number of jobs to perform in parallel.
111
112       --no-result
113              Don't print informational messages about the outcome of perform‐
114              ing a command or some of its parts.
115
116       --structured-result fmt
117              Write the result of performing a command in a structured form.
118
119       --progress
120              Display progress indicators for long-lasting operations, such as
121              network transfers, building, etc.
122
123       --no-progress
124              Suppress progress indicators for long-lasting  operations,  such
125              as network transfers, building, etc.
126
127       --diag-color
128              Use color in diagnostics.
129
130       --no-diag-color
131              Don't use color in diagnostics.
132
133       --build path
134              The build program to be used to build packages.
135
136       --build-option opt
137              Additional option to be passed to the build program.
138
139       --fetch path
140              The fetch program to be used to download resources.
141
142       --fetch-option opt
143              Additional option to be passed to the fetch program.
144
145       --fetch-timeout sec
146              The fetch and fetch-like (for example, git) program timeout.
147
148       --pkg-proxy url
149              HTTP proxy server to use when fetching package manifests and ar‐
150              chives from remote pkg repositories.
151
152       --git path
153              The git program to be used to fetch git repositories.
154
155       --git-option opt
156              Additional common option to be passed to the git program.
157
158       --sha256 path
159              The sha256 program to be used to calculate SHA256 sums.
160
161       --sha256-option opt
162              Additional option to be passed to the sha256 program.
163
164       --tar path
165              The tar program to be used to extract package archives.
166
167       --tar-option opt
168              Additional option to be passed to the tar program.
169
170       --openssl path
171              The openssl program to be used for crypto operations.
172
173       --openssl-option opt
174              Additional option to be passed to the openssl program.
175
176       --auth type
177              Types of repositories to authenticate.
178
179       --trust fingerprint
180              Trust repository certificate with a SHA256 fingerprint.
181
182       --trust-yes
183              Assume the answer to all authentication prompts is yes.
184
185       --trust-no
186              Assume the answer to all authentication prompts is no.
187
188       --git-capabilities up=pc
189              Protocol capabilities (pc) for a git repository URL prefix (up).
190
191       --pager path
192              The pager program to be used to show long text.
193
194       --pager-option opt
195              Additional option to be passed to the pager program.
196
197       --options-file file
198              Read additional options from file.
199
200       --default-options dir
201              The directory to load additional default options files from.
202
203       --no-default-options
204              Don't load default options files.
205
206       --keep-tmp
207              Don't remove the bpkg's temporary directory at the  end  of  the
208              command execution and print its path at the verbosity level 2 or
209              higher.
210

DEFAULT OPTIONS FILES

212       See bpkg-default-options-files(1) for an overview of  the  default  op‐
213       tions  files.  If the rep-info command uses an existing bpkg configura‐
214       tion, then the start directory is the configuration  directory.  Other‐
215       wise, only the predefined directories (home, system, etc) are searched.
216       The following options files are searched for in each directory and,  if
217       found, loaded in the order listed:
218
219       bpkg.options
220       bpkg-rep-info.options
221
222       The  following  rep-info command options cannot be specified in the de‐
223       fault options files:
224
225       --directory|-d
226

BUGS

228       Send bug reports to the users@build2.org mailing list.
229
231       Copyright (c) 2014-2023 the build2 authors.
232
233       Permission is granted to copy, distribute and/or modify  this  document
234       under the terms of the MIT License.
235
236
237
238bpkg 0.16.0                        June 2023                  bpkg-rep-info(1)
Impressum