versions that only have a /src build appear in the list. This is confusing for people because there isn't a built package for those versions available on the host's OS.
The /src builds make those versions show up because they bypass the host filtering mechanism because they have no baked build options.
Describe the solution you'd like
Change the spk ls <package name> and spk search <partial package name> commands to hide a version if the only available build is a /src build on the OS. But also add a flag that re-enables the current behaviour and puts "(src only)" (or something) next to those versions in the output.
Is your feature request related to a problem? Please describe.
When people list the available versions of a package with the
--host
/--no-host
options, e.g.versions that only have a
/src
build appear in the list. This is confusing for people because there isn't a built package for those versions available on the host's OS.The
/src
builds make those versions show up because they bypass the host filtering mechanism because they have no baked build options.Describe the solution you'd like Change the
spk ls <package name>
andspk search <partial package name>
commands to hide a version if the only available build is a/src
build on the OS. But also add a flag that re-enables the current behaviour and puts "(src only)" (or something) next to those versions in the output.For example: