-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider packaging Audio Proj. Manager/Transcriber as a flatpak or snap #1293
Comments
We looked at snap and flatpak earlier and didn't use these formats because Audio project manager often functions as a conduit. On Windows, users can edit their audio with Audacity if they want a more powerful audio editor. Package with either of these formats puts the program into a sandbox and blocks integration with other applications installed on the OS. That being said, I am open to hearing counter arguments. Up until now, deb packages also install on all the flavors of Linux including Wasta. (I had read the LTS release notes and it talked of software in any of the three formats.) |
Can you describe the integration more specifically? The sandboxing is rather flexible with flatpaks, and still kind of flexible with snaps. One insurmountable obstacle might be if APM wants to communicate directly with other running processes. Access from APM to other apps
Access from other apps to APM
For me, though, there are some strong advantages to these packaging formats over debian packages:
|
Audio Project Manager manages a large corpus of audio files. It provides a recording end editing tool for recordings. Some users come to Audio Project Manager having used Audacity to try to manage a large corpus of files. Audacity is an audio editor that can do much more sophisticated editing than Audio Project Manager but it works with a single audio file. So those using Audacity must have a rigorous naming scheme and stick to it religiously. Audio Project Manager saves the team from the details of the file management. Audio Project Manager allows those who are using the desktop application to integrate with Audacity and use it as their audio editor. The way this works is that when a user first indicates they would like to use Audacity, Audio Project Manager creates a copy of an empty Audacity project and renames it. Then it modifies the configuration file of Audacity so that when Audacity is opened, it opens that particular project and the folder and import and export locations are set to use folders related to the passage they are working on in Audio Project Manager. Thus if they import or export content, they don't have to name or navigate to folders. This allows the user to basically use Audacity as their audio editor with Audio Project Manager without having to have a rigorous naming scheme. They don't end up naming files at all but just using defaults provided by Audio Project Manager. (Some users have asked for similar functionality with ELAN. This tool again works with a single file but provides ability to have transcriptions attached to different time stamp sequences the way Audio Project Manager does for back translations. This level of integration with ELAN is not completely implemented -- at least not yet.) In any case, the issue is not with where Audio project manager stores its audio files. That part should work well with flatpack or snap (although I haven't played with it a lot). The issue is that Audio Project Manager needs to be able to reach into the Audacity sandbox and modify its files for this level of integration to work. Earlier in the Audio Project Manager work, we created both snap and deb packages. It is actually fairly trivial to do and we could in fact create all three kinds of packages. All this is supported by electron-builder. The problem is the confusion this creates for the users. I could create both a deb version and a snap version. If Wasta preferred the installation of the snap version, it would work for all users who didn't care to use Audacity as their audio editor. (We have users who use the web interface and those who use the desktop interface who feel the recorder and audio editor provided by Audio Project Manager is more than adequate.) But then if a Wasta user wanted to get this feature working, they have to uninstall the snap version and install the deb version. This is not at all intuitive. In terms of letter users know. The desktop software itself lets users know there is an updated version and provides them a link to go get it. So to this point we have allowed desktop users to be in control and informed concerning which version they are using. I won't go into the horror stories told by one developer who maintains a flatpack version for another product and how much time he has spent trying to prepare this additional package and get it approved for posting on the flatpack site. We aren't sure whether we need the program to be discoverable by a wider community of Linux users. It does cost us for cloud storage although the cost isn't large. We currently have quite a large user base without posting on flatpack or snap stores. |
I think there is vested interest in sorting out how to best have a As another example, I know that @gtryus (THANK YOU!) was /is the key developer behind Pathway, that no longer works (easily) with Linux, and even though I do understand there isn't capacity to keep maintaining Pathway now, it seems that a Pathway Back to APM / Audacity integration I could see how it would be a challenge to get into Flathub as it would be given r/w permission to Audacity config files (? I think I am understanding this correctly ?). My suggestion is that we may face this (or other blockers) with other SIL apps as well and it may be time to consider hosting our own
Now, if APM does keep active with their |
I would still vote for APM to eventually be released as either a
Yes, approval in the Taking the Audacity config file as an example, it looks like adding the sandbox permission |
I'm one of the main Wasta developers/maintainers and a general Linux supporter, and I've been looking at various SIL apps and how they're packaged/distributed. I think distributing via either snap or flatpak is a good long-term strategy for both reaching the most number of users and for simplifying the building and maintaining of desktop software. And on the Wasta side we are supporting both formats as fully as possible (Software Store integration, offline installs and updates, etc.).
If you are looking for more feedback, I'm happy to share about what I've packaged so far using these formats and some of the pros and cons I've seen. I'd also be willing to contribute to make it happen. Also, the Bloom and FLEx teams have begun packaging using flatpaks, so they might have even better feedback there. I'm more familiar with snaps, but I've now published packages in both formats:
The text was updated successfully, but these errors were encountered: