DIST-GIT-CLIENT(1)

πŸ“¦
version 1.3 Β· 2 versions
, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– DIST-GIT-CLIENT πŸ’–

okay bestie, welcome to the dist-git-client manual page, aka your new favorite lil python utility. it lives in the DIST-GIT-CLIENT(1) section of the manual, generated python manual style, and it is lowkey iconic. let's get into it 🫢


✨ NAME ✨

dist-git-client β€” that's the whole name, no notes, periodt πŸ’…


🌸 SYNOPSIS 🌸

dist-git-client [-h] [--configdir CONFIGDIR] [--loglevel LOGLEVEL]
[--forked-from CLONE_URL] {sources,srpm,clone} ...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: a simple, configurable python utility that can download sources from various dist-git instances and generate source RPMs. that's the whole vibe. no cap.

and here's the ✨magic✨ part β€” the utility can automatically map the "origin" .git/config clone URL (or the --forked-from URL, if you specified one) to a corresponding dist-git instance that's configured in the /etc/dist-git-client directory. it just knows. main character energy fr fr πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • --configdir CONFIGDIR β€” where to load configuration files from πŸ“‚
  • --loglevel LOGLEVEL β€” python logging level, like debug, info, error. pick your drama level bestie πŸ—£οΈ
  • --forked-from CLONE_URL β€” declares that this git clone directory is a dist-git repository fork. if you use this, the default clone url detection from the .git/config file gets disabled and CLONE_URL is used instead. and that CLONE_URL you specified is what gets used to detect the appropriate lookaside cache pattern for downloading the sources. 🍴

🌈 ACTIONS 🌈

  • dist-git-client sources β€” download sources from the lookaside cache πŸ“₯
  • dist-git-client srpm β€” generate a source RPM πŸ“¦
  • dist-git-client clone β€” clone a package from a DistGit source 🧬

⭐ COMMAND dist-git-client sources ⭐

usage: dist-git-client sources [-h]

using the url in .git/config, it detects where the right DistGit lookaside cache exists, and then downloads the corresponding source files. that's it, that's the whole job. slay πŸ’…


πŸ’œ COMMAND dist-git-client srpm πŸ’œ

usage: dist-git-client srpm [-h] [--outputdir OUTPUTDIR]
[--mock-chroot MOCK_CHROOT] [--dry-run]

generates a source RPM from the source files that were downloaded by the sources command.

🚨 bestie listen β€” you gotta run sources first. the srpm command is not gonna do the fetching for you, okay? run sources first, fr fr.

🌸 OPTIONS dist-git-client srpm 🌸

  • --outputdir OUTPUTDIR β€” where to store the resulting source RPM πŸ—ƒοΈ
  • --mock-chroot MOCK_CHROOT β€” generate the SRPM in a mock buildroot instead of on the host. this argument gets passed down to mock as the mock -r|--root argument. so like, delegation, but make it cute 🧚
  • --dry-run β€” don't actually produce the SRPM, just print the command that would've been called otherwise. manifesting without committing, honestly iconic πŸ™ˆ

πŸ“ COMMAND dist-git-client clone πŸ“

usage: dist-git-client clone [-h] [--dist-git DIST_GIT] package
  • package β€” package name specification. for some DistGit instances this consists of multiple parts separated by slash, e.g. for --dist-git=fedora-copr use

πŸ’… OPTIONS dist-git-client clone πŸ’…

  • --dist-git DIST_GIT β€” the DistGit ID as configured in /etc/dist-git-client/ πŸ”

πŸ‘‘ AUTHOR πŸ‘‘

Copr Team copr-team@redhat.com


🌟 DISTRIBUTION 🌟

the latest version of Copr may be downloaded from https://github.com/release-engineering/dist-git.git β€” go get it bestie, it's giving open source royalty πŸ’–


and that's the page!! this version of the manual was brought to you by Copr, dated 2026-02-09, and it's the DIST-GIT-CLIENT(1) manual β€” thanks for reading, you ate that, bye bestie!! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from