yannh / kubeconform

A FAST Kubernetes manifests validator, with support for Custom Resources!
Apache License 2.0
2.15k stars 121 forks source link

docs: Add winget as installation method on Windows #192

Closed mloskot closed 1 year ago

mloskot commented 1 year ago

The kubeconform package has been accepted to winget, see https://github.com/microsoft/winget-pkgs/pull/101691

yannh commented 1 year ago

Hi @mloskot ! I did not know about Winget, but happy to document good ways to install Kubeconform! Do you know maybe how this will be kept up to date? Is there any way to automate or facilitate having this point to the latest version fairly easily?

mloskot commented 1 year ago

Do you know maybe how this will be kept up to date? Is there any way to automate or facilitate having this point to the latest version fairly easily?

@yannh This is a good question. So far, I have contributed number of upgrades to manifests in winget-pkg repository but I haven't researched any automation process.

There seem to be wingetbot in place which scans for upgrades, but I haven't found it documented yet, just some https://github.com/microsoft/winget-cli/discussions/2613#discussioncomment-5137782 and it issues automatic updates of manifests, e.g. https://github.com/microsoft/winget-pkgs/pull/82492 but AFAIU not all packages are being scanned yet or it may take time to get them scanned.

An alternative some projects implement is to automate PR submission to winget-pkgs with GitHub Actions, following new release. But, this may be not trivial to get right or is against practice of some projects which do not want to be involved in packaging, e.g. https://github.com/neovim/neovim/pull/19121

Unless kubeconform gets auto-updated with wingetbot at some point, I think, the answer for now is to rely on community members to update the winget-pkg manifests.

If I find anything new on this topic, I will share.

yannh commented 1 year ago

@mloskot I am ok with that, but might potentially remove the documentation if the version falls too far behind / the package becomes unmaintained :+1: Thanks a lot!

mloskot commented 1 year ago

I'll do my best to watch the kubeconform releases.

yannh commented 1 year ago

https://github.com/yannh/kubeconform/releases.atom might help :sweat_smile:

mloskot commented 1 year ago

https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository will do, I hope :)