anthr76 / kubernetes-extras-flatpak

Kubernetes related tooling flatpak manifests.
Apache License 2.0
0 stars 0 forks source link

Pause creating apps in flatpaks until CLI interoperability improves #1

Open anthr76 opened 3 years ago

anthr76 commented 3 years ago

I'm looking to package about 10-15 flatpak CLI apps. Mostly GoLang/Kubernetes specific CLIs. On Linux most maintainers of their software are just giving you a static binary and `brew` option. I'm not a fan of either. So I figured I'll take it upon myself to get these in a flatpak and slowly raise issues with all the maintainers to flatpak them and help them if necessary get it to flathub. I just did my first demo with Flux. My first thought was, online builds are easy pz, I'll be done with this in no-time! Then realized ... that even if I export ~/.local/share/flatpak/exports/bin to my path I still need to call these commands with the FQDN or rather .. FQCN ? Either way not flux but io.flucd.flux In a lot of these applications there already open requests to have there app in a flatpak. I just can't see users wanting to already type a long command or manually add aliases for every single tool they want/need to use.

Before I take my efforts to OBS and spend considerably more time on this does anyone have any good workarounds or ideas to solve this problem? Again, I'd like to manage these myself so I can use them immediately and for anyone else willing (with the idea of deploying flat-manager) until they're properly accepted into flathub.

anthr76 commented 3 years ago

Related issues: https://github.com/flatpak/flatpak/issues/1188 https://github.com/flatpak/flatpak/pull/1254 https://github.com/starship/starship/issues/2178 https://github.com/flatpak/flatpak/issues/4113 https://github.com/flatpak/flatpak/issues/1258 https://github.com/digitalocean/doctl/issues/311 https://github.com/flatpak/flatpak/issues/4109

cig0 commented 2 years ago

Hi everyone,

I'm emerging here on the other side of the wormhole you open on Reddit, @anthr76 :)

I just came across this issue too when researching how to flatpak some common CLI tools I use daily like kubectl, helm, helmfile, terraform, aws cli, eksctl -- to name a few, after hitting a hard wall with Homebrew on Fedora Silverblue (https://github.com/Homebrew/discussions/discussions/1282).

It'd be nice to know what's the official stance of Flatpak developers on this subject, as this could be a game-changer in the way we consume CLI applications.