canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

Add custom binary version helper #815

Closed dosaboy closed 7 months ago

dosaboy commented 7 months ago

We have requirement types for apt, snap, pebble etc but some application binaries are shipped/installed without a package and we currently have no similar way to check their version as if they were a package. One example of such a binary is Juju. We could add e.g. YRequirementTypeGenericBin that takes as an argument an interface that can provide versions etc and use that to apply the version range check like we do for packages.