Closed rtpro closed 2 years ago
Why don't we mention yq
as a dependency just like jq
so that we can pre install yq
before installing this plugin ?
Is there any specific reason why yq
is being installed programmatically by script ?
It was a dependency, exactly as jq
is now, but it caused issues for some users:
yq
is not a common package, and in most cases is not present as part of the OS. yq
supports only Snap packaging for Linux, which is not standard in some distros, making it harder to install. Because of the above, we decided to ship its binary as part of the plugin installation, implemented by #4 .
Addressed by PR #15 Thank you @gangadharjannu for the code contribution! 🙏
wget
is used in the installation process to getyq
. Ascurl
has a wider install-base and comes built in with more systems, we should be usingcurl
to pull files instead ofwget
.