bpkg-rep-create(1)
π bpkg-rep-create π
bestie. sit down. hydrate. we're talking about bpkg-rep-create β the bpkg subcommand whose whole personality is create repository. no cap, that's literally the job description. π
β¨ NAME β¨
bpkg-rep-create β create repository. that's it. that's the name. iconic behaviour honestly. π
π¦ SYNOPSIS π¦
bpkg rep-create [options] [dir]
πΈ DESCRIPTION πΈ
okay so here's the tea β β the rep-create command regenerates the packages.manifest file, and it builds it from the files that are actually present in the repository directory. it's giving "i looked at what's in the folder and i wrote it down." main character energy.
and listen π β if the repositories.manifest file contains a certificate, then the signature.manifest file gets regenerated as well. in that case you must use the --key option to specify the certificate's private key. no key, no signature, we don't make the rules. π
if dir is not specified, then the current working directory is used as the repository root. so if you're already standing in the right place, you can just vibe and run it. π
π REP-CREATE OPTIONS π
--ignore-unknownβ ignore unknown manifest entries. heads up though bestie: this option also ignores the version constraints in the special toolchain build-time dependencies. so it's not just ignoring randos, it's ignoring the special ones too. π--min-bpkg-version_ver_ β applies backward compatibility workarounds to the generatedpackages.manifestfile so that it can be consumed bybpkgversions greater or equal to the specified version. if unspecified, then themin-bpkg-versionvalue from therepositories.manifestfile is used, if present. and if the manifest value is not specified either, then no backward compatibility workarounds are applied. three-tier fallback, she's thorough. π--key_name_ β private key to use to sign the repository. in most casesnamewill be a path to the key file, but it can also be a key id when a customopensslcryptographic engine is used. versatile queen. π
β COMMON OPTIONS β
the common options are summarized below, with a more detailed description available in bpkg-common-options(1). go read that one too, she ate. π«Ά
-vβ print essential underlying commands being executed.-Vβ print all underlying commands being executed. yes, all of them. the whole group chat. π-q,--quietβ run quietly, only printing error messages.--verbose_level_ β set the diagnostics verbosity to _level_ between 0 and 6.--stdout-format_format_ β representation format to use for printing to stdout.-j,--jobs_num_ β number of jobs to perform in parallel.--no-resultβ don't print informational messages about the outcome of performing a command or some of its parts.--structured-result_fmt_ β write the result of performing a command in a structured form.--progressβ display progress indicators for long-lasting operations, such as network transfers, building, etc.--no-progressβ suppress progress indicators for long-lasting operations, such as network transfers, building, etc.--diag-colorβ use color in diagnostics.--no-diag-colorβ don't use color in diagnostics.--build_path_ β the build program to be used to build packages.--build-option_opt_ β additional option to be passed to the build program.--fetch_path_ β the fetch program to be used to download resources.--fetch-option_opt_ β additional option to be passed to the fetch program.--fetch-timeout_sec_ β the fetch and fetch-like (for example,git) program timeout.--pkg-proxy_url_ β HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories.--git_path_ β thegitprogram to be used to fetch git repositories.--git-option_opt_ β additional common option to be passed to thegitprogram.--sha256_path_ β thesha256program to be used to calculate SHA256 sums.--sha256-option_opt_ β additional option to be passed to thesha256program.--tar_path_ β thetarprogram to be used to extract package archives.--tar-option_opt_ β additional option to be passed to thetarprogram.--openssl_path_ β theopensslprogram to be used for crypto operations.--openssl-option_opt_ β additional option to be passed to theopensslprogram.--auth_type_ β types of repositories to authenticate.--trust_fingerprint_ β trust repository certificate with a SHA256 fingerprint.--trust-yesβ assume the answer to all authentication prompts is yes.--trust-noβ assume the answer to all authentication prompts is no.--git-capabilities_up=pc_ β protocol capabilities (_pc_) for a git repository URL prefix (_up_).--pager_path_ β the pager program to be used to show long text.--pager-option_opt_ β additional option to be passed to the pager program.--options-file_file_ β read additional options from _file_.--default-options_dir_ β the directory to load additional default options files from.--no-default-optionsβ don't load default options files.--keep-tmpβ don't remove thebpkg's temporary directory at the end of the command execution and print its path at the verbosity level 2 or higher.
π§ DEFAULT OPTIONS FILES π§
see bpkg-default-options-files(1) for an overview of the default options files. for the rep-create command the search start directory is the repository directory.
the following options files are searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-rep-create.options
and the following rep-create command options cannot be specified in the remote default options files:
--key
π¨ bestie this one matters: --key is banned from remote default options files. keep your private keys close, fr fr. π
π BUGS π
send bug reports to the users@build2.org mailing list. they're nice, i promise. π«Ά
π COPYRIGHT π
Copyright (c) 2014-2024 the build2 authors.
Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
and that's the whole page, no notes. this one's from bpkg 0.17.0, dated June 2024, and it's the bpkg-rep-create(1) manual page β go regenerate some repositories, you absolute legend. β¨π
π slay, stay hydrated, and remember: packages.manifest isn't gonna regenerate itself. π¦
π¦ where this page comes from
- fedora 43: bpkg 0.17.0-5.fc43 Β· MIT
- fedora 44: bpkg 0.17.0-7.fc44 Β· MIT
- nixos 26.05: bpkg 0.17.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms