RBM-TAR(1)
π RBM-TAR π
okay so bestie, we're doing rbm-tar(1) today and honestly? it's giving "make me a tarball" energy and I am obsessed π
β¨ NAME β¨
rbm-tar β Create a tarball file π
πΈ SYNOPSIS πΈ
rbm tar <project> [options]
π¦ DESCRIPTION π¦
So basically: create a tarball file for the selected project. That's it. That's the whole vibe. β¨
π OUTPUT FILE π
Where does it go? That's the output_dir option's whole job, no cap.
And the filename? It's literally this:
<name>-<version>.tar
but if you set compress_tar, then bestie it becomes:
<name>-<version>.tar.<ext>
Quick legend, iykyk:
<name>= the project's name π<version>= the version of the software π<ext>= the compression type you picked in thecompress_taroption ποΈ
Also! The version of the software used to create the tarball and the packages should be set with the version option. Don't forget her. π
π CONFIGURATION OPTIONS π
These ones are all about the tarball creation, bestie:
git_urlβ The URL of a git repository that will be cloned and used to create the tarball. If this option is set,git_hashshould be set to select the commit to use. π₯hg_urlβ The URL of a mercurial repository that will be cloned and used to create the tarball. If this option is set,hg_hashshould be set to select the commit to use. π§git_hashβ A git hash, branch name or tag. This is what is used to create the tarball. periodt.hg_hashβ A mercurial changeset hash. This is what is used to create the tarball. periodt.git_submoduleβ If this option is enabled, git submodules are fetched and included in the tarball. It's disabled by default, fyi. πgit_depthβ An integer specifying a depth for shallow Git clone/fetch depth, to decrease network and storage usage. If not set, shallow clone/fetch is disabled. (Saving your wifi and your disk, a public service π)git_branchβ A Git ref name that will be exclusively cloned/fetched, to decrease network and storage usage. Must be a descendent (inclusive) ofgit_hash. If not set, all Git refs are cloned/fetched. βcompress_tarβ If set, the tarball created will be compressed in the select format. Possible values:xz,gz,bz2,zst. The default isgzbut it can stay empty to disable compression. ποΈβ¨commit_gpg_idβ If set, the commit selected withgit_hashwill have its signature checked. The tarball will not be created if there is no valid signature, and if the key used to sign it does not match the key ID fromcommit_gpg_id. The option can be set to a single gpg ID, or to a list of gpg IDs. The IDs can be short or long IDs, or full fingerprint (with no spaces). For this to work, the GPG keys should be present in the selected keyring (seekeyringoption). If the option is set to1or an array containing1then any key from the selected keyring is accepted. On command line, the--commit-gpg-idoption can be listed multiple times to define a list of keys. πtag_gpg_idβ If set, the commit selected withgit_hashshould be a tag and will have its signature checked. The tarball will not be created if the tag doesn't have a valid signature, and if the key used to sign it does not match the key ID fromtag_gpg_id. The option can be set to a single gpg ID, or to a list of gpg IDs. The IDs can be short or long IDs, or full fingerprint (with no spaces). For this to work, the GPG keys should be present in the selected keyring (seekeyringoption). If the option is set to1or an array containing1then any key from the selected keyring is accepted. On command line, the--tag-gpg-idoption can be listed multiple times to define a list of keys. πgpg_wrapperβ This is a template for a gpg wrapper script. The default wrapper will call gpg with the keyring specified by optiongpg_keyringif defined. π«Άgpg_keyringβ The filename of the gpg keyring to use. Path is relative to the keyring directory. This can also be an absolute path. πgpg_binβ The gpg command to be used. The default isgpg. π§gpg_argsβ Optional gpg arguments. The default is empty. πΈgpg_allow_expired_keysβ Allowing expired keys to successfully verify e.g. signed git tags. By default this is not allowed. β°
See rbm_config(7) for all other options. Bestie, that's where the rest of the lore lives π
π COMMAND LINE OPTIONS π
The command line options related to tar:
--git-hash=<hash>β The git hash of the commit / tag to use. π₯--hg-hash=<hash>β The mercurial hash of the commit / tag to use. π₯--commit-gpg-id=<GPG ID>β Check the commit to be signed by this GPG key ID. π--tag-gpg-id=<GPG ID>β Check if the selected git hash is a tag and is signed by select GPG key ID. π--gpg-keyring=<file>β GPG keyring filename. π--gpg-keyring-dir=<directory>β Directory containing GPG keyring files π--gpg-args=<args>β Optional gpg arguments. πΈ--gpg-bin=<path>β Path to gpg binary. π§
See rbm_cli(7) for all other options. β¨
π GIT VERSION π
Okay so if you're gonna use gpg signed commits, it is recommended to use git >= 1.8.3. Like, strongly. Bestie. Please. π
git < 1.7.9does not support signed commits. It only supports signed tags. πgit < 1.8.3does not use the git-config optiongpg.programingit log --show-signatureandgit show --show-signaturescommands used to check commits signatures. This means you won't be able to use thegpg_keyringoption for commits signature verification (but it will work for tag signature verification). This was fixed in git commit6005dbb9, included in version1.8.3. π§
π SEE ALSO π
rbm(1) β go read her too, she's iconic π
and that's the whole page, bestie π«Ά this one's from 07/25/2025, so like, mark your calendar and stan a stable release β¨ππ
π¦ where this page comes from
- fedora 43: rbm 0.4^20241205gitc6a4095-3.fc43 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms