compose-has-build(1)
π 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
- fedora 43: compose-utils 0.1.50-13.fc43 Β· GPL-2.0-only
- fedora 44: compose-utils 0.1.51-1.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms