derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
27.28k stars 1.71k forks source link

Windows 64 bit file rename breaks installation tools #1939

Open CoenB95 opened 1 year ago

CoenB95 commented 1 year ago




Bug description With the release of version 0.27.0, it has been decided to rename the Asset for Windows (64 bit) from k9s_Windows_x86_64.tar.gz to k9s_Windows_**amd**64.tar.gz. In order to be able to find the right file, the config for scoop was updated with the new path. However, due to this change, every previous version (v0.26.7 and below) can no longer be located nor installed. If for some reason or bug it turns out that one cannot use the newest version, they cannot revert back to an old version automatically, because scoop can not find https://github.com/derailed/k9s/releases/download/v0.26.7/k9s_Windows_amd64.tar.gz.

To Reproduce Steps to reproduce the behavior:

  1. scoop install k9s@0.26.7

Expected behavior Scoop is able to install version 0.26.7 without problems.

Observed behavior Scoop cannot find file as it does not exist, and fails to install.

Versions

Additional context Not applicable

derailed commented 1 year ago

@CoenB95 Thank you for this! I was fearing #1910 will cause some griefs. That said it seems to be the preferred convention across binary land these days. I do get the issue with having to revert, but hopefully we can keep moving fwd with fixes and address them quickly to alleviate the need to revert. That said if there is a need the release binaries are always available for these one off (hopefully!) situations...