termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.01k stars 2.99k forks source link

[Package]: krew #18476

Open luisdavim opened 10 months ago

luisdavim commented 10 months ago

Why is it worth to add this package?

krew is used to install kubectl plugins.

Krew is a tool that makes it easy to use kubectl plugins. Krew helps you discover plugins, install and manage them on your machine. It is similar to tools like apt, dnf or brew. Today, over 200 kubectl plugins are available on Krew.

For kubectl users: Krew helps you find, install and manage kubectl plugins in a consistent way. For plugin developers: Krew helps you package and distribute your plugins on multiple platforms and makes them discoverable.

Home page URL

https://krew.sigs.k8s.io/docs/user-guide/setup/install/

Source code URL

https://github.com/kubernetes-sigs/krew

Packaging policy acknowledgement

Additional information

No response

sylirre commented 10 months ago

Does it work properly at all?

If it just pulls a prebuilt binary from some repository, there high chances that plugins won't work due https://wiki.termux.com/wiki/Differences_from_Linux. Even though golang binaries almost always distributed statically linked, certain functionality like host name resolution can be broken (missing resolv.conf at /etc Android system directory).

I would suggest to build krew on device with our golang package and check whether installed plugins work as intended before any packaging work would be done.