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 --repositories-file and --packages-
66              file.
67
68       --deep Verify the presence of the required *-build values/files and the
69              validity of files referenced by the *-file manifest values.
70
71       --repositories-file path
72              If  --manifest is specified, then save the repositories manifest
73              to the specified file instead of dumping it to stdout.
74
75       --packages-file path
76              If --manifest is specified, then save the packages  manifest  to
77              the specified file instead of dumping it to stdout.
78
79       --type type
80              Specify  the  repository  type with valid values being pkg, dir,
81              and git. Refer to bpkg-rep-add(1) for details.
82
83       --directory|-d dir
84              Use configuration in dir for the trusted certificate database.
85

COMMON OPTIONS

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

DEFAULT OPTIONS FILES

194       See  bpkg-default-options-files(1)  for  an overview of the default op‐
195       tions files. If the rep-info command uses an existing  bpkg  configura‐
196       tion,  then  the start directory is the configuration directory. Other‐
197       wise, only the predefined directories (home, system, etc) are searched.
198       The  following options files are searched for in each directory and, if
199       found, loaded in the order listed:
200
201       bpkg.options
202       bpkg-rep-info.options
203
204       The following rep-info command options cannot be specified in  the  de‐
205       fault options files:
206
207       --directory|-d
208

BUGS

210       Send bug reports to the users@build2.org mailing list.
211
213       Copyright (c) 2014-2022 the build2 authors.
214
215       Permission  is  granted to copy, distribute and/or modify this document
216       under the terms of the MIT License.
217
218
219
220bpkg 0.15.0                        July 2022                  bpkg-rep-info(1)
Impressum