kubeconform icon indicating copy to clipboard operation
kubeconform copied to clipboard

Copy kubeconform to /usr/bin/kubeconform

Open Joe-Koch opened this issue 3 years ago • 6 comments
trafficstars

Copy kubeconform directory to a directory that's in your PATH to avoid "kubeconform command not found" errors, e.g. issue #144. The kubeconform command should work now and be consistent with the instructions, instead of needing /kubeconform.

Joe-Koch avatar Oct 26 '22 22:10 Joe-Koch

May I hint that /usr/bin is designated for distribution-managed programs (e.g. installed through the system's package manager) and therefore shouldn't be used at all?

For self-compiled programs /usr/local/bin is the way to go.

nurtext avatar Dec 12 '22 17:12 nurtext

I agree /usr/local/bin is probably the way to go, but I'm not sure if this is likely to break people's workflow, since some might have had to hardcode the path :thinking:

yannh avatar Dec 26 '22 23:12 yannh

@yannh I don't think this is gonna cause big issues. A note can be added in release notes. Also updating the location is a pretty simple job to do anyway.

Constantin07 avatar Dec 27 '22 02:12 Constantin07

I am still concerned this might break people's workflow. Would there be a way with Symlinks to guarantee backward compatibility?

yannh avatar Jan 22 '23 15:01 yannh

I am still concerned this might break people's workflow. Would there be a way with Symlinks to guarantee backward compatibility?

Good idea.

LinuxSuRen avatar Jan 23 '23 02:01 LinuxSuRen

May I suggest marking the symlink deprecated for the (over) next major version bump? This way you'll provide backward compatibility while marking it as depreaction / breaking change at the same time and everyone has enough time to upgrade.

nurtext avatar Feb 03 '23 12:02 nurtext