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.
22
23 --key name
24 Private key to use to sign the repository. In most cases name
25 will be a path to the key file but it can also be a key id when
26 a custom openssl cryptographic engine is used.
27
29 The common options are summarized below with a more detailed descrip‐
30 tion available in bpkg-common-options(1).
31
32 -v Print essential underlying commands being executed.
33
34 -V Print all underlying commands being executed.
35
36 --quiet|-q
37 Run quietly, only printing error messages.
38
39 --verbose level
40 Set the diagnostics verbosity to level between 0 and 6.
41
42 --jobs|-j num
43 Number of jobs to perform in parallel.
44
45 --no-result
46 Don't print informational messages about the outcome of perform‐
47 ing a command.
48
49 --no-progress
50 Suppress progress indicators for long-lasting operations, such
51 as network transfers, building, etc.
52
53 --build path
54 The build program to be used to build packages.
55
56 --build-option opt
57 Additional option to be passed to the build program.
58
59 --fetch path
60 The fetch program to be used to download resources.
61
62 --fetch-option opt
63 Additional option to be passed to the fetch program.
64
65 --fetch-timeout sec
66 The fetch and fetch-like (for example, git) program timeout.
67
68 --pkg-proxy url
69 HTTP proxy server to use when fetching package manifests and ar‐
70 chives from remote pkg repositories.
71
72 --git path
73 The git program to be used to fetch git repositories.
74
75 --git-option opt
76 Additional common option to be passed to the git program.
77
78 --sha256 path
79 The sha256 program to be used to calculate SHA256 sums.
80
81 --sha256-option opt
82 Additional option to be passed to the sha256 program.
83
84 --tar path
85 The tar program to be used to extract package archives.
86
87 --tar-option opt
88 Additional option to be passed to the tar program.
89
90 --openssl path
91 The openssl program to be used for crypto operations.
92
93 --openssl-option opt
94 Additional option to be passed to the openssl program.
95
96 --auth type
97 Types of repositories to authenticate.
98
99 --trust fingerprint
100 Trust repository certificate with a SHA256 fingerprint.
101
102 --trust-yes
103 Assume the answer to all authentication prompts is yes.
104
105 --trust-no
106 Assume the answer to all authentication prompts is no.
107
108 --pager path
109 The pager program to be used to show long text.
110
111 --pager-option opt
112 Additional option to be passed to the pager program.
113
114 --options-file file
115 Read additional options from file.
116
117 --default-options dir
118 The directory to load additional default options files from.
119
120 --no-default-options
121 Don't load default options files.
122
124 See bpkg-default-options-files(1) for an overview of the default
125 options files. For the rep-create command the search start directory is
126 the repository directory. The following options files are searched for
127 in each directory and, if found, loaded in the order listed:
128
129 bpkg.options
130 bpkg-rep-create.options
131
132 The following rep-create command options cannot be specified in the
133 remote default options files:
134
135 --key
136
138 Send bug reports to the users@build2.org mailing list.
139
141 Copyright (c) 2014-2020 the build2 authors.
142
143 Permission is granted to copy, distribute and/or modify this document
144 under the terms of the MIT License.
145
146
147
148bpkg 0.13.0 July 2020 bpkg-rep-create(1)