REPO2MODULE(1)

πŸ“¦
version 0.16 Β· 3 versions
, in epel 10, fedora 43

✨ NAME ✨

repo2module β€” the lil icon that takes a whole RPM repo and turns it into a modules.yaml glow-up πŸ’– (it's a page from the Generated Python Manual, bestie, so you know it's official)


πŸ¦‹ SYNOPSIS πŸ¦‹

repo2module [-h] [--debug | --nodebug] [-n MODULE_NAME] [-s
MODULE_STREAM] [-v MODULE_VERSION] [-c MODULE_CONTEXT] [-O] repo_path
[modules_yaml]

πŸ’… DESCRIPTION πŸ’…

Okay so real talk: repo2module generates a modules.yaml file with a module that provides all the RPM packages available within a repository. That's the whole vibe. One repo in, one module definition out. Slay.

And here's the two positional besties it wants from you:

  • repo_path β€” literally just sitting there in the description, being a whole argument 🌸
  • modules_yaml β€” also just vibing in the description, also a whole argument πŸŽ€

🌈 OPTIONS 🌈

  • --debug β€” turns the debug on. Yell at me, bestie πŸ—£οΈ
  • --nodebug β€” turns the debug off. Quiet hours, no cap 🀫
Heads up, these two are mutually exclusive in the synopsis (--debug | --nodebug), so pick a lane πŸ’€
  • -n MODULE_NAME, --module-name MODULE_NAME β€” sets the module name. Default is the current directory name, which is so main character of it honestly πŸ’…
  • -s MODULE_STREAM, --module-stream MODULE_STREAM β€” sets the module stream. Iconic, no notes ⭐
  • -v MODULE_VERSION, --module-version MODULE_VERSION β€” sets the module version. The way she versioned πŸ’œ
  • -c MODULE_CONTEXT, --module-context MODULE_CONTEXT β€” sets the module context. Context is everything, iykyk 🧚
  • -O, --to-stdout β€” sends the output to stdout instead of a file. For when you want it on your screen right now, fr fr πŸ“

πŸ‘‘ AUTHOR πŸ‘‘

Stephen Gallagher β€” sgallagh@redhat.com 🫢

Absolute legend behaviour, honestly.


πŸ”₯ DISTRIBUTION πŸ”₯

The latest version of repo2module may be downloaded from HOMEPAGE. Go get her, she's waiting ✨


Okay that's the whole page, and ily for reading it πŸ₯°. This was repo2module, page 1 of the Generated Python Manual, dated 2025-09-19 β€” so if you're reading this from the future, vibe check the date first, bestie. Periodt. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from