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

NAME

6       bpkg-rep-add - add repository to configuration
7

SYNOPSIS

9       bpkg rep-add|add [options] rep-loc...
10

DESCRIPTION

12       The rep-add command adds the specified package repositories to the con‐
13       figuration. The repository location rep-loc is a  URL  or  a  directory
14       path.  If  a  repository with the same canonical name already exists in
15       the configuration, then its location is replaced with the specified.
16
17       Note that this command doesn't fetch the list of available packages for
18       the  newly  added  repository. For that, use the bpkg-rep-fetch(1) com‐
19       mand, normally, after adding all the repositories you wish to use.
20
21       Currently three types of repositories are supported: archive-based pkg,
22       directory-based  dir,  and  version control-based git. See bpkg-reposi‐
23       tory-types(1) for details on their structure and URL format.
24
25       Normally the repository type can be automatically guessed by  examining
26       its  URL  (for example, the presence of the .git extension) or, in case
27       of a local repository, its content (for example, the  presence  of  the
28       .git/  subdirectory).  Without any identifying information the pkg type
29       is assumed unless explicitly specified with the --type option or in the
30       URL  scheme.  Note,  however,  that  the  dir  repository type is never
31       guessed since it is not easily distinguishable from local pkg  and  git
32       repositories.
33

REP-ADD OPTIONS

35       --type type
36              Specify  the  repository  type with valid values being pkg, dir,
37              and git.
38
39       --directory|-d dir
40              Assume configuration is in dir rather than in the current  work‐
41              ing directory.
42

COMMON OPTIONS

44       The  common  options are summarized below with a more detailed descrip‐
45       tion available in bpkg-common-options(1).
46
47       -v     Print essential underlying commands being executed.
48
49       -V     Print all underlying commands being executed.
50
51       --quiet|-q
52              Run quietly, only printing error messages.
53
54       --verbose level
55              Set the diagnostics verbosity to level between 0 and 6.
56
57       --jobs|-j num
58              Number of jobs to perform in parallel.
59
60       --no-result
61              Don't print informational messages about the outcome of perform‐
62              ing a command.
63
64       --no-progress
65              Suppress  progress  indicators for long-lasting operations, such
66              as network transfers, building, etc.
67
68       --build path
69              The build program to be used to build packages.
70
71       --build-option opt
72              Additional option to be passed to the build program.
73
74       --fetch path
75              The fetch program to be used to download resources.
76
77       --fetch-option opt
78              Additional option to be passed to the fetch program.
79
80       --fetch-timeout sec
81              The fetch and fetch-like (for example, git) program timeout.
82
83       --git path
84              The git program to be used to fetch git repositories.
85
86       --git-option opt
87              Additional common option to be passed to the git program.
88
89       --sha256 path
90              The sha256 program to be used to calculate SHA256 sums.
91
92       --sha256-option opt
93              Additional option to be passed to the sha256 program.
94
95       --tar path
96              The tar program to be used to extract package archives.
97
98       --tar-option opt
99              Additional option to be passed to the tar program.
100
101       --openssl path
102              The openssl program to be used for crypto operations.
103
104       --openssl-option opt
105              Additional option to be passed to the openssl program.
106
107       --auth type
108              Types of repositories to authenticate.
109
110       --trust fingerprint
111              Trust repository certificate with a SHA256 fingerprint.
112
113       --trust-yes
114              Assume the answer to all authentication prompts is yes.
115
116       --trust-no
117              Assume the answer to all authentication prompts is no.
118
119       --pager path
120              The pager program to be used to show long text.
121
122       --pager-option opt
123              Additional option to be passed to the pager program.
124
125       --options-file file
126              Read additional options from file.
127
128       --default-options dir
129              The directory to load additional default options files from.
130
131       --no-default-options
132              Don't load default options files.
133

DEFAULT OPTIONS FILES

135       See  bpkg-default-options-files(1)  for  an  overview  of  the  default
136       options  files.  For  the rep-add command the search start directory is
137       the configuration directory. The following options files  are  searched
138       for in each directory and, if found, loaded in the order listed:
139
140       bpkg.options
141       bpkg-rep-add.options
142
143       The  following  rep-add  command  options  cannot  be  specified in the
144       default options files:
145
146       --directory|-d
147

BUGS

149       Send bug reports to the users@build2.org mailing list.
150
152       Copyright (c) 2014-2019 Code Synthesis Ltd
153
154       Permission is granted to copy, distribute and/or modify  this  document
155       under the terms of the MIT License.
156
157
158
159bpkg 0.12.0                      November 2019                 bpkg-rep-add(1)
Impressum