bpkg-rep-fetch(1)
π bpkg-rep-fetch(1) β the "gimme the whole package list bestie" era π
okay so this is a page from the General Commands Manual (bpkg section, she's that girl) and we're talking about bpkg-rep-fetch, aka the command that goes and gets you the tea on what packages exist. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
bpkg-rep-fetch β fetch list of available packages πΈ
β¨ SYNOPSIS β¨
bpkg rep-fetch|fetch [options] [(rep-name | rep-loc)...]
yes bestie, rep-fetch and fetch are the same command, it just has a nickname, iconic behavior honestly π
β¨ DESCRIPTION β¨
so the rep-fetch command fetches the list of available packages for the repositories you named β plus all their complement and prerequisite repositories, recursively. like, it's not gonna leave the prerequisites behind, that's rude. if you don't specify any repositories at all, then it fetches all the repositories you previously added (via bpkg-rep-add(1)) to the configuration. no repo left behind, periodt β¨
the repository you wanna fetch can be given either as a repository name or as a repository location (a URL or a directory path; peek at bpkg-rep-add(1) for the deets). if you give a location, that location gets added/replaced just like you'd run the rep-add command first. sneak attack, but make it helpful π¦
β οΈ okay lowkey important: if you fetch only one specific repository and it happens to be a prerequisite or complement of another repository that you're not fetching, you can end up with an inconsistent repository state. so like, be mindful. no cap, this is the real warning. π
β¨ REP-FETCH OPTIONS β¨
these are the options that are just for this command, she's special like that π
--shallowβ don't re-fetch the complement and prerequisite repositories of the specified repositories unless the set of complements and/or prerequisites has actually changed. lazy in the smart way, we love efficiency π--directory|-d_dir_ β assume the configuration lives in _dir_ instead of in the current working directory. basically "bestie she's over there, not here" π
β¨ COMMON OPTIONS β¨
here's the whole common options situation, summarized below β and there's a fuller breakdown over in bpkg-common-options(1) if you want the extended cut π
-vβ print essential underlying commands being executed. the receipts, but only the important ones.-Vβ print all underlying commands being executed. the full receipts, every single one, no filter π--quiet|-qβ run quietly, only printing error messages. shhh era π€«--verbose_level_ β set the diagnostics verbosity to _level_ between0and6.--stdout-format_format_ β representation format to use for printing to stdout.--jobs|-j_num_ β 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 play-by-play, just vibes.--structured-result_fmt_ β 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. loading bar ASMR β¨--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.--build_path_ β the build program to be used to build packages.--build-option_opt_ β additional option to be passed to the build program.--fetch_path_ β the fetch program to be used to download resources.--fetch-option_opt_ β additional option to be passed to the fetch program.--fetch-timeout_sec_ β the fetch and fetch-like (for example,git) program timeout. β°--pkg-proxy_url_ β HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories.--git_path_ β the git program to be used to fetch git repositories.--git-option_opt_ β additional common option to be passed to the git program.--sha256_path_ β the sha256 program to be used to calculate SHA256 sums.--sha256-option_opt_ β additional option to be passed to the sha256 program.--tar_path_ β the tar program to be used to extract package archives.--tar-option_opt_ β additional option to be passed to the tar program.--openssl_path_ β the openssl program to be used for crypto operations. π--openssl-option_opt_ β additional option to be passed to the openssl program.--auth_type_ β types of repositories to authenticate.--trust_fingerprint_ β trust repository certificate with a SHA256 fingerprint. π«Ά--trust-yesβ assume the answer to all authentication prompts is yes. automatic yes girl π--trust-noβ assume the answer to all authentication prompts is no.--git-capabilities_up=pc_ β protocol capabilities (_pc_) for a git repository URL prefix (_up_).--pager_path_ β the pager program to be used to show long text.--pager-option_opt_ β 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.--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. leaving the temp folder there like a little souvenir π
β¨ DEFAULT OPTIONS FILES β¨
head to bpkg-default-options-files(1) for the whole overview of default options files, bestie. for the rep-fetch command specifically, the search start directory is the configuration directory. the following options files get searched for in each directory and, if found, loaded in the order listed:
bpkg.options
bpkg-rep-fetch.options
and these rep-fetch command options cannot be specified in the default options files:
--directory|-d
soz, that one's not allowed in there π
β¨ BUGS β¨
send bug reports to the users@build2.org mailing list. they're nice, they wanna hear from you ππ
β¨ 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 now know everything bpkg-rep-fetch knows π
okay final cute sign-off moment: this whole thing is bpkg 0.17.0, dated June 2024, and yes it's bpkg-rep-fetch(1) β go forth and fetch those package lists, you absolute legend πβ¨π
π¦ 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