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

NAME

6       bpkg-rep-create - create repository
7

SYNOPSIS

9       bpkg rep-create [options] [dir]
10

DESCRIPTION

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

REP-CREATE OPTIONS

20       --ignore-unknown
21              Ignore unknown manifest entries.
22
23       --min-bpkg-version ver
24              Apply backward compatibility workarounds to the generated  pack‐
25              ages.manifest  file  so that it can be consumed by bpkg versions
26              greater or equal to the specified version. If unspecified,  then
27              the  min-bpkg-version  value from the repositories.manifest file
28              is used, if present. If the manifest value is not specified  ei‐
29              ther, then no backward compatibility workarounds are applied.
30
31       --key name
32              Private  key  to  use to sign the repository. In most cases name
33              will be a path to the key file but it can also be a key id  when
34              a custom openssl cryptographic engine is used.
35

COMMON OPTIONS

37       The  common  options are summarized below with a more detailed descrip‐
38       tion available in bpkg-common-options(1).
39
40       -v     Print essential underlying commands being executed.
41
42       -V     Print all underlying commands being executed.
43
44       --quiet|-q
45              Run quietly, only printing error messages.
46
47       --verbose level
48              Set the diagnostics verbosity to level between 0 and 6.
49
50       --stdout-format format
51              Representation format to use for printing to stdout.
52
53       --jobs|-j num
54              Number of jobs to perform in parallel.
55
56       --no-result
57              Don't print informational messages about the outcome of perform‐
58              ing a command or some of its parts.
59
60       --progress
61              Display progress indicators for long-lasting operations, such as
62              network transfers, building, etc.
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       --pkg-proxy url
84              HTTP proxy server to use when fetching package manifests and ar‐
85              chives from remote pkg repositories.
86
87       --git path
88              The git program to be used to fetch git repositories.
89
90       --git-option opt
91              Additional common option to be passed to the git program.
92
93       --sha256 path
94              The sha256 program to be used to calculate SHA256 sums.
95
96       --sha256-option opt
97              Additional option to be passed to the sha256 program.
98
99       --tar path
100              The tar program to be used to extract package archives.
101
102       --tar-option opt
103              Additional option to be passed to the tar program.
104
105       --openssl path
106              The openssl program to be used for crypto operations.
107
108       --openssl-option opt
109              Additional option to be passed to the openssl program.
110
111       --auth type
112              Types of repositories to authenticate.
113
114       --trust fingerprint
115              Trust repository certificate with a SHA256 fingerprint.
116
117       --trust-yes
118              Assume the answer to all authentication prompts is yes.
119
120       --trust-no
121              Assume the answer to all authentication prompts is no.
122
123       --pager path
124              The pager program to be used to show long text.
125
126       --pager-option opt
127              Additional option to be passed to the pager program.
128
129       --options-file file
130              Read additional options from file.
131
132       --default-options dir
133              The directory to load additional default options files from.
134
135       --no-default-options
136              Don't load default options files.
137
138       --keep-tmp
139              Don't remove the bpkg's temporary directory at the  end  of  the
140              command execution and print its path at the verbosity level 2 or
141              higher.
142

DEFAULT OPTIONS FILES

144       See bpkg-default-options-files(1) for an overview of  the  default  op‐
145       tions  files.  For the rep-create command the search start directory is
146       the repository directory. The following options files are searched  for
147       in each directory and, if found, loaded in the order listed:
148
149       bpkg.options
150       bpkg-rep-create.options
151
152       The following rep-create command options cannot be specified in the re‐
153       mote default options files:
154
155       --key
156

BUGS

158       Send bug reports to the users@build2.org mailing list.
159
161       Copyright (c) 2014-2022 the build2 authors.
162
163       Permission is granted to copy, distribute and/or modify  this  document
164       under the terms of the MIT License.
165
166
167
168bpkg 0.15.0                        July 2022                bpkg-rep-create(1)
Impressum