bpkg-pkg-fetch(1)
π bpkg-pkg-fetch β the manual, but make it cute π
okay bestie, so this is bpkg-pkg-fetch(1) β the bpkg manual page about fetching package archives. general commands manual vibes. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
bpkg-pkg-fetch β fetch package archive. that's it. that's the whole job. fetching. archives. iconic behavior honestly π
πΈ SYNOPSIS πΈ
bpkg pkg-fetch [options] (pkg/ver | --existing|-e file)
likeβ¦ you either give it a pkg/ver, or you hit it with --existing|-e and a file. pick a lane, queen. π
π¦ DESCRIPTION π¦
okay so here's the tea β. the pkg-fetch command fetches the archive for the package name and version you specify, and it pulls it from one of the archive-based repositories (bpkg-rep-add(1)). once it's done, the resulting package state is fetched (bpkg-pkg-status(1)). slay.
if you pass the --replace|-r option, then pkg-fetch will replace the archive of a package that is already in the fetched or unpacked state. otherwise? pkg-fetch expects the package to not exist in the configuration. so like, don't come in acting brand new if you're already here, iykyk π
and if you use the --existing|-e option, then instead of the name and version arguments, pkg-fetch expects a local path to an existing package archive. in that case, bpkg will use the archive in place, without copying it into the configuration directory. also β and this is the important part, no cap β unless you specify the --purge|-p option, bpkg will not attempt to remove this archive when the package is later purged with the bpkg-pkg-purge(1) command. so that file is staying, bestie. it lives here now π
π PKG-FETCH OPTIONS π
--replace|-rβ Replace the archive if the package is already fetched or unpacked.--existing|-eβ Treat the argument as an existing package archive path rather than the package name/version to fetch.--purge|-pβ Remove the existing package archive when the package is purged.--directory|-ddir β Assume configuration is in dir rather than in the current working directory.
π COMMON OPTIONS π
these are the common options, summarized right here for you π β and if you want the full deep-dive detailed description, it's all in bpkg-common-options(1). go read it, i'll wait.
-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 between 0 and 6.--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 level 2 or higher.
π§ DEFAULT OPTIONS FILES π§
want the whole overview of default options files? it's in bpkg-default-options-files(1). for real. go look π
for the pkg-fetch command, the search start directory is the configuration directory. the following options files are searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-pkg-fetch.options
and these pkg-fetch command options cannot be specified in the default options files:
--directory|-d
--purge|-p
so likeβ¦ those two are strictly a you-and-the-terminal thing. no sneaking them into a file, bestie π«Ά
π BUGS π
found a bug? send bug reports to the users@build2.org mailing list. we listen, 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, dated June 2024 β thanks for reading, you absolute icon, 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