1bpkg-rep-create(1) General Commands Manual bpkg-rep-create(1)
2
3
4
6 bpkg-rep-create - create repository
7
9 bpkg rep-create [options] [dir]
10
12 The rep-create command regenerates the packages.manifest file based on
13 the files present in the repository directory. If the repositories.man‐
14 ifest file contains a certificate, then the signature.manifest file is
15 regenerated as well. In this case the --key option must be used to
16 specify the certificate's private key. If dir is not specified, then
17 the current working directory is used as the repository root.
18
20 --ignore-unknown
21 Ignore unknown manifest entries. Note that this option also ig‐
22 nores the version constraints in the special toolchain build-
23 time dependencies.
24
25 --min-bpkg-version ver
26 Apply backward compatibility workarounds to the generated pack‐
27 ages.manifest file so that it can be consumed by bpkg versions
28 greater or equal to the specified version. If unspecified, then
29 the min-bpkg-version value from the repositories.manifest file
30 is used, if present. If the manifest value is not specified ei‐
31 ther, then no backward compatibility workarounds are applied.
32
33 --key name
34 Private key to use to sign the repository. In most cases name
35 will be a path to the key file but it can also be a key id when
36 a custom openssl cryptographic engine is used.
37
39 The common options are summarized below with a more detailed descrip‐
40 tion available in bpkg-common-options(1).
41
42 -v Print essential underlying commands being executed.
43
44 -V Print all underlying commands being executed.
45
46 --quiet|-q
47 Run quietly, only printing error messages.
48
49 --verbose level
50 Set the diagnostics verbosity to level between 0 and 6.
51
52 --stdout-format format
53 Representation format to use for printing to stdout.
54
55 --jobs|-j num
56 Number of jobs to perform in parallel.
57
58 --no-result
59 Don't print informational messages about the outcome of perform‐
60 ing a command or some of its parts.
61
62 --structured-result fmt
63 Write the result of performing a command in a structured form.
64
65 --progress
66 Display progress indicators for long-lasting operations, such as
67 network transfers, building, etc.
68
69 --no-progress
70 Suppress progress indicators for long-lasting operations, such
71 as network transfers, building, etc.
72
73 --diag-color
74 Use color in diagnostics.
75
76 --no-diag-color
77 Don't use color in diagnostics.
78
79 --build path
80 The build program to be used to build packages.
81
82 --build-option opt
83 Additional option to be passed to the build program.
84
85 --fetch path
86 The fetch program to be used to download resources.
87
88 --fetch-option opt
89 Additional option to be passed to the fetch program.
90
91 --fetch-timeout sec
92 The fetch and fetch-like (for example, git) program timeout.
93
94 --pkg-proxy url
95 HTTP proxy server to use when fetching package manifests and ar‐
96 chives from remote pkg repositories.
97
98 --git path
99 The git program to be used to fetch git repositories.
100
101 --git-option opt
102 Additional common option to be passed to the git program.
103
104 --sha256 path
105 The sha256 program to be used to calculate SHA256 sums.
106
107 --sha256-option opt
108 Additional option to be passed to the sha256 program.
109
110 --tar path
111 The tar program to be used to extract package archives.
112
113 --tar-option opt
114 Additional option to be passed to the tar program.
115
116 --openssl path
117 The openssl program to be used for crypto operations.
118
119 --openssl-option opt
120 Additional option to be passed to the openssl program.
121
122 --auth type
123 Types of repositories to authenticate.
124
125 --trust fingerprint
126 Trust repository certificate with a SHA256 fingerprint.
127
128 --trust-yes
129 Assume the answer to all authentication prompts is yes.
130
131 --trust-no
132 Assume the answer to all authentication prompts is no.
133
134 --git-capabilities up=pc
135 Protocol capabilities (pc) for a git repository URL prefix (up).
136
137 --pager path
138 The pager program to be used to show long text.
139
140 --pager-option opt
141 Additional option to be passed to the pager program.
142
143 --options-file file
144 Read additional options from file.
145
146 --default-options dir
147 The directory to load additional default options files from.
148
149 --no-default-options
150 Don't load default options files.
151
152 --keep-tmp
153 Don't remove the bpkg's temporary directory at the end of the
154 command execution and print its path at the verbosity level 2 or
155 higher.
156
158 See bpkg-default-options-files(1) for an overview of the default op‐
159 tions files. For the rep-create command the search start directory is
160 the repository directory. The following options files are searched for
161 in each directory and, if found, loaded in the order listed:
162
163 bpkg.options
164 bpkg-rep-create.options
165
166 The following rep-create command options cannot be specified in the re‐
167 mote default options files:
168
169 --key
170
172 Send bug reports to the users@build2.org mailing list.
173
175 Copyright (c) 2014-2023 the build2 authors.
176
177 Permission is granted to copy, distribute and/or modify this document
178 under the terms of the MIT License.
179
180
181
182bpkg 0.16.0 June 2023 bpkg-rep-create(1)