1bdep-fetch(1)               General Commands Manual              bdep-fetch(1)
2
3
4

NAME

6       bdep-fetch - fetch list of available project dependencies
7

SYNOPSIS

9       bdep fetch [options] [--full|-F] [prj-spec] [cfg-spec]
10
11       cfg-spec = (@cfg-name | --config|-c cfg-dir)... | --all|-a
12       prj-spec = --directory|-d prj-dir
13

DESCRIPTION

15       The  fetch  command  fetches  the  list  of  packages  available in the
16       project's prerequisite/complement repositories in  one  or  more  build
17       configurations.
18
19       If no project or package directory is specified, then the current work‐
20       ing directory is assumed. If no configuration is  specified,  then  the
21       default  configurations  are  assumed. See bdep-projects-configs(1) for
22       details on specifying projects and configurations.
23
24       If the --full|-F option is specified, then  instead  fetch  performs  a
25       full  re-fetch of all the repositories added to the configuration. This
26       mode is primarily useful when a configuration (and some of the  prereq‐
27       uisite/complement repositories) are shared between several projects. In
28       this situation an incremental  fetch  may  result  in  an  inconsistent
29       repository state.
30

FETCH OPTIONS

32       --full|-F
33              Perform a full re-fetch of all the repositories.
34
35       --all|-a
36              Use all build configurations.
37
38       --config|-c dir
39              Specify the build configuration as a directory.
40
41       --directory|-d dir
42              Assume project/package is in the specified directory rather than
43              in the current working directory.
44
45       --config-name|-n name
46              Specify the build configuration as a name.
47
48       --config-id num
49              Specify the build configuration as an id.
50

COMMON OPTIONS

52       The common options are summarized below with a more  detailed  descrip‐
53       tion available in bdep-common-options(1).
54
55       -v     Print essential underlying commands being executed.
56
57       -V     Print all underlying commands being executed.
58
59       --quiet|-q
60              Run quietly, only printing error messages.
61
62       --verbose level
63              Set the diagnostics verbosity to level between 0 and 6.
64
65       --stdout-format format
66              Representation format to use for printing to stdout.
67
68       --jobs|-j num
69              Number of jobs to perform in parallel.
70
71       --progress
72              Display progress indicators for long-lasting operations, such as
73              network transfers, building, etc.
74
75       --no-progress
76              Suppress progress indicators for long-lasting  operations,  such
77              as network transfers, building, etc.
78
79       --bpkg path
80              The  package  manager program to be used for build configuration
81              management.
82
83       --bpkg-option opt
84              Additional option to be passed to the package manager program.
85
86       --build path
87              The build program to be used to build packages.
88
89       --build-option opt
90              Additional option to be passed to the build program.
91
92       --curl path
93              The curl program to be used for network operations.
94
95       --curl-option opt
96              Additional option to be passed to the curl program.
97
98       --pager path
99              The pager program to be used to show long text.
100
101       --pager-option opt
102              Additional option to be passed to the pager program.
103
104       --options-file file
105              Read additional options from file.
106
107       --default-options dir
108              The directory to load additional default options files from.
109
110       --no-default-options
111              Don't load default options files.
112

DEFAULT OPTIONS FILES

114       See bdep-default-options-files(1) for an overview of  the  default  op‐
115       tions  files.  For  the fetch command the search start directory is the
116       project directory. The following options files are searched for in each
117       directory and, if found, loaded in the order listed:
118
119       bdep.options
120       bdep-fetch.options
121
122       The  following fetch command options cannot be specified in the default
123       options files:
124
125       --directory|-d
126

BUGS

128       Send bug reports to the users@build2.org mailing list.
129
131       Copyright (c) 2014-2022 the build2 authors.
132
133       Permission is granted to copy, distribute and/or modify  this  document
134       under the terms of the MIT License.
135
136
137
138bdep 0.15.0                        July 2022                     bdep-fetch(1)
Impressum