Wasn’t sure if a new thread was better or to bump the old thread, so feel free to merge this if you like!
Flatpak is seeing wider and wider adoption in the Linux world and is in my opinion very much the future direction of most 3rd-party software distribution. Several distros (e.g. Fedora and openSUSE) are experimenting with immutable versions where Flatpak is the primary way to install apps. So even though the Avo Flatpak currently sees around 20 installs a day, eventually the way most people will be discovering and getting Avogadro will be through Flathub, so @kevinsmia1939’s work here is very valuable.
Its increasing popularity plus my Flatpak evangelism mean I have a couple of ideas, if that’s ok, two simple and one more complex…
- Get the Avogadro Flatpak verified status
Flathub has recently introduced verification so that users can tell whether apps have been uploaded by the original developers or by the community. And it really doesn’t sound like a huge amount of work!
As with other app stores, a verified tick has a significant impression on users, giving a feeling of professionalism and security due to trust in the source.
- Add a “Get on Flathub” link to the main page of two.avogadro.cc
Mostly to raise awareness that the Flatpak exists. It can link to the Flathub page, from which users can do a click-to-install in Discover, GNOME Software etc.
- A nightly build as a Flatpak?
The nightly AppImage works pretty well at providing bug fixes and latest features in a distro-agnostic way. Flatpaks have two extra key advantages over AppImages. Firstly, their handling of dependencies is better and more consistent across distros, as they use Flatpak runtimes, whereas AppImages still use lots of system packages. Secondly, they have an update mechanism, and can even be set to auto-update.
Could we think about providing a nightly build as a Flatpak in a hosted repo? For me at least, this would be the ideal way to get up-to-date Avogadro.
Just like with any other package manager, Flatpak can be set up with external repos. The Flathub docs indicate you can host in a GitHub repo. And they provide an example of how to do automatic builds with GitHub Actions.
I saw in the old thread that @ghutchis did a fair bit of work looking at automating Flatpak builds, but I don’t know if it got anywhere. The way @kevinsmia1939 does everything seems absolutely perfect for the main releases, so I’m not suggesting that that needs to change at all!