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
21       added/replaced 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
25       result 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       --jobs|-j num
52              Number of jobs to perform in parallel.
53
54       --no-result
55              Don't print informational messages about the outcome of perform‐
56              ing a command.
57
58       --no-progress
59              Suppress  progress  indicators for long-lasting operations, such
60              as network transfers, building, etc.
61
62       --build path
63              The build program to be used to build packages.
64
65       --build-option opt
66              Additional option to be passed to the build program.
67
68       --fetch path
69              The fetch program to be used to download resources.
70
71       --fetch-option opt
72              Additional option to be passed to the fetch program.
73
74       --fetch-timeout sec
75              The fetch and fetch-like (for example, git) program timeout.
76
77       --git path
78              The git program to be used to fetch git repositories.
79
80       --git-option opt
81              Additional common option to be passed to the git program.
82
83       --sha256 path
84              The sha256 program to be used to calculate SHA256 sums.
85
86       --sha256-option opt
87              Additional option to be passed to the sha256 program.
88
89       --tar path
90              The tar program to be used to extract package archives.
91
92       --tar-option opt
93              Additional option to be passed to the tar program.
94
95       --openssl path
96              The openssl program to be used for crypto operations.
97
98       --openssl-option opt
99              Additional option to be passed to the openssl program.
100
101       --auth type
102              Types of repositories to authenticate.
103
104       --trust fingerprint
105              Trust repository certificate with a SHA256 fingerprint.
106
107       --trust-yes
108              Assume the answer to all authentication prompts is yes.
109
110       --trust-no
111              Assume the answer to all authentication prompts is no.
112
113       --pager path
114              The pager program to be used to show long text.
115
116       --pager-option opt
117              Additional option to be passed to the pager program.
118
119       --options-file file
120              Read additional options from file.
121
122       --default-options dir
123              The directory to load additional default options files from.
124
125       --no-default-options
126              Don't load default options files.
127

DEFAULT OPTIONS FILES

129       See  bpkg-default-options-files(1)  for  an  overview  of  the  default
130       options  files. For the rep-fetch command the search start directory is
131       the configuration directory. The following options files  are  searched
132       for in each directory and, if found, loaded in the order listed:
133
134       bpkg.options
135       bpkg-rep-fetch.options
136
137       The  following  rep-fetch  command  options  cannot be specified in the
138       default options files:
139
140       --directory|-d
141

BUGS

143       Send bug reports to the users@build2.org mailing list.
144
146       Copyright (c) 2014-2019 Code Synthesis Ltd
147
148       Permission is granted to copy, distribute and/or modify  this  document
149       under the terms of the MIT License.
150
151
152
153bpkg 0.12.0                      November 2019               bpkg-rep-fetch(1)
Impressum