compose-has-build(1)

πŸ“¦ version 0.1.51, in fedora 43, fedora 44

πŸ’– compose-has-build(1) πŸ’–

okay bestie, so this one lives in the General Commands Manual section, and it's genuinely one of those tiny little tools that does exactly one thing and does it flawlessly. no cap. 🫢


✨ NAME ✨

compose-has-build β€” check for existence of a build in a compose πŸ”


🌸 SYNOPSIS 🌸

compose-has-build [OPTIONS...] COMPOSE_PATH NVR

like. that's it. that's the whole vibe. three little pieces and you're done. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so compose-has-build goes digging through the metadata inside a compose, and it checks whether the build you're asking about is actually present in there. yes queen, it's a yes-or-no girlie. πŸ‘‘

you can hand it the build either as an NVR or as a full NEVR β€” both are valid, both are accepted, no judgement. πŸŽ€

and here's the cute little detail: if your build has no epoch, then a build with any epoch at all will match. so it's forgiving like that. it's giving generous. πŸ’–


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” print help and dip out. exit stage left. 🌈
  • -q, --quiet β€” don't print anything, just let the exit code do the talking. silent but deadly (in a slay way). 🀫

⭐ EXIT CODE ⭐

  • build is present? you get a status code of 0. iconic, we love to see it. πŸŽ‰
  • build is missing? you get 1. tragic. devastating. not me crying over an exit code. 😭
ngl if you're scripting this, the exit code is literally the whole point β€” especially with --quiet. iykyk. 🧚

πŸ’€ BUGS πŸ’€

found something cursed? please report bugs at https://pagure.io/compose-utils/issues β€” the maintainers wanna know, fr fr. πŸ™ˆ


that's the whole page bestie, go forth and check those builds. πŸ“

compose-has-build(1) β€” straight out of the General Commands Manual, mwah πŸ’‹

πŸ“¦ where this page comes from