DIR2MODULE(1)

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

πŸ’– DIR2MODULE(1) β€” the Generated Python Manual era πŸ’–

okay bestie, sit down, hydrate, because we're about to make module metadata and it's gonna be so cute. this is the manual for dir2module, straight out of the Generated Python Manual collection. no cap.


✨ NAME ✨

dir2module β€” that's her. that's the girl. πŸ’…


🌸 SYNOPSIS 🌸

dir2module [-h] -m SUMMARY [-d DESCRIPTION] [-l LICENSE] [-r REQUIRES]
[--force] [--stdout] (--dir DIR | --pkglist PKGLIST) nsvca

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe. dir2module is gonna recursively read RPMs from DIR or read them from the pkglist you specified. and like, if any RPM is missing or unreadable? it does not play. it errors out. periodt. 😀

then it does its lil magic:

  • Populates artifacts/rpms with RPM NEVRAs ✨
  • Populates license/content with the list of RPM licenses πŸŽ€
  • Writes N:S:V:C:A.modulemd.yaml in the current directory πŸ’–
  • Makes sure that yaml is in modulemd v2 format β€” she's not sloppy, bestie

🧚 the positional argument 🧚

  • nsvca β€” Module name, stream version, context and architecture, all in a N:S:V:C:A format. it's giving full government name energy, but for a module. slay.

πŸ‘‘ OPTIONS πŸ‘‘

  • -m SUMMARY, --summary SUMMARY β€” the Module summary. short, sweet, iconic. πŸ’«
  • -d DESCRIPTION, --description DESCRIPTION β€” the Module description. go off, write a whole paragraph, she supports you. πŸ’œ
  • -l LICENSE, --license LICENSE β€” the Module license. legally iconic. πŸŽ€
  • -r REQUIRES, --requires REQUIRES β€” Module runtime dependencies in a N:S format. got more than one dependency? repeat this option, bestie, she'll take them all. 🫢
  • --force β€” Suppress all constraints and hope for the best. 😭 that's literally the whole description. she's manifesting. no notes.
  • --stdout β€” By defult the output is saved in a file. Use this to suppress it and print to the STDOUT. (yes the typo is canon, we don't fix canon in this house πŸ’€)
  • --dir DIR β€” one half of the either/or situation, iykyk 🌈
  • --pkglist PKGLIST β€” the other half. pick one, she said either, not both. πŸ™ˆ
also -h is chilling in the synopsis doing help-things, we love a supportive flag. ✨

🌟 AUTHOR 🌟

Jakub Kadlčík jkadlcik@redhat.com

give her her flowers. πŸ‘‘


🌈 DISTRIBUTION 🌈

The latest version of dir2module may be downloaded from HOMEPAGE. go get the freshest one, don't be out here running stale code. πŸ“


and that's the whole page, bestie!! this was dir2module from the Generated Python Manual, version dated 2025-09-19, and you made it all the way to DIR2MODULE(1) at the bottom. so proud of you, now go read your RPMs πŸ§šβœ¨πŸ’–

πŸ“¦ where this page comes from