kubectx icon indicating copy to clipboard operation
kubectx copied to clipboard

Provide installation through chocolatey

Open jeffmaury opened this issue 5 years ago • 8 comments

Chocolatey is so nice for Windows users

jeffmaury avatar Sep 25 '20 11:09 jeffmaury

I don't have time to develop one, and it requires regular maintenance. Binaries are available out there if someone wants to package it.

ahmetb avatar Sep 25 '20 17:09 ahmetb

I don't think so. I could be like that:

  • provide a Chocolatey package descriptor with placeholders for version
  • provide a GitHub Action workflow, trigger on new tag to will do:
    • replace placeholders with version from tag
    • push to chocolatey.org

Only a chocolatey.org token would be required from you. I will prototype in my repo and then provide you a PR.

jeffmaury avatar Sep 26 '20 11:09 jeffmaury

I'd be willing to add this to my AU repo if there is interest. AU repos are the recommended way of updating chocolatey packages (uses Appveyor by default, but could be modified for GitHub Actions). It watches repositories for releases and automatically packs/publishes. I'm also open to assisting if this project wants to setup automation for this.

digitalcoyote avatar Oct 05 '20 19:10 digitalcoyote

@digitalcoyote feel free to add them to your repo as seems you have all the build and deploy infra already

jeffmaury avatar Oct 06 '20 07:10 jeffmaury

Working on that now. @ahmetb if you would like, I can add you as a maintainer. This would give you basic management rights to the package (delist versions, manually push, etc).

digitalcoyote avatar Oct 07 '20 20:10 digitalcoyote

Sudden funeral has a delay on that. I'll try to get this up soon. The initial update script I wrote is failing in CI bit not locally. I'll comment again when I get it working.

digitalcoyote avatar Oct 10 '20 02:10 digitalcoyote

For now go ahead and manage the Chocolatey, you can add me as a backup owner: ahmetalpbalkan

ahmetb avatar Oct 10 '20 03:10 ahmetb

Submitted, Maintainer added, and I'm just waiting for approval. I'll ready a PR with install instructions for when they are able to actually be installed

digitalcoyote avatar Oct 10 '20 18:10 digitalcoyote