Closed mloskot closed 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?
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.
@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!
I'll do my best to watch the kubeconform releases.
https://github.com/yannh/kubeconform/releases.atom might help :sweat_smile:
The kubeconform package has been accepted to winget, see https://github.com/microsoft/winget-pkgs/pull/101691