bpkg-rep-info(1)
π bpkg-rep-info β print repository information π
okay bestie, welcome to bpkg-rep-info(1) from the General Commands Manual β yes that's the vibe, we're reading manpages together now, it's giving study date π
β¨ NAME β¨
bpkg-rep-info β print repository information π¦
β¨ SYNOPSIS β¨
bpkg rep-info [options] rep-loc
β¨ DESCRIPTION β¨
So like, the rep-info command prints a bunch of info about the repository you point it at. By default it prints the repository's name and location as the first line. If the repository is signed, then the certificate info (name/organization/email) gets printed as the next line, followed by the certificate fingerprint. Then comes the list of complement and prerequisite repositories, followed by the list of available packages. Slay. π
This default format can be altered in various ways using the options listed below. Also note: the information is written to stdout, not stderr. iykyk.
If the current working directory contains a bpkg configuration, then rep-info will use its certificate database for the repository authentication. That is, it will trust the repository's certificate if it is already trusted by the configuration. Otherwise it will add the certificate to the configuration if you confirm it is trusted. You can specify an alternative configuration directory with the --directory|-d option. To disable using the configuration in the current working directory, pass this option with an empty path. π«Ά
β¨ REP-INFO OPTIONS β¨
--name|-nβ Print the repository's name and location. π--cert-fingerprintβ Print the repository's certificate fingerprint, or an empty line if the repository is unsigned. π--cert-nameβ Print the repository's certificate common name (CN), or an empty line if the repository is unsigned.--cert-organizationβ Print the repository's certificate organization name (O), or an empty line if the repository is unsigned.--cert-emailβ Print the repository's certificate email, or an empty line if the repository is unsigned. π§--repositories|-rβ Print the list of complement and prerequisite repositories. π--packages|-pβ Print the list of available packages. π¦--manifestβ Instead of printing the information in the human-readable form, dump it (tostdout) as manifest(s). Normally you would use this option in combination with--packages|-por--repositories|-rto only dump one of the manifests. If the--deepoption is specified, then in the resulting packages manifest the*-filevalues are replaced with the contents of the referenced files and the*-buildvalues are automatically added (unless the corresponding files are absent). See also--ignore-unknown,--repositories-file, and--packages-file.--ignore-unknownβ Ignore unknown manifest entries. Note that this option also ignores the version constraints in the special toolchain build-time dependencies. This option is implied if--manifestis not specified. π--deepβ Verify the presence of the required*-buildvalues/files and the validity of files referenced by the*-filemanifest values. π΅οΈ--repositories-filepath β If--manifestis specified, then save the repositories manifest to the specified file instead of dumping it tostdout.--packages-filepath β If--manifestis specified, then save the packages manifest to the specified file instead of dumping it tostdout.--typetype β Specify the repository type, with valid values beingpkg,dir, andgit. Refer tobpkg-rep-add(1)for details. π--directory|-ddir β Use configuration in dir for the trusted certificate database. ποΈ
β¨ COMMON OPTIONS β¨
The common options are summarized below, with a more detailed description available in bpkg-common-options(1). π
-vβ Print essential underlying commands being executed.-Vβ Print all underlying commands being executed.--quiet|-qβ Run quietly, only printing error messages. π€«--verboselevel β Set the diagnostics verbosity to level between0and6.--stdout-formatformat β Representation format to use for printing tostdout.--jobs|-jnum β 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-resultfmt β 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.--buildpath β The build program to be used to build packages.--build-optionopt β Additional option to be passed to the build program.--fetchpath β The fetch program to be used to download resources.--fetch-optionopt β Additional option to be passed to the fetch program.--fetch-timeoutsec β The fetch and fetch-like (for example,git) program timeout.--pkg-proxyurl β HTTP proxy server to use when fetching package manifests and archives from remotepkgrepositories.--gitpath β Thegitprogram to be used to fetchgitrepositories.--git-optionopt β Additional common option to be passed to thegitprogram.--sha256path β Thesha256program to be used to calculate SHA256 sums.--sha256-optionopt β Additional option to be passed to thesha256program.--tarpath β Thetarprogram to be used to extract package archives.--tar-optionopt β Additional option to be passed to thetarprogram.--opensslpath β Theopensslprogram to be used for crypto operations.--openssl-optionopt β Additional option to be passed to theopensslprogram.--authtype β Types of repositories to authenticate.--trustfingerprint β 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-capabilitiesup=pc β Protocol capabilities (pc) for agitrepository URL prefix (up).--pagerpath β The pager program to be used to show long text.--pager-optionopt β Additional option to be passed to the pager program.--options-filefile β Read additional options from file.--default-optionsdir β 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 level2or higher.
β¨ DEFAULT OPTIONS FILES β¨
See bpkg-default-options-files(1) for an overview of the default options files. If the rep-info command uses an existing bpkg configuration, then the start directory is the configuration directory. Otherwise, only the predefined directories (home, system, etc) are searched. The following options files are searched for in each directory and, if found, loaded in the order listed: ποΈ
bpkg.options
bpkg-rep-info.options
The following rep-info command options cannot be specified in the default options files:
--directory|-d
β¨ BUGS β¨
Send bug reports to the users@build2.org mailing list. π
β¨ 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. π
ok that's the whole thing bestie, you ate that π remember: it prints to stdout, and if you're in a bpkg config dir your cert database is doing the authentication for you β no cap π
bpkg 0.17.0 Β· June 2024 β mwah, love u, go read some more manpages π§π
π¦ 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