storaged-project / blivet-gui

GUI tool for storage configuration using blivet library
GNU General Public License v2.0
168 stars 25 forks source link

Submit to Flathub #304

Open Yasumoto opened 2 years ago

Yasumoto commented 2 years ago

Thanks so much for building this out! The LUKS support is phenomenal.

I'm testing out Fedora Silveblue, and the first suggested method to install software is through flatpak. I wanted to open an issue to gauge interest before pitching in a bit with the manifest, then would y'all be interested in submitting to Flathub?

vojtechtrefny commented 2 years ago

I would love to have blivet-gui as a flatpak, but I'm not sure if that is even possible. When flatpak first appeared, I tried to learn something about it and my conclusion was that it would be really hard to package blivet-gui and maybe even impossible -- it needs root privileges (the GUI itself doesn't run as root, it spawns a new process using polkit) and it has a very long list of indirect dependencies (and if I understand flatpaks correctly, everything needs to be packaged in). I did some quick google search and found that GNOME Disks is available as a flatpak so it is possible to package a similar application, but the length and complexity of the JSON manifest really scares me and blivet-gui (or blivet, to be more precise) has even more dependencies than GNOME Disks. I would definitely not be able to spend time on maintaining something like that, I don't even have enough time to work on blivet-gui itself right now and I have a very long list of features I'd like to add that (from my point of view) have higher priority than flatpak. So if you (or someone else) want to work on flatpak support, I'll be happy to merge it, but I unfortunately won't be able to help with it.

rugk commented 1 year ago

It would indeed be nice if you could publish this as a flatpak on flathub e.g.

Flatpaks are a new software distribution mechanism for Linux distros, can thus installed on any distro and are easy to update. They are easy to install and update and work on all Linux distros. Also, if you publish it on FlatHub you may grow your user base given many distros include that and it is a common software source, so your app can be discovered more easily.

Here is how to get started.

DarkGhostHunter commented 4 months ago

Is there any news on this?

Given the nature of atomic desktop nowadays, Flatpaks are like a requisite.

tbzatek commented 4 months ago

Is there any news on this?

As explained above, there are certain technical obstacles. Would be good to get help from the community or flatpak contributors. You may take a helping role here and communicate the issues or find a point of contact.

found that GNOME Disks is available as a flatpak so it is possible to package a similar application

Isn't the primary problem here separation of the UI and the backend tunneled into the container through portals, that are D-Bus only?