Closed naresh-kumar-babu closed 2 months ago
This pull request introduces a nice new feature that will improve the quality of life for maintainers. That being said, while it can be very tempting to use a language like Python, it is slower and adds overhead that is otherwise unnecessary in this image. Please use a compiled language rather than an interpreted language.
There are a few more reasons I do not think adding Python is a good idea:
jq
or yq
in Bash, you'll see it's actually quite possible to do it in lower-level languages.@jeffw16 - thanks for looking at this. I have no idea what that quote means in this context, and I don't think the speed difference matters, but I do agree that it would be better to have this as a shell script, if it's possible. Hopefully those libraries you mentioned make it easy to do.
Wonderful work, thank you! I hope these various iterations were not too irksome for you. I'm also hopeful this was a good learning opportunity, as writing good code here will pay dividends later if you work for a prestigious tech company (and of course for future open source projects too!).
Thank you. I did learn about yq and jq :)
Fixes #291 .