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

NAME

6       bpkg-rep-fetch - fetch list of available packages
7

SYNOPSIS

9       bpkg rep-fetch|fetch [options] [(rep-name | rep-loc)...]
10

DESCRIPTION

12       The  rep-fetch  command  fetches the list of available packages for the
13       specified repositories as well as all their complement and prerequisite
14       repositories,  recursively. If no repositories were specified, then all
15       the repositories previously added (bpkg-rep-add(1)) to  the  configura‐
16       tion are fetched.
17
18       The repository to fetch can be specified either as a repository name or
19       as a repository location (URL or a directory path; see  bpkg-rep-add(1)
20       for  details). In the latter case, the repository location is added/re‐
21       placed as if by first executing the rep-add command.
22
23       Note that fetching only a specific repository that happens to be a pre‐
24       requisite  or  complete of another repository not being fetched may re‐
25       sult in an inconsistent repository state.
26

REP-FETCH OPTIONS

28       --shallow
29              Do not re-fetch complement and prerequisite repositories of  the
30              specified repositories unless the set of complements and/or pre‐
31              requisites has changed.
32
33       --directory|-d dir
34              Assume configuration is in dir rather than in the current  work‐
35              ing directory.
36

COMMON OPTIONS

38       The  common  options are summarized below with a more detailed descrip‐
39       tion available in bpkg-common-options(1).
40
41       -v     Print essential underlying commands being executed.
42
43       -V     Print all underlying commands being executed.
44
45       --quiet|-q
46              Run quietly, only printing error messages.
47
48       --verbose level
49              Set the diagnostics verbosity to level between 0 and 6.
50
51       --stdout-format format
52              Representation format to use for printing to stdout.
53
54       --jobs|-j num
55              Number of jobs to perform in parallel.
56
57       --no-result
58              Don't print informational messages about the outcome of perform‐
59              ing a command or some of its parts.
60
61       --structured-result fmt
62              Write the result of performing a command in a structured form.
63
64       --progress
65              Display progress indicators for long-lasting operations, such as
66              network transfers, building, etc.
67
68       --no-progress
69              Suppress progress indicators for long-lasting  operations,  such
70              as network transfers, building, etc.
71
72       --diag-color
73              Use color in diagnostics.
74
75       --no-diag-color
76              Don't use color in diagnostics.
77
78       --build path
79              The build program to be used to build packages.
80
81       --build-option opt
82              Additional option to be passed to the build program.
83
84       --fetch path
85              The fetch program to be used to download resources.
86
87       --fetch-option opt
88              Additional option to be passed to the fetch program.
89
90       --fetch-timeout sec
91              The fetch and fetch-like (for example, git) program timeout.
92
93       --pkg-proxy url
94              HTTP proxy server to use when fetching package manifests and ar‐
95              chives from remote pkg repositories.
96
97       --git path
98              The git program to be used to fetch git repositories.
99
100       --git-option opt
101              Additional common option to be passed to the git program.
102
103       --sha256 path
104              The sha256 program to be used to calculate SHA256 sums.
105
106       --sha256-option opt
107              Additional option to be passed to the sha256 program.
108
109       --tar path
110              The tar program to be used to extract package archives.
111
112       --tar-option opt
113              Additional option to be passed to the tar program.
114
115       --openssl path
116              The openssl program to be used for crypto operations.
117
118       --openssl-option opt
119              Additional option to be passed to the openssl program.
120
121       --auth type
122              Types of repositories to authenticate.
123
124       --trust fingerprint
125              Trust repository certificate with a SHA256 fingerprint.
126
127       --trust-yes
128              Assume the answer to all authentication prompts is yes.
129
130       --trust-no
131              Assume the answer to all authentication prompts is no.
132
133       --git-capabilities up=pc
134              Protocol capabilities (pc) for a git repository URL prefix (up).
135
136       --pager path
137              The pager program to be used to show long text.
138
139       --pager-option opt
140              Additional option to be passed to the pager program.
141
142       --options-file file
143              Read additional options from file.
144
145       --default-options dir
146              The directory to load additional default options files from.
147
148       --no-default-options
149              Don't load default options files.
150
151       --keep-tmp
152              Don't remove the bpkg's temporary directory at the  end  of  the
153              command execution and print its path at the verbosity level 2 or
154              higher.
155

DEFAULT OPTIONS FILES

157       See bpkg-default-options-files(1) for an overview of  the  default  op‐
158       tions  files.  For  the rep-fetch command the search start directory is
159       the configuration directory. The following options files  are  searched
160       for in each directory and, if found, loaded in the order listed:
161
162       bpkg.options
163       bpkg-rep-fetch.options
164
165       The  following rep-fetch command options cannot be specified in the de‐
166       fault options files:
167
168       --directory|-d
169

BUGS

171       Send bug reports to the users@build2.org mailing list.
172
174       Copyright (c) 2014-2023 the build2 authors.
175
176       Permission is granted to copy, distribute and/or modify  this  document
177       under the terms of the MIT License.
178
179
180
181bpkg 0.16.0                        June 2023                 bpkg-rep-fetch(1)
Impressum