bpkg-cfg-unlink(1)
๐ bpkg-cfg-unlink โ unlink configuration ๐
okay bestie, welcome to the bpkg-cfg-unlink page from the General Commands Manual (that's section 1, iykyk). this is the one where we break up with a configuration. respectfully. โจ
๐ธ SYNOPSIS ๐ธ
bpkg cfg-unlink [options] [dir]
bpkg cfg-unlink [options] --dangling
๐ฆ DESCRIPTION ๐ฆ
so here's the tea. cfg-unlink does one of two things:
- Form one โ it unlinks the configuration you name from the current configuration. it's giving "we're not linked anymore, bestie" ๐
- Form two โ it removes dangling implicit backlinks. yes, it cleans up the ghosts ๐ป
if you want the whole lore on what linked configurations even are, go read bpkg-cfg-create(1). it has the background, it ate.
and for form one, you can point at the configuration you're unlinking in any of these ways: as a configuration directory (dir), as a name (--name), as an id (--id), or as a UUID (--uuid). pick your fighter. ๐
โจ CFG-UNLINK OPTIONS โจ
--namename โ the name of the configuration you wanna unlink. bye girl ๐--idid โ the numeric id of the configuration you wanna unlink. numbers, not names, slay ๐ข--uuiduuid โ the UUID of the configuration you wanna unlink. for when you're feeling โจofficialโจ--danglingโ removes dangling implicit backlinks. the cleanup era begins ๐งน--directory,-ddir โ assume the configuration is in dir instead of in the current working directory. like, stop looking in the cwd, it's over there โ ๐
๐ COMMON OPTIONS ๐
these are the shared ones, and the full deets live in bpkg-common-options(1). but here's the sparknotes version, bestie:
-vโ print the essential underlying commands being executed. so you can see what's actually going on ๐-Vโ print all the underlying commands being executed. all of them. the unfiltered version, no cap ๐ซฃ--quiet,-qโ run quietly, only printing error messages. silence is golden ๐--verboselevel โ set the diagnostics verbosity to level, which lives between 0 and 6. crank it up ๐ก๏ธ--stdout-formatformat โ the representation format to use when printing to stdout. dress it up however you like ๐--jobs,-jnum โ the number of jobs to perform in parallel. multitasking queen ๐--no-resultโ don't print informational messages about the outcome of performing a command or some of its parts. no spoilers ๐--structured-resultfmt โ write the result of performing a command in a structured form. organized. unlike my notes ๐--progressโ display progress indicators for long-lasting operations, like network transfers, building, etc. watch it cook ๐ฅ--no-progressโ suppress those progress indicators for long-lasting operations, like network transfers, building, etc. no bar, just vibes ๐--diag-colorโ use color in diagnostics. ๐--no-diag-colorโ don't use color in diagnostics. monochrome moment ๐ค--buildpath โ the build program to be used to build packages. ๐จ--build-optionopt โ an additional option to be passed to the build program. extra lil gift for it ๐--fetchpath โ the fetch program to be used to download resources. ๐ฐ๏ธ--fetch-optionopt โ an additional option to be passed to the fetch program. ๐--fetch-timeoutsec โ the fetch and fetch-like (for example,git) program timeout. don't wait forever, king โฐ--pkg-proxyurl โ the HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories. going incognito ๐ถ๏ธ--gitpath โ the git program to be used to fetch git repositories. ๐--git-optionopt โ an additional common option to be passed to the git program. ๐--sha256path โ the sha256 program to be used to calculate SHA256 sums. math girlies rise ๐งฎ--sha256-optionopt โ an additional option to be passed to the sha256 program. ๐--tarpath โ the tar program to be used to extract package archives. ๐ฆ--tar-optionopt โ an additional option to be passed to the tar program. ๐--opensslpath โ the openssl program to be used for crypto operations. ๐--openssl-optionopt โ an additional option to be passed to the openssl program. ๐--authtype โ the types of repositories to authenticate. show me your ID bestie ๐ชช--trustfingerprint โ trust a repository certificate with a SHA256 fingerprint. i trust u ๐ซถ--trust-yesโ assume the answer to all authentication prompts is yes. yes yes yes โ--trust-noโ assume the answer to all authentication prompts is no. nope nope nope ๐ซ--git-capabilitiesup=pc โ protocol capabilities (pc) for a git repository URL prefix (up). very specific, very iconic ๐ฆ--pagerpath โ the pager program to be used to show long text. scrolling but make it cute ๐--pager-optionopt โ an 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. not today ๐ต--keep-tmpโ don't remove bpkg's temporary directory at the end of the command execution, and print its path at the verbosity level 2 or higher. keeping it for the memories ๐ญ
๐ DEFAULT OPTIONS FILES ๐
want the full overview of how default options files work? that's bpkg-default-options-files(1), go read it, it's a good time.
for the cfg-unlink command specifically, the search start directory is the configuration directory. and in each directory, these options files are searched for and โ if found โ loaded in this exact order:
bpkg.options
bpkg-cfg-unlink.options
okay but here's the important bit ๐ thesecfg-unlinkcommand options cannot be specified in the default options files: ---directory|-d
so don't even try it bestie, the options files said no ๐ซ
๐ BUGS ๐
found a bug? send those bug reports to the users@build2.org mailing list. they wanna hear it, fr fr ๐ฌ
๐ 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!! this was bpkg version 0.17.0, from June 2024, and yes the manual page is literally named bpkg-cfg-unlink(1). unlink slay, periodt ๐
๐โจ๐ฆ
๐ฆ 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