bpkg-rep-create(1)

πŸ“¦
version 0.17.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05

πŸ’– 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 generated packages.manifest file so that it can be consumed by bpkg versions greater or equal to the specified version. if unspecified, then the min-bpkg-version value from the repositories.manifest file 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 cases name will be a path to the key file, but it can also be a key id when a custom openssl cryptographic 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_ β€” the git program to be used to fetch git repositories.
  • --git-option _opt_ β€” additional common option to be passed to the git program.
  • --sha256 _path_ β€” the sha256 program to be used to calculate SHA256 sums.
  • --sha256-option _opt_ β€” additional option to be passed to the sha256 program.
  • --tar _path_ β€” the tar program to be used to extract package archives.
  • --tar-option _opt_ β€” additional option to be passed to the tar program.
  • --openssl _path_ β€” the openssl program to be used for crypto operations.
  • --openssl-option _opt_ β€” additional option to be passed to the openssl program.
  • --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 the bpkg'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 (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