bpkg-cfg-info(1)
π bpkg-cfg-info(1) β bestie edition β¨
okay so you found the bpkg-cfg-info manual page, and honestly? it's giving "tiny command, big main character energy." let me walk you through it, no cap. π«Ά
πΈ NAME πΈ
bpkg-cfg-info β print configuration information π
β¨ SYNOPSIS β¨
bpkg cfg-info [options]
π¦ DESCRIPTION π¦
okay so here's the vibe: the cfg-info command prints your current configuration's absolute path, id, type, and name. that's the core four, bestie. π
now if you also throw in the --link and/or --backlink options, then it prints that same info for each linked and/or implicitly backlinked configuration too β if any exist. and listen, the dangling implicit backlinks? they get silently skipped, like they're not even in the group chat. π» unless you specify --dangling, in which case yes bestie, we print their info too.
and ngl, super important detail: all of this info goes to stdout, not stderr. periodt. π
if you specify --recursive together with --link and/or --backlink, then it prints this info for linked and/or implicitly backlinked configurations, recursively. it just keeps going. iconic behavior honestly. π₯
the output format is regular β each value printed on its own separate line, prefixed with the value name. and if --link, --backlink, and/or --dangling are specified, then the information blocks corresponding to linked configurations are separated with blank lines. here's an example so you can see the layout exactly:
path: /path/to/cfg/
uuid: 8d439f03-7342-4502-8b1c-74b173869478
type: target
name: foo
path: /path/to/host-cfg/
uuid: 7ee4dab3-07d9-4163-81c0-3779166a7213
type: host
name: tools
path: /path/to/build2-cfg/
uuid: d453aa2a-92c4-4066-87e4-c8672eed06e1
type: build2
name: modules
see? cute little blocks. π
π CFG-INFO OPTIONS π
--linkβ Print linked configurations. π--backlinkβ Print implicitly backlinked configurations. π--danglingβ Print dangling implicit backlinks. π»--recursiveβ Print linked configurations recursively. π--directory|-ddir β Assume configuration is in dir rather than in the current working directory. π
π COMMON OPTIONS π
these are the common options, summarized below β and if you want the full detailed description, it's over in bpkg-common-options(1). iykyk. β¨
-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 to stdout. π¨οΈ--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 remote pkg repositories. π--gitpath β The git program to be used to fetch git repositories. π--git-optionopt β Additional common option to be passed to the git program. πβ--sha256path β The sha256 program to be used to calculate SHA256 sums. π--sha256-optionopt β Additional option to be passed to the sha256 program. πβ--tarpath β The tar program to be used to extract package archives. π¦--tar-optionopt β Additional option to be passed to the tar program. π¦β--opensslpath β The openssl program to be used for crypto operations. π--openssl-optionopt β Additional option to be passed to the openssl program. πβ--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 a git repository 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 π§
okay so for the full overview of the default options files, go peek at bpkg-default-options-files(1). π
for the cfg-info command specifically, the search start directory is the configuration directory. and the following options files get searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-cfg-info.options
and listen β these cfg-info command options cannot be specified in the default options files:
--directory|-dπ«
like, sorry bestie, that one's not allowed in there. rules are rules. π
π BUGS π
Send bug reports to the users@build2.org mailing list. π§ (yes, actually email them, don't just vague-post about it π)
π 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, bestie!! π you understood it, you slayed it, you're basically a configuration whisperer now. this was bpkg version 0.17.0, from June 2024 β and yes, it really is bpkg-cfg-info(1), manual page and all. mwah. π
π¦ 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