-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for .kiv-distros.json #55
Conversation
seocam
commented
Apr 7, 2020
- Closes Add support to custom list of distros #51
I've changes quite a few things around in this PR.
I think that's all I've touched. The only thing I didn't change that I don't quite know how to solve is the if DISTRO_NAME that checks for amazon linux and a specific version of ubuntu to do something different. In order to have my approach fully functional there shouldn't be exceptions by distro (by os_variant would be fine). Please, let me know what you think. |
I've also added docs on the dependencies for Debian-based systems. |
I'm still looking at this. One thing that comes to mind so far is JSON vs YAML. I've always felt YAML is an easier to use human interface over JSON. Could we use YAML and yq over JSON and jq? Thoughts? |
I also prefer yaml over json!
The reason why I decided to use jq was because the package was available on
both debian and Red Hat based systems.
Unfortunately that's not true for yq.
…On Sat, Apr 11, 2020, 20:06 Giovanni Torres ***@***.***> wrote:
I'm still looking at this. One thing that comes to mind so far is JSON vs
YAML. I've always felt YAML is an easier to use human interface over JSON.
Could we use YAML and yq <https://github.com/kislyuk/yq> over JSON and
jq? Thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIE3GUYH7GLW2HCLKAJ5LRMDZXLANCNFSM4MCYF6DA>
.
|
I like this idea a lot. I haven't had a chance to pull it down and test it locally, but I will! |
I thought about this some more and I just have some reservations about a json interface. I have some ideas on how to provide a better interface, but requires some refactoring. |
Closing this PR for now. I like this feature and would like to shuffle things around a bit first to make the implementation a little more user friendly. Thanks! |