man(8)

✨ man(8) β€” pkgos.make ✨

okay bestie, buckle up πŸ’– this is the man(8) page for pkgos.make, and it's literally the little helper script that carries Debian OpenStack maintainers on its back. no cap.


πŸŽ€ NAME πŸŽ€

pkgos.make β€” a helper with useful functions for maintainers. that's it, that's the vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pkgos.make

yes queen, no arguments. she just is. ✨


🌸 DESCRIPTION 🌸

so pkgos.make takes the existing .init.in file and uses it to generate the appropriate init script β€” and it'll spit out a systemd unit too, if those files aren't already there. and honestly? that's not even the whole serve. this make file also contains a bunch of common functions that are genuinely useful for maintainers, and here's every single one, no gatekeeping:

  • -gen-init-configurations β€” this function is the one responsible for generating the init script and the systemd unit. the whole origin story. πŸ‘‘
  • -gen-author-list β€” generates a list of authors, taken straight from git log. credit where credit is due, periodt.
  • -gen-upstream-changelog β€” generates the changelog file for the debian distribution, also from git log. receipts! πŸ“œ
  • -get-orig-source β€” downloads the new upstream tarball by using uscan. fetch, but make it classy.
  • -fetch-upstream-remote β€” downloads the package from the upstream, which lives at https://github.com/openstack/<package_name>. the package_name is determined by the package of the current directory. she knows where she is, iykyk.
  • -gen-orig-(xz|gz|bz2) β€” creates the original tarball by using the (xz|gz|bz2) data compressor. pick your fighter 🫢
  • -get-master-branch β€” creates the master branch. main character energy, literally.
  • -get-vcs-source β€” this one is the pipeline of the functions fetch-upstream-remote, gen-orig-xz, and get-master-branch. a whole combo, a whole routine, she ate. πŸ”₯
  • -versioninfo β€” writes the package version to the versioninfo file. short, sweet, iconic.
  • -display-po-stats β€” displays the number of translated messages for each .po file in debian/po. multilingual slay 🌈
  • -call-for-po-trans β€” this function calls podebconf-report-po with specific parameters. summoning the translators πŸ’œ
  • -regen-manifest-patch β€” generates a list of all the files of the package and writes it to the MANIFEST.in. inventory? tracked. πŸŽ€

πŸ’« EXAMPLES πŸ’«

so to call any of the functions up there, you use this next syntax:

./debian/rules <function_name>

that's the whole ritual. go off. ✨


πŸ‘€ SEE ALSO πŸ‘€

the friend group πŸ’– go read them too.


πŸ’€ BUGS πŸ’€

No known bugs. not a single one. she's flawless fr fr (do not test this energy, bestie 😭).


🫢 AUTHOR 🫢

  • The script is written by Thomas Goirand <zigo@debian.org>
  • The man page is written by Andrii Kroshchenko <akroshchenko@mirantis.com>

version 45.0, dated 02 Jun 2016 β€” and this was the man(8) page for the pkgos.make package, and that's the whole tea. mwah πŸ’…βœ¨πŸŽ€