As a result of my work on #943 I realized that there are two yq implementations and both are still alive (I was under the impression that the first one is dead since we download the second one in our codebase):
I'm not sure what were reasons to move to the GoLang based one. From the usage in our tests here we use it either to get particular value from yaml file or to update particular variable in the yaml file (using the --inplace flag).
If I don't miss anything, both features are implemented also by the Python based yq implementation which we depend on in our Poetry definition files. See, e.g.:
yq -y --in-place '.BROWSER.NAME="ahoy"' /tmp/test-variables.yml
My proposal is to ditch usage of the GoLang based yq implementation among this project (and also Jenkins docker image) so that we can rely on Poetry definition completely and these two implementations aren't mixed up in our environments.
As a result of my work on #943 I realized that there are two
yqimplementations and both are still alive (I was under the impression that the first one is dead since we download the second one in our codebase):I'm not sure what were reasons to move to the GoLang based one. From the usage in our tests here we use it either to get particular value from yaml file or to update particular variable in the yaml file (using the
--inplaceflag).If I don't miss anything, both features are implemented also by the Python based
yqimplementation which we depend on in our Poetry definition files. See, e.g.:My proposal is to ditch usage of the GoLang based
yqimplementation among this project (and also Jenkins docker image) so that we can rely on Poetry definition completely and these two implementations aren't mixed up in our environments.