bpkg-cfg-unlink(1)

๐Ÿ“ฆ
version 0.17.0 ยท 2 versions
, in fedora 43, fedora 44, nixos 26.05

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. ๐ŸŽ€


  • --name name โ€” the name of the configuration you wanna unlink. bye girl ๐Ÿ‘‹
  • --id id โ€” the numeric id of the configuration you wanna unlink. numbers, not names, slay ๐Ÿ”ข
  • --uuid uuid โ€” the UUID of the configuration you wanna unlink. for when you're feeling โœจofficialโœจ
  • --dangling โ€” removes dangling implicit backlinks. the cleanup era begins ๐Ÿงน
  • --directory, -d dir โ€” 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 ๐Ÿ”‡
  • --verbose level โ€” set the diagnostics verbosity to level, which lives between 0 and 6. crank it up ๐ŸŒก๏ธ
  • --stdout-format format โ€” the representation format to use when printing to stdout. dress it up however you like ๐ŸŽ€
  • --jobs, -j num โ€” 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-result fmt โ€” 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 ๐Ÿ–ค
  • --build path โ€” the build program to be used to build packages. ๐Ÿ”จ
  • --build-option opt โ€” an additional option to be passed to the build program. extra lil gift for it ๐ŸŽ
  • --fetch path โ€” the fetch program to be used to download resources. ๐Ÿ›ฐ๏ธ
  • --fetch-option opt โ€” an additional option to be passed to the fetch program. ๐ŸŽ
  • --fetch-timeout sec โ€” the fetch and fetch-like (for example, git) program timeout. don't wait forever, king โฐ
  • --pkg-proxy url โ€” the HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories. going incognito ๐Ÿ•ถ๏ธ
  • --git path โ€” the git program to be used to fetch git repositories. ๐Ÿ™
  • --git-option opt โ€” an additional common option to be passed to the git program. ๐ŸŽ
  • --sha256 path โ€” the sha256 program to be used to calculate SHA256 sums. math girlies rise ๐Ÿงฎ
  • --sha256-option opt โ€” an additional option to be passed to the sha256 program. ๐ŸŽ
  • --tar path โ€” the tar program to be used to extract package archives. ๐Ÿ“ฆ
  • --tar-option opt โ€” an additional option to be passed to the tar program. ๐ŸŽ
  • --openssl path โ€” the openssl program to be used for crypto operations. ๐Ÿ”
  • --openssl-option opt โ€” an additional option to be passed to the openssl program. ๐ŸŽ
  • --auth type โ€” the types of repositories to authenticate. show me your ID bestie ๐Ÿชช
  • --trust fingerprint โ€” 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-capabilities up=pc โ€” protocol capabilities (pc) for a git repository URL prefix (up). very specific, very iconic ๐Ÿฆ‹
  • --pager path โ€” the pager program to be used to show long text. scrolling but make it cute ๐Ÿ“œ
  • --pager-option opt โ€” an 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. 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 ๐Ÿ‘‡ these cfg-unlink command 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 (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