You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request]: Distribute Flatpak Version for Linux #129
As a fellow linux user, I would like to point out that TagStudio is still in very early development, and probably shouldn't be packaged for flat quite yet.
Updating the flatpak would be an extra chore that isn't nessicary at this stage in TagStudio's development.
That being said, I'm not familiar with the flatpak packaging process. As one of flatpak's main purposes is stability, if it could, having it clone from the repo wouldn't make sense.
Reacted by mak448a, tadpole256, Trevor Vance and Travis Abendshien
you just PR the app to the flathub repo and follow its instructions, having it compatible early on will prevent future forking being blocked due to design decisions now
Reacted by Mr Beedell, Roke Julian Lockhart and buster-blue
I'm not familiar with flatpaks but a cursory glance appears to show that sandboxing is one of the primary goals, and while re-enabling whole system or specific folder file access is possible it would be opening holes in that sandbox. Am I understanding the goal/limitations here properly or are there other details that support this as a distribution channel?
you just PR the app to the flathub repo and follow its instructions
Oh it's not "just". There can be some difficulties to actually make the app compatible with Flatpak due to the portals, but you are right that it's good to have it early at design stage.
re-enabling whole system or specific folder file access is possible it would be opening holes in that sandbox
Well, it's not that it disables the whole sandbox, but it just gives the permission to the folder and it's content. Users can either do it manually with Flatseal or the Program can have this specified from start.
Like, for example there is the Bottles program. It only sees files in it's folder so even when you point it the installer that is outside the permission, Bottles can't run it. I personally love it, but it has lead to many users just dismissing the program as not working because it couldn't open the files. There is also supposed to be a new portal to open file and neighbouring files which I think TagStudio would very much need to use in the future.
That being said even though I do use Flatpaks on daily basis and generally don't have any major complains the portability is one of those areas that Flatpak isn't the best (kind of). Running it from USB memory stick is pain compared to .exe on Windows, but it is portable in the sense that you can switch your whole Linux distro while retaining the Flatpak folder and the apps should work.
The .AppImage is better fit for portable apps. However It doesn't bundle all the runtimes like the Flatpak does so it may not run on every distro so you need to check it.
Packaging the programs, ain't it fun...
Reacted by Xarvex, Panda and Mr Beedell, Roke Julian Lockhart
As @Qronikarz pointed out, making a Flatpak is not a trivial matter. As well, it does not make sense for the current infrastructure being a Python application experiencing rapid development, and wide scope changes as things are adjusted for user needs and experience.
That being said, the Tauri project builds into an AppImage, and should be able to be published to AppImageHub. Not Flatpak, but something alike. As well, once Tauri V2 is stabilized as a release, that brings support for Flatpak.
So as all to say, while a Flatpak will not be created now, it will be once the Tauri project takes over as a main TagStudio release and Tauri V2 is used.
Most KDE and GNOME developers would recommend designing for Portal usage due to a great many important technologies’ reliance upon them, like most Wayland compositors, and Flatpak, and because they can be used irrespective of whether the application is packaged using Flatpak or running under Wayland (or XOrg X11). Consequently, Flatpak packaging might be useful to ensure that the relevant portals are being used.
However, note that the Flatpak sandbox can be almost entirely escaped. From my experience, most people using Flatpak (for FOSS software) use it because a native package doesn't exist, rather than an interest in security. Consequently, disabling problematic filesystem restrictions until the relevant portals have been implemented is a strategy to test solely whether Flatpak packaging is immediately feasible.
Hi. I've just packaged Tagstudio for Flatpark(click this to download and install)
Flatpark uses Flatpak's extra-data feature to package upstream releases directly, including tarballs, .deb packages, and AppImages. Most application updates are handled automatically by bots, so maintainers don't need to manually update every release. This makes packaging easier and updates faster.
I ran some automated tests and make sure the main functions passed. All details are documented in flatpark/flatpark#1183
You can also use Flatseal to review and restrict Flatpak permissions for additional security.
In the meantime, while waiting for the Flathub package, feel free to use the Flatpark version! If you encounter any issues, please report them to the Flatpark issue tracker
Activity
Cutieguwu commentedon May 4, 2024
As a fellow linux user, I would like to point out that TagStudio is still in very early development, and probably shouldn't be packaged for flat quite yet.
Updating the flatpak would be an extra chore that isn't nessicary at this stage in TagStudio's development.
That being said, I'm not familiar with the flatpak packaging process. As one of flatpak's main purposes is stability, if it could, having it clone from the repo wouldn't make sense.
RustoMCSpit commentedon May 4, 2024
you just PR the app to the flathub repo and follow its instructions, having it compatible early on will prevent future forking being blocked due to design decisions now
Loran425 commentedon May 4, 2024
I'm not familiar with flatpaks but a cursory glance appears to show that sandboxing is one of the primary goals, and while re-enabling whole system or specific folder file access is possible it would be opening holes in that sandbox. Am I understanding the goal/limitations here properly or are there other details that support this as a distribution channel?
RustoMCSpit commentedon May 4, 2024
they use portals to escape sandbox. look at the docs or talk to the devs, they know more
Qronikarz commentedon May 4, 2024
Oh it's not "just". There can be some difficulties to actually make the app compatible with Flatpak due to the portals, but you are right that it's good to have it early at design stage.
Well, it's not that it disables the whole sandbox, but it just gives the permission to the folder and it's content. Users can either do it manually with Flatseal or the Program can have this specified from start.
Like, for example there is the Bottles program. It only sees files in it's folder so even when you point it the installer that is outside the permission, Bottles can't run it. I personally love it, but it has lead to many users just dismissing the program as not working because it couldn't open the files. There is also supposed to be a new portal to open file and neighbouring files which I think TagStudio would very much need to use in the future.
That being said even though I do use Flatpaks on daily basis and generally don't have any major complains the portability is one of those areas that Flatpak isn't the best (kind of). Running it from USB memory stick is pain compared to .exe on Windows, but it is portable in the sense that you can switch your whole Linux distro while retaining the Flatpak folder and the apps should work.
The .AppImage is better fit for portable apps. However It doesn't bundle all the runtimes like the Flatpak does so it may not run on every distro so you need to check it.
Packaging the programs, ain't it fun...
xarvex commentedon May 4, 2024
As @Qronikarz pointed out, making a Flatpak is not a trivial matter. As well, it does not make sense for the current infrastructure being a Python application experiencing rapid development, and wide scope changes as things are adjusted for user needs and experience.
That being said, the Tauri project builds into an AppImage, and should be able to be published to AppImageHub. Not Flatpak, but something alike. As well, once Tauri V2 is stabilized as a release, that brings support for Flatpak.
So as all to say, while a Flatpak will not be created now, it will be once the Tauri project takes over as a main TagStudio release and Tauri V2 is used.
mak448a commentedon May 7, 2024
You can feel free to reference my Python QT app if you need help with flathub manifests for packaging.
0009-0009-1013-986X commentedon Jun 3, 2024
Most KDE and GNOME developers would recommend designing for Portal usage due to a great many important technologies’ reliance upon them, like most Wayland compositors, and Flatpak, and because they can be used irrespective of whether the application is packaged using Flatpak or running under Wayland (or XOrg X11). Consequently, Flatpak packaging might be useful to ensure that the relevant portals are being used.
However, note that the Flatpak sandbox can be almost entirely escaped. From my experience, most people using Flatpak (for FOSS software) use it because a native package doesn't exist, rather than an interest in security. Consequently, disabling problematic filesystem restrictions until the relevant portals have been implemented is a strategy to test solely whether Flatpak packaging is immediately feasible.
0009-0009-1013-986X commentedon Aug 25, 2024
[-]make a flatpak for linux[/-][+][Feature Request]: Distribute Flatpak Version for Linux[/+]rhgKc2yp commentedon Nov 16, 2026
Hi. I've just packaged Tagstudio for Flatpark(click this to download and install)
Flatpark uses Flatpak's extra-data feature to package upstream releases directly, including tarballs, .deb packages, and AppImages. Most application updates are handled automatically by bots, so maintainers don't need to manually update every release. This makes packaging easier and updates faster.
I ran some automated tests and make sure the main functions passed. All details are documented in flatpark/flatpark#1183
All packaging files are publicly available in FlatPark's GitHub repository, making the entire process transparent and auditable.
https://github.com/flatpark/flatpark/tree/main/registry/com.cyanvoxel.tagstudio
You can also use Flatseal to review and restrict Flatpak permissions for additional security.
In the meantime, while waiting for the Flathub package, feel free to use the Flatpark version! If you encounter any issues, please report them to the Flatpark issue tracker